Re: clamd daemon 0.95.2 + freebsd7.2 + freshclam = ERROR: reload db failed: Broken or not a CVD file



Jaromir Prinzler <jprinzler@xxxxxxxxxxxxx> wrote:
Wie ich schon im vorherigen Thema kurz angesprochen habe, gibt's hier ein Problem mit "clamd"
bzw. "freshclam".

Also wenn der ClamAV Deamon (clamd) läuft und dann (bei mir Nachts) die Virusdatenbanken
aktualisiert werden (freshclam) hängt sich clamd mit der Fehlermeldung ...

ERROR: reload db failed: Broken or not a CVD file
Terminating because of a fatal error.
Pid file removed.

...auf? Dieser Fehler ist bei mir reproduzierbar und kann sicherlich via

pgrep clamd || /usr/local/etc/rc.d/clamav-clamd start

pgrep clamd || { ls -ls /var/db/clamav/ >> ~/clamd_db.log; /usr/local/etc/rc.d/clamav-clamd start; };

Current working dir is /var/db/clamav
Max retries == 3
ClamAV update process started at Tue Sep 22 23:57:43 2009
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 337
Software version from DNS: 0.95.2
main.cvd version from DNS: 51
main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven)
daily.cvd version from DNS: 9823
Retrieving http://database.clamav.net/daily-9822.cdiff
Trying host database.clamav.net (85.214.115.224)...
Trying to download http://database.clamav.net/daily-9822.cdiff (IP: 85.214.115.224)
Downloading daily-9822.cdiff [100%]
cdiff_apply: Parsed 21 lines and executed 21 commands
Retrieving http://database.clamav.net/daily-9823.cdiff
Trying to download http://database.clamav.net/daily-9823.cdiff (IP: 85.214.115.224)
Downloading daily-9823.cdiff [100%]
cdiff_apply: Parsed 9 lines and executed 9 commands
daily.cld updated (version: 9823, sigs: 79166, f-level: 43, builder: neo)
Database updated (624201 signatures) from database.clamav.net (IP: 85.214.115.224)
Clamd successfully notified about the update.

------ SNIP ------- clamd stürzt dann ab -------------

Reading databases from /var/db/clamav
ERROR: reload db failed: Broken or not a CVD file
Terminating because of a fatal error.
Pid file removed.
--- Stopped at Tue Sep 22 23:57:45 2009
Socket file removed.

------ SNIP ------- clamd wird von Hand gestartet -------------

+++ Started at Wed Sep 23 08:45:41 2009
clamd daemon 0.95.2 (OS: freebsd7.2, ARCH: i386, CPU: i386)
Running as user clamav (UID 106, GID 106)
Log file size limited to 1048576 bytes.
Reading databases from /var/db/clamav
Not loading PUA signatures.
Loaded 623526 signatures.
LOCAL: Unix socket file /var/run/clamav/clamd.sock
LOCAL: Setting connection queue length to 15
Limits: Global size limit set to 104857600 bytes.
Limits: File size limit set to 26214400 bytes.
Limits: Recursion level limit set to 16.
Limits: Files limit set to 10000.
Archive support enabled.
Algorithmic detection enabled.
Portable Executable support enabled.
ELF support enabled.
Mail files support enabled.
OLE2 support enabled.
PDF support enabled.
HTML support enabled.
Self checking every 600 seconds.
Set stacksize to 1114112

Läuft clamav chroot'ed?!

--
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn

.



Relevant Pages