Problem CLAMAV update problem Centos Web Panel

I have the same problem since after rebuilt the postfix.

Found the solution by myself.

Make sure the /var/lib/clamav & /var/log/clamav with the right user & group.

chown -R clam:clam /var/lib/clamav
chown -R clam:clam /var/log/clamav

Open the file /etc/freshclam.conf and make sure the lines are set to as below:

DatabaseDirectory /var/lib/clamav
DatabaseOwner clam

Also make sure the lines at file /etc/clamd.conf been set to:

DatabaseDirectory /var/lib/clamav
User clam

Then, restart the clamd service and update the database.

service clamd restart

source :

Posted on: August 11, 2017, by :

Leave a Reply