On Fri, 2004-04-16 at 13:44, [EMAIL PROTECTED] wrote:

> PidFile /var/run/pid.file
> freshclam -d --config-file=/etc/freshclam.conf --pid=/var/run/pid.file
> But I can't get a freshclam to create a PID file.

The user that freshclam runs as cannot write to that directory. 
Assuming you have it running as user "clamav":

mkdir /var/run/clamav
chown clamav:clamav /var/run/clamav

Then edit the PidFile setting to be /var/run/clamav/clamav.pid and it
will work.

Blue skies...                   Todd



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to