John Horne wrote:

Many thanks for all the replies, which all seem positive.

However, we have been seeing problems with restarting the daemon
recently, which is why I am wary about starting to run RDJ from cron. In
trying to restart spamassassin, on a fedora core 4 and core 3 system, we
see:

 /etc/init.d/spamassassin restart
 Shutting down spamd:                                       [  OK  ]
 Starting spamd: Could not create INET socket on 127.0.0.1:783: Address
 already in use (IO::Socket::INET: Address already in use)
                                                            [FAILED]

It seems that a single child procees is left running:

 ps auxww|grep -i spamd
 mail      4156  0.0  2.7  61532 57152 ?    S    17:28   0:00 spamd
   child
 root      4169  0.0  0.0   3756   736 pts/1    S+   17:28   0:00 grep
   -i spamd

If we run 'restart' again then it works okay. If we do a stop and then a
start, that too works okay.

Hi John,

Maybe try changing your SA_RESTART to "killall -HUP spamd".  I think
spamd will correctly reload configuration files with a HUP signal.

Chris Thielen

PS. two copies of this email may appear.  I accidentally sent the first
from a non-subscribed address.

PPS. I also just found out I have an open proxy on my mail server
(fixed).  naughty naughty me :)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCvFCEu+NW2kiW8d0RAqHVAKCSKDEQflY6/0GhbzQcyxNyeiqi7gCg2kE/
b1RqMIopMm/Jpxv2Ij9HT0Q=
=zSkw
-----END PGP SIGNATURE-----

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to