No doubt a problem with logrotate. Is there a fix for this?
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile
= /var/log/clamav/freshclam.log).
lsof | grep freshclam.log
freshclam 16920 root 3wW REG 104,6 17408
30851 /var/log/clamav/freshclam.log
Once i restart, the "3wW" changes to "3w". The logrotate clamav files
looks like/var/log/clamav/freshclam.log {
missingok
#/etc/init.d/clamd logfix
postrotate
/bin/kill -HUP `cat /var/run/clamav/freshclam.pid
2> /dev/null` 2>/dev/null || true
endscript
}
This logfix (with or without) makes no difference.
Thanks
Vernon
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml