John Gallagher wrote:

> I have the same issue,  I can NOT run clamscan with out the -d option
> and giving the directory of the data base.  

 The issue you are having is due to changing the location of the database
dir from that which clam was compiled with.


> clamscan  -l scan.txt -r /tmp/clamav-0.80 -d /var/lib/clamav/
> 
> Shortly after installing the application I did the test and it worked
> perfectly.  For what ever reason it looks like it has some variable
> inserted in front of the true path (like it thinks it is in a chroot
> jail). I would have to test but I think it stopped after I edited
> /etc/clamd.conf and/etc/freshclam.conf files and entered the following
> line:
> 
> DatabaseDirectory /var/lib/clamav
> 
> I know the application is working and so is freshclam:

 Freshclam and clamd both find the database path from their respective
config files. Clamscan relies upon the compiled database path.

Matt
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to