Stephen Gran a écrit :
> On Wed, Sep 05, 2007 at 12:26:37PM +0200, Thierry Jaboeuf said:
>> Here's my clamav database dir :
>>
>> srv-messagerie:/var/lib/clamav# ll
>> total 8080
>> 2064410    4 drwxr-xr-x  4 clamav clamav    4096 2007-09-05 12:21 .
>> 1982465    4 drwxr-xr-x 26 root   root      4096 2007-04-12 20:32 ..
>> 2064454   36 -rw-r--r--  1 clamav clamav   35916 2004-07-29 00:36 
>> clamav-92833d66ae2041d0
>> 2064452    4 -rw-r--r--  1 root   root        99 2004-06-14 11:13 
>> clamav-daemon.md5sum
>> 4751386    4 drwxr-xr-x  2 clamav clamav    4096 2007-09-05 11:52 daily.inc
>> 2064450    4 -rw-r--r--  1 root   root        99 2004-06-14 11:13 
>> etc.clamav.conf.md5sum
>> 2064445    4 -rw-r--r--  1 root   root        33 2004-08-24 18:20 
>> etc.freshclam.conf.md5sum
>> 2064402 8012 -rw-r--r--  1 root   root   8189490 2007-07-24 10:14 main.cvd
>> 2670646    4 drwxr-xr-x  2 clamav clamav    4096 2007-09-05 11:55 main.inc
>> 2064424    4 -rw-------  1 clamav clamav     624 2007-09-05 12:21 mirrors.dat
> 
> Remove main.cvd, and reload freshclam.  It should freshen main.inc, and
> the you should be back to normal.

Hmmm
already tried it as it was hinted on last post i referred but no luck ...

srv-messagerie:/var/lib/clamav# ll
total 8080
2064410    4 drwxr-xr-x  4 clamav clamav    4096 2007-09-05 13:52 .
1982465    4 drwxr-xr-x 26 root   root      4096 2007-04-12 20:32 ..
2064454   36 -rw-r--r--  1 clamav clamav   35916 2004-07-29 00:36 
clamav-92833d66ae2041d0
2064452    4 -rw-r--r--  1 root   root        99 2004-06-14 11:13 
clamav-daemon.md5sum
4751386    4 drwxr-xr-x  2 clamav clamav    4096 2007-09-05 13:53 daily.inc
2064450    4 -rw-r--r--  1 root   root        99 2004-06-14 11:13 
etc.clamav.conf.md5sum
2064445    4 -rw-r--r--  1 root   root        33 2004-08-24 18:20 
etc.freshclam.conf.md5sum
2064402 8012 -rw-r--r--  1 root   root   8189490 2007-07-24 10:14 main.cvd
2670646    4 drwxr-xr-x  2 clamav clamav    4096 2007-09-05 13:55 main.inc
2064424    4 -rw-------  1 clamav clamav     624 2007-09-05 13:52 
mirrors.dat

srv-messagerie:/var/lib/clamav# mv main.cvd mainsos.sos

srv-messagerie:/var/lib/clamav# ll
total 8080
2064410    4 drwxr-xr-x  4 clamav clamav    4096 2007-09-05 14:01 .
1982465    4 drwxr-xr-x 26 root   root      4096 2007-04-12 20:32 ..
2064454   36 -rw-r--r--  1 clamav clamav   35916 2004-07-29 00:36 
clamav-92833d66ae2041d0
2064452    4 -rw-r--r--  1 root   root        99 2004-06-14 11:13 
clamav-daemon.md5sum
4751386    4 drwxr-xr-x  2 clamav clamav    4096 2007-09-05 13:53 daily.inc
2064450    4 -rw-r--r--  1 root   root        99 2004-06-14 11:13 
etc.clamav.conf.md5sum
2064445    4 -rw-r--r--  1 root   root        33 2004-08-24 18:20 
etc.freshclam.conf.md5sum
2670646    4 drwxr-xr-x  2 clamav clamav    4096 2007-09-05 13:55 main.inc
2064402 8012 -rw-r--r--  1 root   root   8189490 2007-07-24 10:14 
mainsos.sos
2064424    4 -rw-------  1 clamav clamav     624 2007-09-05 13:52 
mirrors.dat

srv-messagerie:/var/lib/clamav# freshclam
ClamAV update process started at Wed Sep  5 14:01:44 2007
main.inc is up to date (version: 44, sigs: 133163, f-level: 20, builder: 
sven)
Downloading daily-4163.cdiff [100%]
daily.inc updated (version: 4163, sigs: 17580, f-level: 21, builder: 
ccordes)
Database updated (150743 signatures) from db.local.clamav.net (IP: 
193.218.105.9)

srv-messagerie:/var/lib/clamav# ll
total 8080
2064410    4 drwxr-xr-x  4 clamav clamav    4096 2007-09-05 14:01 .
1982465    4 drwxr-xr-x 26 root   root      4096 2007-04-12 20:32 ..
2064454   36 -rw-r--r--  1 clamav clamav   35916 2004-07-29 00:36 
clamav-92833d66ae2041d0
2064452    4 -rw-r--r--  1 root   root        99 2004-06-14 11:13 
clamav-daemon.md5sum
4751386    4 drwxr-xr-x  2 clamav clamav    4096 2007-09-05 14:01 daily.inc
2064450    4 -rw-r--r--  1 root   root        99 2004-06-14 11:13 
etc.clamav.conf.md5sum
2064445    4 -rw-r--r--  1 root   root        33 2004-08-24 18:20 
etc.freshclam.conf.md5sum
2670646    4 drwxr-xr-x  2 clamav clamav    4096 2007-09-05 14:01 main.inc
2064402 8012 -rw-r--r--  1 root   root   8189490 2007-07-24 10:14 
mainsos.sos
2064424    4 -rw-------  1 clamav clamav     624 2007-09-05 14:01 
mirrors.dat

As you see it won't recreate a new main.cvd ... i guess that's trouble 
isn't it ?

Should i empty the 2 .inc directories as well ?
And more important can i do thoses nasty things on production ? ;)
-- 
Thierry Jaboeuf
Administrateur Réseau
Groupe-GLI
Tel : 01.55.56.70.28
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to