Problem with internal logger
I'm receiving these cron emails about what I'm guessing is clamav not able to update the freshclam.log file:
/etc/cron.daily/logrotate:
[Sun Sep 27 04:22:04 2015] [warn] NameVirtualHost *:443 has no VirtualHosts
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
When I look in /var/log the folder clamav doesn't even exist.
Anyone have a suggestion on how to solve this?
-
edit your /etc/logrotate.conf and remove the /var/log/clamav/freshclam.log entry 0 -
Well that, or you can just create that location, its owned by 'clam' which is why it cannot create itself. mkdir /var/log/clamav ; chown clam: /var/log/clamav0 -
Thanks! I created the folder but the user that was needed was clamav. 0 -
Hello :) I am happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
4 comments