Am Mittwoch, den 06.10.2004, 15:05 +0100 schrieb Brian Morrison:
> On Wed, 06 Oct 2004 15:20:21 +0200 in
> [EMAIL PROTECTED] Marcus Habermehl
> <[EMAIL PROTECTED]> wrote:
> 
> >  Then I changed the owner of daily.cvd and main.cvd to clamav:clamav
> > 
> >  drwxr-xr-x   2 root   root       104 2004-10-01 18:27 ./
> >  drwxr-xr-x 167 root   root      4744 2004-10-05 20:08 ../
> >  -rw-r--r--   1 clamav clamav   62602 2004-10-01 18:27 daily.cvd
> >  -rw-r--r--   1 clamav clamav 1284637 2004-10-01 18:27 main.cvd
> > 
> >  But it doesn't work still. So I think that wasn't the problem.
> 
> Do you have:
> 
> DatabaseOwner clamav
> 
> in your freshclam.conf? The databases should have been owned by clamav
> anyway. 
> 
> What you might do is to run freshclam under strace (so use strace
> /path/to/freshclam) and look through the large amount of text output and
> see what is happening in terms of calls to libraries and file opens and
> see if you can work out what the problem is from where it shows up in
> the strace output.

I've got the answer!

I must changed the permissions of /etc/resolv.conf to readable for all,
change the owner of /usr/share/clamav to clamav:clamav and must give
freshclam the datadir with --datadir=/usr/share/clamav.

Now it works great! ;-)

Thank you all for your help.

regards

Marcus

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

Reply via email to