On 21 Apr 2004 at 9:49, Trog wrote:

> On Wed, 2004-04-21 at 09:37, Andrea Trasatti wrote:
> 
> > 
> > As you can see, clamscan catches the worm, while clamdscan doesn't. I checked more 
> > than once and I only have one main.cvd and one daily.cvd. How do I get the 
> > database 
> > location of clamdscan? Where should I change it?
> 
> clamdscan sends the file to clamd to scan. You need to tell clamd to
> reload the database when it is updated. See the NotifyClamd option in
> the freshclam.conf and the SelfCheck option in clamav.conf

Thank you everyone for the support. I solved the problem. In my clamav.conf there 
wasn't the directive "DatabaseDirectory /var/lib/clamav" while it was present (and 
commented out) in freshclam.conf. I copied and uncommented into the clamav.conf, 
restarted and now clamd reads the database from the correct place.

I would like to remind that I installed everything with gentoo's portage system. Is 
this a 
failure of their scripts or is it clam's? Basically freshclam and clamscan were using 
the 
new database path (/var/lib/clamav) while clamd was using an old one 
(/usr/share/clamav). In the former are located the .cvd files, in the latter these 
three 
files that are not being updated anymore: ce0d05c72efc2275,  viruses.db,  viruses.db2


I read many posts of some users who might be encountering the same problems. As it 
was suggested by someone else, I don't see why the three softwares (clamscan, clamd 
and freshclam) should use different configuration files that might lead to these 
mistakes. Also I couldn't find anything about "DatabaseDirectory" in the docs (I 
downloaded the V0.68 PDF and also read the HTML version).

Thanks again for the support.

- Andrea


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to