On Wed, 20 Oct 2004 16:14:58 +0200, Frank Elsner

<[EMAIL PROTECTED]> wrote:


Just installed version 0.80.

"clamdscan ." runs fine saying
-----------


[snip]

BUT "clamscan -r ." gives error message
-------------
LibClamAV Error: cl_loaddbdir(): Can't open directory /usr/ClamAV/data0
ERROR: Unable to open file or directory


[snip]

Both "freshclam.conf" and "clamd.conf" contain
                                      DatabaseDirectory /usr/ClamAV/data/



You DID compile it from source, right?
Last time I check clamscan use compiled-time database directory (in this case seems to be
/usr/ClamAV/data0), and ignores clamd.conf completely. You COULD use
"-d FILE/DIR" command line parameter.


My guess is you have a typo during ./configure so it says /usr/ClamAV/data0
(note the 0) instead of /usr/ClamAV/data.
Try "clamscan -r -d /usr/ClamAV/data ."

Regards,
Fajar
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to