On Mon, 18 Oct 2004 at 17:04:52 +0200, Jona Tallieu (T & T  n.v.) wrote:
> >* Jona Tallieu (T & T  n.v.) <Junk <at> tnt.be>:
> >> Hi all,
> >>
> >> I just upgraded from latest stable 0.75.1 to the final 0.80.
> >>
> >> Now, when freshclam starts, I get this in the freshclam logfile:
> >>
> >> ERROR: Can't save PID to file /var/clamav/freshclam.pid: Permission denied
> >>
> >> The option in freshclam.conf has been disabled (default):
> >> #PidFile /var/run/freshclam.pid
> >
> >The default value is being used: /var/run/freshclam.pid !=
> >/var/clamav/freshclam.pid !
> 
> I tried activating the save PID file with the value /var/clamav/freshclam.pid
> but I get the same error.
> 
> Now also, after a freshclam update, I get following error
> 
> ERROR: Clamd was NOT notified: Can't connect to clamd through
> /var/clamav/clamd.sock
> 
> So it seems freshclam can not access anything in /var/clamav/.
> 
> The permissions for /var/clamav/ are:
> 
> drw-r--r--   4 lp    lp       136 18 Oct 10:49 clamav
> 
> And inside are:
> 
> -rw-rw----  1 root  lp  4 18 Oct 10:39 clamd.pid
> srwxrwxrwx  1 root  lp  0 18 Oct 10:39 clamd.sock
> 

Why is /var/clamav (and files there) owned by "lp" (i.e. print) user
and group??

-- 
 Tomasz Papszun   SysAdm @ TP S.A. Lodz, Poland  | And it's only
 [EMAIL PROTECTED] http://www.lodz.tpsa.pl/iso/ | ones and zeros.
 [EMAIL PROTECTED]   http://www.ClamAV.net/   A GPL virus scanner
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to