on a rh9 system I was told to use:
spamd -d -q -x --max-children=20 -H /etc/razor -u maildrop -r /var/run/spamd/spamd.pid
to start and
kill `cat /var/run/spamd/spamd.pid`
to stop.
However I always get:
cat: /var/run/spamd/spamd.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
When trying to stop and the following when trying to start.
Could not create INET socket: Address already in use IO::Socket::INET: Address already in use
/var/run/spamd/spamd.pid exists:
-rw-r--r-- 1 maildrop maildrop 5 Jul 23 07:30 spamd.pid
Am I using the right start/stop switches?
Thanks,
spamd -d -q -x --max-children=20 -H /etc/razor -u maildrop -r /var/run/spamd/spamd.pid
to start and
kill `cat /var/run/spamd/spamd.pid`
to stop.
However I always get:
cat: /var/run/spamd/spamd.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
When trying to stop and the following when trying to start.
Could not create INET socket: Address already in use IO::Socket::INET: Address already in use
/var/run/spamd/spamd.pid exists:
-rw-r--r-- 1 maildrop maildrop 5 Jul 23 07:30 spamd.pid
Am I using the right start/stop switches?
Thanks,