Török Edwin wrote: > On 2009-03-04 23:18, Bill Landry wrote: >> Török Edwin wrote: >> >> >>> Was your clamd heavily loaded at that time? >>> How long does this take: >>> $ time clamscan /dev/null >>> >> Sorry to break in here, but I wanted to check how long my server would >> take to load the signature databases with v0.95rc1. However, this is >> new to me: >> >> clamscan /dev/null >> LibClamAV Warning: ************************************************** >> LibClamAV Warning: *** The virus database is older than 7 days! *** >> LibClamAV Warning: *** Please update it as soon as possible. *** >> LibClamAV Warning: ************************************************** >> >> I've never had clamscan report this before now. This works fine: >> >> clamscan -d /var/lib/clamav /dev/null >> >> How do I get clamscan to look for the database files by default in >> /var/lib/clamav instead of /usr/local/share/clamav (found this with strace)? >> >> I tried rebuilding clamav using: >> >> ./configure --datadir=/var/lib/clamav/ >> >> But to no avail. Is there a different configure option I should be using? >> > > You should use this: > --with-dbdir=path path to virus database directory
Ah, I was looking in the (./configure --help) "Fine tuning of the installation directories:" section. Shouldn't this configure switch also be in this section? And with all previous versions of ClamAV, I've never had to use this configure switch - why now? Anyway, this worked. Thanks! Bill _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml