On 11.05.10 14:13, Wolfgang Breyha wrote:
> Most of my clamd died today after freshclam updated to...
> bytecode.cld (version: 16, sigs: 3, f-level: 51, builder: nervous)
> 
> freshclam did not detect the malformed sig and told clamd to read the sigs...
> 
> LibClamAV Error: cli_tgzload: File 782872.cbc not correctly loaded
> LibClamAV Error: Can't load /usr/local/clamav/share/clamav/bytecode.cld:
> Malformed database
> ERROR: Malformed database
> 
> After deleting the bytecode.cld I got Rev 15 again which works.

something similar happened here. I only didn't know who was responsible:

May 11 13:47:39 host freshclam[8985]: Retrieving 
http://db.sk.clamav.net/daily-10961.cdiff
May 11 13:47:39 host freshclam[8985]: Trying to download 
http://db.sk.clamav.net/daily-10961.cdiff (IP: 195.168.1.136)
May 11 13:47:44 host freshclam[8985]: Downloading daily-10961.cdiff [100%]
May 11 13:47:44 host freshclam[8985]: cdiff_apply: Parsed 10 lines and executed 
10 commands
May 11 13:47:44 host freshclam[8985]: Retrieving 
http://db.sk.clamav.net/daily-10962.cdiff
May 11 13:47:44 host freshclam[8985]: Trying to download 
http://db.sk.clamav.net/daily-10962.cdiff (IP: 195.168.1.136)
May 11 13:47:44 host freshclam[8985]: Downloading daily-10962.cdiff [100%]
May 11 13:47:44 host freshclam[8985]: cdiff_apply: Parsed 13 lines and executed 
13 commands
May 11 13:47:44 host freshclam[8985]: Retrieving 
http://db.sk.clamav.net/daily-10963.cdiff
May 11 13:47:44 host freshclam[8985]: Trying to download 
http://db.sk.clamav.net/daily-10963.cdiff (IP: 195.168.1.136)
May 11 13:47:44 host freshclam[8985]: Downloading daily-10963.cdiff [100%]
May 11 13:47:44 host freshclam[8985]: cdiff_apply: Parsed 8 lines and executed 
8 commands
May 11 13:47:44 host freshclam[8985]: daily.cld updated (version: 10963, sigs: 
63687, f-level: 51, builder: ccordes)
May 11 13:47:44 host freshclam[8985]: bytecode.cvd version from DNS: 16
May 11 13:47:44 host freshclam[8985]: Connecting via proxy.nextra.sk
May 11 13:47:44 host freshclam[8985]: Retrieving 
http://db.sk.clamav.net/bytecode-16.cdiff
May 11 13:47:44 host freshclam[8985]: Trying to download 
http://db.sk.clamav.net/bytecode-16.cdiff (IP: 195.168.1.136)
May 11 13:47:44 host freshclam[8985]: Downloading bytecode-16.cdiff [100%]
May 11 13:47:44 host freshclam[8985]: cdiff_apply: Parsed 1162 lines and 
executed 1162 commands
May 11 13:47:44 host freshclam[8985]: bytecode.cld updated (version: 16, sigs: 
3, f-level: 51, builder: nervous)
May 11 13:47:44 host freshclam[8985]: Database updated (768417 signatures) from 
db.sk.clamav.net
May 11 13:47:44 host freshclam[8985]: Clamd successfully notified about the 
update.

May 11 13:47:45 host clamd[8975]: Reading databases from /var/lib/clamav
May 11 13:47:45 host clamd[8975]: reload db failed: Malformed database
May 11 13:47:45 host clamd[8975]: Terminating because of a fatal error.
May 11 13:47:45 host clamd[8975]: Waiting for all threads to finish
May 11 13:47:45 host clamd[8975]: Shutting down the main sockets.
May 11 13:47:45 host clamd[8975]: Pid file removed.


after removing /var/lib/clamav/* and running freshclam, it works.

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Micro$oft random number generator: 0, 0, 0, 4.33e+67, 0, 0, 0...
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to