Thanks.. ut yes Ishold have stated that.. stop start..
[root admin]# /etc/rc.d/init.d/spamd stop
Shutting down spamd: ok
[root admin]# /etc/rc.d/init.d/spamd start
Starting spamd: spamdCould not create INET socket: Address already in use
IO::Socket::INET: Address already in use
Any other
On Sat, 8 Nov 2003, Debbie D wrote:
Thanks.. ut yes Ishold have stated that.. stop start..
[root admin]# /etc/rc.d/init.d/spamd stop
Shutting down spamd: ok
[root admin]# /etc/rc.d/init.d/spamd start
Starting spamd: spamdCould not create INET socket: Address already in use
You need to wait for all of spamd's children to die, including all of the
spamc's. This can take a while on a busy and/or slow server. This works
for me most of the time:
#!/bin/bash
PID=`awk '{print $1}' /var/run/spamd.pid`
kill -TERM $PID wait || echo ERROR!