Hi, I was running into this problem as well. I was running SA 3.0.0 on Postfix 2 on Redhat AS 3.2. Essentially upon most restarts, it appears child processes were still running. The port to SA was in fact open so SA could not start, but postfix could not connect to it. The fix at that time was simply stopping spamassassin and then starting it again.
I recently upgraded to 3.0.2 (yesterday) and have attempted dozens of times to recreate the problem that happened almost every time before and I have yet to successfully recreate the problem. While I would be curious to know the cause of the problem, the quick permanent fix could probably be found in upgrading. Hope it helps, Damien Kemens, Equinox Systems and Development -----Original Message----- From: Michele Neylon :: Blacknight Solutions [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 10:39 AM To: 'BCC'; users@spamassassin.apache.org Subject: RE: SA restarting problems, Address already in use BCC wrote: > Hello happy SpamAssassin users, > > Every night, I stop Postfix, stop SA, force-expire bayes db, > restart SA, restart Postfix. This goes fine most of the time, > but sometimes I run into problems. > > The problems arise around once a week or so : spamc cannot > connect to spamd, saying the following in the maillog file : > > Dec 15 04:25:15 server spamc[18803]: connect(AF_INET) to > spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused > > When this happens, manually restarting spamd resolves the problem. > Until next time. > > As there is no apparent reason for spamd to die (or not to restart > correctly) in the maillog file, I now start spamd without > using '-d', in order to log stderr and stdout messages in a > separate file. I am now using the following command to start spamd : > > /usr/bin/spamd -c -u spam >/var/log/test_spamd. > `/bin/date +%Y%m%d%H%M`.log 2>&1 & > > The problem occured again, and I catched the following from > spamd output >> What is the output of netstat? Mr Michele Neylon Blacknight Internet Solutions Ltd Hosting, co-location & domains http://www.blacknight.ie/ Tel. +353 59 9137101 http://www.blacknight.ie/specialoffers.html