clamd service didn't start
Hi there I try to start clamd service since I found "PROCS CRITICAL: 0 processes with command name 'clamd'" from nagios.
so I check at its log file at "tail /home/clamav/logs/clamd.log" it said that log file exceeding maximum limit so I try to rotate log by
pico /root/123/etc/logrotate.d/clamd
/home/clamav/logs/clamd.log {
rotate 12
weekly
compress
delaycompress
create 640 clamav adm
postrotate
/etc/init.d/clamav restart > /dev/null
endscript
}
logrotate -f /root/123/etc/logrotate.d/clamd
then I check the log again I found different error instead (like below)
root@pat:/# tail /home/clamav/logs/clamd.log
Fri Apr 16 05:31:43 2010 -> Log file size limited to 1048576 bytes.
Fri Apr 16 05:31:43 2010 -> Reading databases from /home/clamav/var/lib/clamav
Fri Apr 16 05:31:43 2010 -> Not loading PUA signatures.
Fri Apr 16 05:31:43 2010 -> ERROR: Malformed database
Fri Apr 16 05:33:25 2010 -> +++ Started at Fri Apr 16 05:33:25 2010
Fri Apr 16 05:33:25 2010 -> clamd daemon 0.92.1 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Fri Apr 16 05:33:25 2010 -> Log file size limited to 1048576 bytes.
Fri Apr 16 05:33:25 2010 -> Reading databases from /home/clamav/var/lib/clamav
Fri Apr 16 05:33:25 2010 -> Not loading PUA signatures.
Fri Apr 16 05:33:25 2010 -> ERROR: Malformed database
Please help!
Thanks in advance
Last edited by neverland; 04-15-2010 at 10:41 PM.
Reason: more info.
|