Anacron freshclam error
every day I receive this message:
subject: Anacron job 'cron.daily' on serverX
/etc/cron.daily/freshclam:
ERROR: Can't create temporary directory /var/lib/clamav/clamav-91a7b521b4bc912800ebb0707ca94d41.tmp
-
Hello :) Have you installed a third-party instance of ClamAV through your system package manager or via source instead of through the "Manage Plugins" option in Web Host Manager? Thank you. 0 -
I reinstaller with WHM option but I get this error: root@vps6 [~]# /etc/cron.daily/freshclam ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!). ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log). 0 -
Did you first remove any manual installation of ClamAV (installed either through source or RPM)? Check to see the file ownership of "/var/log/clamav/freshclam.log": ls -al /var/log/clamav/freshclam.log
I've seen cases where it's owned by "clam" instead of "clamav" after an unsupported ClamAV installation. Thank you.0 -
confirm owner is clam and not clamav o_O 0 -
You can update the ownership to "clamav" via: chown clamav.clamav /var/log/clamav/freshclam.log
Thank you.0
Please sign in to leave a comment.
Comments
5 comments