On Thu, 2 Oct 2003, Jason Staudenmayer wrote:

> I just had to fix this myself I added clamav to group root and checked the
> socket file, had to remove the old one. The error in my logs was can't
> create PID file /var/run

You gotta:

$ chown qscand /var/run/clamd.pid

and put 'rm -f /tmp/clamd' in your clamd startup script. Otherwise it
won't restart if it crashes. My /service/clamd/run is:

-----
#! /bin/sh

rm -f /tmp/clamd

exec env - PATH="/var/qmail/bin:/usr/local/bin:$PATH" clamd
-----

  Cheers.

-- 
Mark Powell - UNIX System Administrator - The University of Salford
Information Services Division, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 4837  Fax: +44 161 295 5888  www.pgp.com for PGP key


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to