Page 1 of 1

Can't open /var/log/clamav/freshclam.log in append mode

Posted: 16 Jun 2016, 23:46
by khimaira
Since the latest upgrades and changes in Mailscanner I have been receiving the following cron errors:

/etc/cron.daily/freshclam:

ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).

Running freshclam manually is updating but nothing is recorded in the log file:

-rw-r--r-- 1 clam clam 2135 Jun 14 03:30 freshclam.log

I have at least 3 freshclam.conf files and in most case all options are pounded out including the log file and user options. What should be changed where?

Note these are cpanel servers.

Re: Can't open /var/log/clamav/freshclam.log in append mode

Posted: 17 Jun 2016, 08:22
by ForumAdmin
That is not a cron job used by our MailScanner implementation and should be removed now that it uses Clamavconnector from cPanel which updates freshclam via a job in the root crontab.

Re: Can't open /var/log/clamav/freshclam.log in append mode

Posted: 17 Jun 2016, 14:06
by khimaira
Thank you very much for your response. I'll remove it.

Re: Can't open /var/log/clamav/freshclam.log in append mode

Posted: 28 Jun 2016, 23:27
by gschaefer
I have the same problem after the latest update.

Where and how to remove this cronjob to remove it?