After upgrading to clamav-toaster-0.96.4-1.3.39 using qtp-newmodel, I see this in the clamd log: 12-13 11:51:28 LibClamAV Warning: Detected duplicate databases /usr/share/clamav/main.cvd and /usr/share/clamav/main.cld. The /usr/share/clamav/main.cvd database is older and will not be loaded, you should manually remove it from the database directory.

In /usr/share/clamav/ I have this:
-rw-r--r-- 1 clamav clamav 65422336 Nov 14 10:12 main.cld
-rw-r--r-- 1 clamav clamav 22906487 Dec 13 10:55 main.cvd
The main.cvd file appears to have come from the upgrade, given the date/time stamp.

I also notice that freshclam is not running.

I renamed both files, started freshclam, and in a few minutes a fresh main.cvd file appeared.

Then I see this in the clamd log:
12-13 12:16:14 LibClamAV Warning: Detected duplicate databases /usr/share/clamav/daily.cvd and /usr/share/clamav/daily.cld, please manually remove one of them

I renamed both files, restarted freshclam, and in a few minutes a fresh daily.cvd file appeared.

I gather from this that the cvd file is preferred, and the cld file is an older format. Can someone confirm this?

I have 2 things I'd like to resolve. First is, I think it'd be nice if the spec file would take care of cleaning up the .cld files automatically. I expect they can be simply removed. The upgrade would revert to a slightly older main.cvd file, but that would be taken care of in short time by freshclam.

The 2nd thing is, I wonder why freshclam wasn't (re)started successfully with the upgrade. It started fine with a "service freshclam start" command. Has anyone noticed freshclam not running after the upgrade?

--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to