Axigen - ClamAV Setup

Hi,

I am after assistance relating to integrating ClamAV with Axigen (installed on Ubuntu 22.04 - non Docker). I have attempted multiple solutions to get the integration working and all have failed.

Has anyone got ClamAV integrated on Ubuntu 22.04? If so, are you able to provide pointers?

I have attempted following instructions from the below site and both have failed - ClamAV is just not recognised in Axigen.

Some sites mention that the user ‘axigen’ has to be added to the group ‘clamav’ or vice versa. Tried that, and still no luck…

Any help is much appreciated.

Glen

Hello @daygle

Most probably the issue is AppArmor and to confirm login in Webadmin Interface to force AS/AV detection and look in for /var/log/syslog for lines similar with:

Dec 28 08:01:21 ubuntu2204-florin kernel: [7934576.326243] audit: type=1400 audit(1703750481.753:99): **apparmor**="DENIED" operation="open" profile="/usr/sbin/clamd" name="/var/opt/axigen/queue/2A/DCDF7.00" pid=254987 comm="clamd" requested_mask="r" denied_mask="r" fsuid=111 ouid=220

If this is the root cause you may disable AppArmor from enforcing restrictions on “clamd” you can set the profile to complain mode using:

sudo apt-get -y install apparmor-utils
sudo aa-complain /usr/sbin/clamd

:bangbang: This will reduces some of the safety mechanisms that AppArmor enforced for clamd process.

Regards,
Florin