Sim wrote:
> Hi!
> 
> After first   # freshclam
> the            # /var/qmail/bin/simscanmk -g
> work without any problem.
> 
> # ll
> total 15788
> -rw-r--r--  1 clamav clamav   930977 Jul  8 10:17 daily.cvd
> -rw-r--r--  1 clamav clamav 15200793 Jul  8 10:17 main.cvd
> -rw-------  1 clamav clamav       52 Jul  8 10:17 mirrors.dat
> 
> 
> After second # freshclam , if there is an "daily-xxxx.cdiff", this is
> the new output:
> 
> # /usr/local/bin/freshclam
> ClamAV update process started at Tue Jul  8 17:28:20 2008
> main.cvd is up to date (version: 47, sigs: 312304, f-level: 31, builder: sven)
> Downloading daily-7663.cdiff [100%]
> daily.cld updated (version: 7663, sigs: 34982, f-level: 33, builder: ccordes)
> Database updated (347286 signatures) from database.clamav.net (IP:
> 193.206.139.37)

Yes, this is the expected behavior.

> 
> 
> # /var/qmail/bin/simscanmk -g
> LibClamAV Error: cl_cvdhead: Can't open file /usr/local/share/clamav/daily.cvd
> simscan versions cdb file built. /var/qmail/control/simversions.cdb

Looks as if simscan is using the wrong libclamav.

> 
> 
> # ll /usr/local/share/clamav
> total 17000
> -rw-r--r--  1 clamav clamav  2171392 Jul  8 17:28 daily.cld
> -rw-r--r--  1 clamav clamav 15200793 Jul  8 10:17 main.cvd
> -rw-------  1 clamav clamav       52 Jul  8 17:28 mirrors.dat
> 
> 
> Where is "daily.cvd" ?


When incremental updates (the *.cdiff files) are applied, the 
*.cvd file is replaced with a *.cld file.  This replaces some 
previous methods used for managing updates.

Apparently your simscan is using an old libclamav that is 
expecting a previous method of updating signatures - this 
could be a result of simscan calling an old clamscan command 
or simscan linked to an old version of libclamav, I don't know 
which.  Maybe just uninstalling the old versions of clamav 
will fix this, or maybe you will also need to recompile 
simscan after you remove the old clamav.

You might get better help in a forum specific to simscan.


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

Reply via email to