Hello,
I have yesterday upgraded to 0.82 on two servers (RedHat 7.3 kernel 2.4.24) yesterday morning and everything went fine. This morning I found that on both servers clamd is running but viruses are not detected. I run freshclam from cron every hour between 15 and 45 minutes randomly so both servers outputed the following into log files and stoped to work after daily update (701) was loaded between 20:15:00 UTC Feb 8 2005 and 20:45:00 UTC Feb 2005:
Tue Feb 8 23:42:37 2005 -> No stats for Database check - forcing reload Tue Feb 8 23:42:38 2005 -> Reading databases from /bases Tue Feb 8 23:42:39 2005 -> Database correctly reloaded (30353 viruses)
my maillog file reports contains a lot of messages like this:
Feb 8 23:26:10 ns clamav-milter[1141]: failed to send SCAN (null) command to clamd
Feb 8 23:26:45 ns clamav-milter[1148]: failed to send SCAN (null) command to clamd
Feb 8 23:26:54 ns clamav-milter[1150]: failed to send SCAN (null) command to clamd
clamd reload didn't help so I decided to restart clamav-milter and started to catch viruses. I run clamav-milter with the following arguments:
CLAMAV_FLAGS="-c /etc/clamd.conf -nlPH unix:/ctl/clamav-milter.ctl --external"
here is clamd.conf:
LogFile /var/log/clamd.log LogFileMaxSize 20M LogTime LogFacility LOG_MAIL LogSyslog PidFile /var/run/clamd.pid TemporaryDirectory /tmp DatabaseDirectory /bases LocalSocket /ctl/clamd.ctl FixStaleSocket ExitOnOOM MaxConnectionQueueLength 30 StreamMaxLength 10M MaxThreads 64 ReadTimeout 180 IdleTimeout 30 MaxDirectoryRecursion 15 SelfCheck 3600 User clamav ScanPE ScanHTML ScanOLE2 ScanMail ScanArchive ScanRAR ArchiveMaxFileSize 10M ArchiveMaxRecursion 5 ArchiveMaxFiles 1000 ArchiveMaxCompressionRatio 200
Any idea what happened and how can I avoid the same in future? Thanks in advance.
Best Regards, -- George Chelidze _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
