I noticed this morning on my Debian mail server that when I attempt to run the "freshclam" command from the CLI, I get the following error:
mail:~# freshclam ERROR: /var/log/clamav/freshclam.log is locked by another process ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log). I then check out the logs... -------------------------------------- Received signal: wake up ClamAV update process started at Mon Aug 24 09:25:35 2009 main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven) Downloading daily-9731.cdiff [100%] daily.cld updated (version: 9731, sigs: 67641, f-level: 43, builder: arnaud) Database updated (612676 signatures) from db.local.clamav.net (IP: 64.142.100.50) Clamd successfully notified about the update. -------------------------------------- Received signal: wake up ClamAV update process started at Mon Aug 24 10:25:37 2009 main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven) Trying host db.local.clamav.net (207.57.106.31)... Downloading daily-9732.cdiff [100%] daily.cld updated (version: 9732, sigs: 67902, f-level: 43, builder: ccordes) Database updated (612937 signatures) from db.local.clamav.net (IP: 207.57.106.31) Clamd successfully notified about the update. -------------------------------------- Received signal: wake up ClamAV update process started at Mon Aug 24 11:25:39 2009 main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven) daily.cld is up to date (version: 9732, sigs: 67902, f-level: 43, builder: ccordes) -------------------------------------- Received signal: wake up ClamAV update process started at Mon Aug 24 12:25:39 2009 main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven) daily.cld is up to date (version: 9732, sigs: 67902, f-level: 43, builder: ccordes) -------------------------------------- Does anyone know what is causing the error when I try and run "freshclam" manually? It appears to happen every hour automatically but I would think that I can force it whenever I please as well, no? I am running the following: mail:~# apt-cache policy clamav clamav: Installed: 0.95.2+dfsg-1~volatile1 Candidate: 0.95.2+dfsg-1~volatile1 _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
