You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Pad Hosmane <ph...@fedworld.gov> on 2004/04/19 20:25:58 UTC

spamassasin --> Can't assign requested address

Hi,
  I am trying to configure spamassassin 2.63 (Perl 5.8.3) with sendmail
8.12.11 on HP-UX 11.00. Compilation was ok. I configured procmail. I am
also running clamav.0.7. Clamav is working fine.

I started spamd with following option

/usr/local/bin/spamd -d -p 2000 --syslog-socket=inet

I see following error message in the log file

mail.log:Apr 19 13:44:27 apollo spamc[2268]: connect(AF_INET) to spamd
at 127.0.0.1 failed, retrying (#1 of 3): Can't assign requested address

I even tried with -I option and -A option for spamd, but still the same
error. 

"ps -ef|grep LISTEN" shows 

tcp        0      0  localhost.2000         *.*
LISTEN

Any help would be of great help.

Thanks
PAd


RE: spamassasin --> Can't assign requested address

Posted by Pad Hosmane <ph...@fedworld.gov>.
Matt,
  Sorry it should be "netstat -an|grep LISTEN". Here is the output of
"netstat -an|grep LISTEN"

tcp        0      0  127.0.0.1.2000         *.*
LISTEN
tcp        0      0  *.4045                 *.*
LISTEN
tcp        0      0  *.1508                 *.*
LISTEN
tcp        0      0  *.1028                 *.*
LISTEN
tcp        0      0  *.587                  *.*
LISTEN
tcp        0      0  *.135                  *.*
LISTEN
tcp        0      0  *.111                  *.*
LISTEN
tcp        0      0  *.110                  *.*
LISTEN
tcp        0      0  *.2121                 *.*
LISTEN
tcp        0      0  *.49214                *.*
LISTEN
tcp        0      0  *.49201                *.*
LISTEN
tcp        0      0  *.49200                *.*
LISTEN
tcp        0      0  *.25                   *.*
LISTEN
tcp        0      0  *.22                   *.*
LISTEN
tcp        0      0  *.49164                *.*
LISTEN
tcp        0      0  *.49157                *.*
LISTEN
tcp        0      0  *.49156                *.*
LISTEN
tcp        0      0  *.49155                *.*
LISTEN
tcp        0      0  *.49154                *.*
LISTEN
tcp        0      0  *.49153                *.*
LISTEN
tcp        0      0  *.1                    *.*
LISTEN

Still the same problem.

Thanks
PAd

-----Original Message-----
From: Matt Kettler [mailto:mkettler@evi-inc.com] 
Sent: Monday, April 19, 2004 2:37 PM
To: Pad Hosmane; spamassassin-users@incubator.apache.org
Subject: Re: spamassasin --> Can't assign requested address

At 02:25 PM 4/19/2004, Pad Hosmane wrote:
>"ps -ef|grep LISTEN" shows
>
>tcp        0      0  localhost.2000         *.*
>LISTEN

You got that from ps?? That's weird. I've never encountered a version of
PS 
that can do that.

In any event, it looks like some other program is already using port
2000 
and spamd cannot use it. (either that or spamd is already running and 
already using it).

Try netstat -anp  and see if you can find out which program is using
port 2000.

Example output:
Proto Recv-Q Send-Q Local Address           Foreign 
Address         State       PID/Program name
tcp        0      0 
0.0.0.0:80              0.0.0.0:*               LISTEN      19400/httpd

The above indicates port 80 is being used by httpd, running as PID
19400.




Re: spamassasin --> Can't assign requested address

Posted by Matt Kettler <mk...@evi-inc.com>.
At 02:25 PM 4/19/2004, Pad Hosmane wrote:
>"ps -ef|grep LISTEN" shows
>
>tcp        0      0  localhost.2000         *.*
>LISTEN

You got that from ps?? That's weird. I've never encountered a version of PS 
that can do that.

In any event, it looks like some other program is already using port 2000 
and spamd cannot use it. (either that or spamd is already running and 
already using it).

Try netstat -anp  and see if you can find out which program is using port 2000.

Example output:
Proto Recv-Q Send-Q Local Address           Foreign 
Address         State       PID/Program name
tcp        0      0 
0.0.0.0:80              0.0.0.0:*               LISTEN      19400/httpd

The above indicates port 80 is being used by httpd, running as PID 19400.