Mailing List Archive

Big problem (Malformed database) after update to 0.96
# freshclam -V
ClamAV 0.96

# freshclam
ClamAV update process started at Tue Apr 13 10:57:24 2010
Downloading main.cvd [100%]
main.cvd updated (version: 52, sigs: 704727, f-level: 44, builder: sven)
Downloading daily.cvd [100%]
daily.cvd updated (version: 10736, sigs: 51024, f-level: 51, builder: ccordes)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 5, sigs: 2, f-level: 44, builder: nervous)
Database updated (755753 signatures) from database.clamav.net (IP: 130.59.10.36)

# ls -l
total 23596
-rw-r--r-- 1 clamav clamav 14133 Apr 13 10:57 bytecode.cvd
-rw-r--r-- 1 clamav clamav 1198896 Apr 13 10:57 daily.cvd
-rw-r--r-- 1 clamav clamav 22906487 Apr 13 10:57 main.cvd
-rw------- 1 clamav clamav 52 Apr 13 10:57 mirrors.dat

# /usr/sbin/clamd
LibClamAV Error: cli_cvdload: Corrupted CVD header
LibClamAV Error: Can't load /usr/local/share/clamav/daily.cvd:
Malformed database
ERROR: Malformed database
Closing the main socket.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml
Big problem (Malformed database) after update to 0.96 [ In reply to ]
Hi there,

On Tue, 13 Apr 2010 Sim wrote:

> # /usr/sbin/clamd
> LibClamAV Error: cli_cvdload: Corrupted CVD header
> LibClamAV Error: Can't load /usr/local/share/clamav/daily.cvd:
> Malformed database
> ERROR: Malformed database
> Closing the main socket.

It shouldn't happen at all, but it seems to happen more often than one
would expect. It really isn't a big problem (except that mail might
stop flowing for a time:) if you're aware that it can happen, and what
to do about it when it does.

Try moving the malformed database out of the directory it's in to
somewhere safe, then run freshclam manually to fetch a new copy.

I don't know if the developers might be interested to see the
corrupted database to try to figure out what went wrong.

--

73,
Ged.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml
Re: Big problem (Malformed database) after update to 0.96 [ In reply to ]
>>
>> # /usr/sbin/clamd
>> LibClamAV Error: cli_cvdload: Corrupted CVD header
>> LibClamAV Error: Can't load /usr/local/share/clamav/daily.cvd:
>> Malformed database
>> ERROR: Malformed database
>> Closing the main socket.
>
> Did you get this resolved? Sending this off-list on purpose as it would just
> be noise on the list since it is just a clarification request.
>
> Thanks, Jim
>


Hi!

Solved ... Here the details:
https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1950

Thanks to Török Edwin, aCaB and the ClamAV Team!

Upgrading zlib to 1.2.4 I've solved the problem,

Regards

---
Sim
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml