In WebAdmin clamav shows "not available" after migrate to a new ubuntu VM Server

Hello everyone,

i migrate my 5 years old Axigen server to a new Ubuntu 22.04 VM Server. After migrate this, axigen can’t connect clamav and in the WebAdmin shows me “not available”. Clamav has the Version 0.113.11. At the clamav config is this line entrie:
LocalSocketGroup axigen
LocalSocketMode 640
TCPSocket 3310
TCPAddr 127.0.0.1
User clamav
and in the axigen.cfg this line:
name = “AV:ClamAV”
address = “inet://127.0.0.1:3310”
protocolFile = “/opt/axigen/afsl/clam-av.afsl”
idleTimeout = 300
actionOnMatch = pass
maxConnections = 10
maxMessageSize = 10240
The clamav log look’s this:

Is there anyone who can help me here, please?
Otherwise I cannot use my new server.

Best regards
dirk

Hello @dirk

It looks that User used by ClamAV is not able to read Axigen Queue try to add the ClamAV service user to Axigen group with a command similar with:

usermod -aG axigen CLAM_USER

Regards,
Florin

Hello Florin, that‘s also the problem, the user is already in the group. Thanks for your tip :slight_smile:

Hello @dirk ,

Can you check if Apparmor is enabled and if so take a look to the logs if is blocking access to Axigen queue folder.

If I remember Apparmor and SELinux can cause this behaviour.

Regards,
Florin