Re: After starting spamd, spamc fails to connect to it and spamd stops running!?
After all that it seems my problems were related to having changed versions of perl and spamd's inability to find the new libraries on it's path. Many thanks all for your help! hugh - Original Message - From: Chris Santerre [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Spamassassin-Talk (E-mail) [EMAIL PROTECTED] Sent: Friday, September 17, 2004 3:09 PM Subject: RE: After starting spamd, spamc fails to connect to it and spamd stops running!? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 7:02 AM To: users@spamassassin.apache.org Subject: 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: *snip* -- 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 It might be a permissions problem. Can you call spamc with the -u and a particular user with permissions? --Chris
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... [EMAIL PROTECTED] perl-5.6.1]# /etc/init.d/spamassassin start Starting spamd:[ OK ] [EMAIL PROTECTED] perl-5.6.1]# netstat -lnp | grep spamd tcp0 0 127.0.0.1:783 0.0.0.0:* LISTEN 7148/spamd -d -a -q [EMAIL PROTECTED] 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/000:00:00 grep spam [EMAIL PROTECTED] 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/000:00:00 grep spam [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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/000:00:00 grep spam [EMAIL PROTECTED] 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/000:00:00 grep spam lynn 7184 7183 0 11:40 ?00:00:00 /usr/bin/spamc -f [EMAIL PROTECTED] 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/000: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!?
Declan, Running both with -p 15505 returns the same error. Any more ideas? Many thanks... hugh - Original Message - From: Declan Moriarty [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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, [EMAIL PROTECTED] 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
RE: After starting spamd, spamc fails to connect to it and spamd stops running!?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 7:02 AM To: users@spamassassin.apache.org Subject: 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: *snip* -- 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 It might be a permissions problem. Can you call spamc with the -u and a particular user with permissions? --Chris
Re: After starting spamd, spamc fails to connect to it and spamd stops running!?
On Fri, Sep 17, 2004 at 12:02:18PM +0100, [EMAIL PROTECTED] 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