On Sun, Feb 01, 2004 at 12:21:18AM +0100, Tomasz Kojm wrote:
> On Thu, 29 Jan 2004 09:58:00 +0000
> Jo Mills <[EMAIL PROTECTED]> wrote:
> 
> > ls -l /var/lib/clamav shows
> > 
> >  total 3420
> >  -rw-r--r--    1 clamav   clamav     671587 Jan 29 09:26
> >  8835d2dfdc4bef4a-rw-r--r--    1 clamav   clamav    1037239 Jan 29
> >  09:05 e03647661b51a6e7-rw-r--r--    1 root     root          212 Jan
> >  28 11:39 mirrors.txt-rw-r--r--    1 clamav   clamav    1762362 Jan 28
> >  16:03 viruses.db-rw-r--r--    1 clamav   clamav       7929 Jan 28
> >  16:33 viruses.db2
> > 
> > When I try
> > 
> >  /usr/local/bin/clamscan --log=/var/log/clamscan/apps_win32.log  \
> >    --recursive --max-files=2000 --max-space=30M --max-recursion=5 \
> >    /diskc/utils/apps/Win32
> 
> clamscan doesn't depend on clamav.conf (so it may search for the
> databases in other directory). Remember that cvs snapshots come with the
> empty files instead of the real databases. Running freshclam should fix
> the problem.

Tomasz

Thanks for the reply.  Running freshclam did not solve the problem as
freshclam is updating the virus databases to /var/lib/clamav (when it
works - I'm the poor sod who is suffering the Novel proxy and the
freshclam timeouts) but clamscan from ClamAV version devel-20040129 is
looking for the database files in /usr/local/share/clamav.

Please note:

   labserver:/var/lib/clamav# /usr/local/bin/freshclam --version
   freshclam / ClamAV version devel-20040129

so I am trying to run the correct version of freshclam (I have also
checked that no other versions of freshclam exist on this machine).

I haven't looked into why this should be so, possibly a hang over from
the last cvs version I tried (clamav-devel-20031027) or the deb
package I tried (clamav-0.60-10)?  I did remove the deb package before
building ClamAV version devel-20040129.

Nothing untoward is reported in the freshclam logs, However I did
notice that /var/lib/clamav is filling up with some "oddly" named 
files, see below.

labserver:/var/lib/clamav# ls -l
total 6720
-rw-r--r--    1 clamav   clamav     671587 Feb  2 09:40 2c32ffb6a337ad59
-rw-r--r--    1 clamav   clamav     671587 Feb  2 08:30 4eaeb04bd4770881
-rw-r--r--    1 clamav   clamav     671587 Jan 29 09:26 8835d2dfdc4bef4a
-rw-r--r--    1 clamav   clamav     671587 Feb  1 08:30 b87c6dfd6063782b
-rw-r--r--    1 clamav   clamav     671587 Jan 31 08:30 c40b5d04fa707af2
-rw-r--r--    1 clamav   clamav     671587 Jan 30 08:30 de3d62fa67305fe9
-rw-r--r--    1 clamav   clamav    1037239 Jan 29 09:05 e03647661b51a6e7
-rw-r--r--    1 root     root          212 Jan 28 11:39 mirrors.txt
-rw-r--r--    1 clamav   clamav    1762362 Jan 28 16:03 viruses.db.orig
-rw-r--r--    1 clamav   clamav       7929 Jan 28 16:33 viruses.db2.orig


The two *.orig files were my attempt to force freshclam to perform a
download as though for a new installation, but I was defeated by our
Novel proxy!

Anyway, I'm up & running again so thanks for the tip.  I'll try out
the snapshot on our archives.

Best Regards,

Jo.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to