-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Aug 03, 2006 at 06:09:25PM -0500, Chris wrote:
>I was looking at my clamav stats file and noticed that it kept giving me the >same amount of virus's detected as of 1 Aug. Looking at >my /var/log/clamav/clamd.log I noticed that it quit logging on Aug 1. I >checked my syslog output and clamd has been running and I've been getting >clamav hits on spam via the clamav plugin for spamassassin. Therefore >everything is working. Any known reasons why clamd just up and quit >logging? Your logrotate program rotated the log out from under clamd and then didn't HUP clamd to let it know that it needed to reopen logfiles. Look in /etc/logrotate.d/ and see what, if any, files reference the clamd logfiles. Here's what mine looks like on a Gentoo box. It should be similar to yours after you adjust for your paths: smtp1 ~ # cat /etc/logrotate.d/freshclam /var/log/clamav/freshclam.log { create 644 clamav clamav monthly compress postrotate /bin/killall -HUP freshclam endscript } smtp1 ~ # cat /etc/logrotate.d/clamav /var/log/clamav/clamav.log { create 644 clamav clamav weekly compress postrotate /bin/kill -HUP `cat /var/run/clamav/clamd.pid` 2>/dev/null || true endscript } - -- Regards... Todd Exponential problems need logarithmic solutions. --Eddy Dreger Linux kernel 2.6.12-18mdksmp 11 users, load average: 0.41, 0.30, 0.32 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFE04FUY2VBGxIDMLwRAhqUAJ42AcWBkIEJGWb+KxKNL+71AIW+KACeLoK7 SpsPQpHpdHhgn6peDpAtkdI= =s9f6 -----END PGP SIGNATURE----- _______________________________________________ http://lurker.clamav.net/list/clamav-users.html