posts | comments
11Aug

LibClamAV Error: Can’t load /var/db/clamav/main.cvd: MD5 verification error - SOLUTION!!!

No comments

The Problem:

ClamAV, refuse to start with error:

LibClamAV Warning: ***********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON’T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
LibClamAV Error: Can’t load /var/db/clamav/main.cvd: MD5 verification error
ERROR: MD5 verification error

Solution:

1. first do update on clamav package

smtp# portupgrade clamav
—> Upgrading ‘clamav-0.94.2′ to ‘clamav-0.95.2′ (security/clamav)
—> Building ‘/usr/ports/security/clamav’
===> Cleaning for clamav-0.95.2
===> Vulnerability check disabled, database not found
===> Found saved configuration for clamav-0.94.2
=> clamav-0.95.2.tar.gz doesn’t seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://superb-east.dl.sourceforge.net/sourceforge/clamav/.
fetch: http://superb-east.dl.sourceforge.net/sourceforge/clamav/clamav-0.95.2.tar.gz: Moved Temporarily
=> Attempting to fetch from http://nchc.dl.sourceforge.net/sourceforge/clamav/……..


Now when starting clamav it’s says:

LibClamAV Error: Can’t load /var/db/clamav/main.cvd: Can’t verify database integrity
ERROR: Can’t verify database integrity


2. second move main.cvd database from /var/db/clamav

smtp# mv main.cvd main.cvd.bak

and do new database update, so freshclam can create the right main.cvd

smtp# freshclam

Current working dir is /var/db/clamav
Max retries == 3
ClamAV update process started at Tue Aug 11 11:22:47 2009
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 700
Software version from DNS: 0.95.2

THAT’S ALL!

smtp# /usr/local/etc/rc.d/clamav-clamd start
Starting clamav_clamd.

Categories: Problem Solutions

Tuesday, August 11th, 2009 at 3:14 pm and is filed under Problem Solutions. You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.

Comments are closed.