Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: users

Freshclam Error

 

 

ClamAV users RSS feed   Index | Next | Previous | View Threaded


carloswill at gmail

Aug 24, 2009, 9:43 AM

Post #1 of 2 (569 views)
Permalink
Freshclam Error

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


mohnkern at gmail

Aug 24, 2009, 9:46 AM

Post #2 of 2 (525 views)
Permalink
Freshclam error [In reply to]

I recently installed clamav .94 on an ubuntu box (8.04) and clamscan runs
just fine, however freshclam generates the following error:


rwxrwxrwx 2 clamav 204 4096 2009-08-21 10:02 clamav
root [at] zambez:/var# freshclam
ClamAV update process started at Fri Aug 21 10:07:15 2009
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.94.2 Recommended version: 0.95.2
DON'T PANIC! Read http://www.clamav.net/support/faq
ERROR: getfile: Can't create new file
/var/clamav/clamav-4c8bad43f85f4c58ba20de0e76a60468 in /var/clamav
Hint: The database directory must be writable for UID 441 or GID 204
WARNING: Can't download main.cvd from db.us.clamav.net



There's a user clamav, and /var/clamav is owned by 441:204 with write
permissions. I can also su to user clamav and touch (create) new files in
/var/clamav.


Anyone have any ideas?
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

ClamAV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.