You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by hu...@partyvibe.com on 2004/09/17 13:02:18 UTC
After starting spamd, spamc fails to connect to it and spamd stops running!?
Will anyone please help me?
I've recently had a working sitewide install of spamassassin stop working
and it's very upsetting! :(
Many thanks.
hugh
--------------------------------
-- My problem:
As far as I can tell spamd starts correctly, spamc then tries and fails to
connect to it and spamd stops running shortly after...
[root@wibble perl-5.6.1]# /etc/init.d/spamassassin start
Starting spamd: [ OK ]
[root@wibble perl-5.6.1]# netstat -lnp | grep spamd
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
7148/spamd -d -a -q
[root@wibble perl-5.6.1]# ps -aef | grep spam
spamd 7148 1 78 11:40 ? 00:00:07
/usr/bin/spamd -d -a -q -x -u sp
root 7163 21623 0 11:40 pts/0 00:00:00 grep spam
[root@wibble perl-5.6.1]# ps -aef | grep spam
spamd 7148 1 66 11:40 ? 00:00:07
/usr/bin/spamd -d -a -q -x -u sp
root 7169 21623 0 11:40 pts/0 00:00:00 grep spam
[root@wibble perl-5.6.1]# ps -aef | grep spam
spamd 7148 1 60 11:40 ? 00:00:07
/usr/bin/spamd -d -a -q -x -u sp
[root@wibble perl-5.6.1]# ps -aef | grep spam
spamd 7148 1 56 11:40 ? 00:00:07
/usr/bin/spamd -d -a -q -x -u sp
root 7175 21623 0 11:40 pts/0 00:00:00 grep spam
[root@wibble perl-5.6.1]# ps -aef | grep spam
spamd 7148 1 56 11:40 ? 00:00:07
/usr/bin/spamd -d -a -q -x -u sp
root 7181 21623 0 11:40 pts/0 00:00:00 grep spam
lynn 7184 7183 0 11:40 ? 00:00:00 /usr/bin/spamc -f
[root@wibble perl-5.6.1]# ps -aef | grep spam
lynn 7184 7183 0 11:40 ? 00:00:00 /usr/bin/spamc -f
root 7187 21623 0 11:40 pts/0 00:00:00 grep spam
-- My setup:
Red Hat 7.3
SA 2.64 (site wide install using /etc/procmailrc - see below)
Perl 5.6.1
-- Contents of /etc/procmailrc:
DROPPRIVS=yes
:0fw
| /usr/bin/spamc -f
-- From /var/log/maillog
Sep 17 11:20:24 wibble spamc[6273]: connect(AF_INET) to spamd at 127.0.0.1
failed, retrying (#1 of 3): Connection refused
Sep 17 11:20:25 wibble spamc[6273]: connect(AF_INET) to spamd at 127.0.0.1
failed, retrying (#2 of 3): Connection refused
Sep 17 11:20:26 wibble spamc[6273]: connect(AF_INET) to spamd at 127.0.0.1
failed, retrying (#3 of 3): Connection refused
Sep 17 11:20:27 wibble spamc[6273]: connection attempt to spamd aborted
after 3 retries
Re: After starting spamd, spamc fails to connect to it and spamd stops running!?
Posted by Nick Leverton <nj...@leverton.org>.
On Fri, Sep 17, 2004 at 12:02:18PM +0100, hug@partyvibe.com wrote:
> Will anyone please help me?
>
> I've recently had a working sitewide install of spamassassin stop working
> and it's very upsetting! :(
Wotcher Hugh :)
Do you have any monitoring task scanning port 783 ? There's a bug
in spamd in 2.6x, whereby opening a socket and closing it without a
transaction makes it crash.
Failing that, try using the "-D" option for debug messages and see if
anything shows up there.
Nick
Re: After starting spamd, spamc fails to connect to it and spamd stops running!?
Posted by hu...@partyvibe.com.
Declan,
Running both with -p 15505 returns the same error.
Any more ideas?
Many thanks...
hugh
----- Original Message -----
From: "Declan Moriarty" <de...@ntlworld.ie>
To: <hu...@partyvibe.com>
Sent: Friday, September 17, 2004 12:54 AM
Subject: Re: After starting spamd, spamc fails to connect to it and spamd
stops running!?
> On Fri, Sep 17, 2004 at 12:02:18PM +0100, hug@partyvibe.com enlightened us
thusly
> > Will anyone please help me?
> >
> > I've recently had a working sitewide install of spamassassin stop
working
> > and it's very upsetting! :(
> >
> > Many thanks.
> >
> They both accept a -p option for the port
>
> With Best Regards,
>
>
> Declan Moriarty