Hi all,
I seem to be having some problem with clamd and logrotate. Logrotate
reloads clamd after rotating the logfile and creating a new one, but clamd
fails reload with the following :
Reloading log file: [FAILED]
It does the same if I try to manually reload clamd as well. A restart,
however, seems to work properly and logging continues.
Am I doing something wrong here? My logrotate file is as follows :
#
# Rotate Clam AV daemon log file
#
/var/log/clamav/clamd.log {
missingok
nocompress
create 640 clamav clamav
postrotate
/sbin/service clamd reload 2> /dev/null 2> /dev/null || true
endscript
}
--
Jason 'XenoPhage' Frisvold
[email protected]
http://blog.godshell.com
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml