Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 1998 11:53:42 -0500 (EST)
From:      Super-User <root@ma.ultranet.com>
To:        dg@root.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Sendmail segfaults; can't bind to socket; won't restart!
Message-ID:  <199811141653.LAA16919@acestes-fe0.ultra.net>
In-Reply-To: <199811141648.IAA14835@root.com> from David Greenman at "Nov 14, 98 08:48:29 am"

next in thread | previous in thread | raw e-mail | index | archive | help
>    This seems to indicate that there is already something listening on the
> sendmail port. Are you sure that there isn't a daemon running already? Of
> course sendmail shouldn't segfault in this case - that's a bug.

Definitely not already running:

[ttyp3:poseidon] [/var/ftp] > ps axuw|grep sendmail
 
[ttyp3:poseidon] [/var/ftp] > 

Sendmail was going along just fine until:

Nov 14 01:00:23 poseidon sendmail[24554]: NOQUEUE: SYSERR(root): opendaemonsocke
t: cannot listen: Bad file descriptor
Nov 14 01:00:23 poseidon sendmail[24554]: problem creating SMTP socket

and that's when the fun seemed to start.  There were no more log entries
for received mail (from the outside world) since that point, so it's likely
that sendmail died around then, especially since I also see:

Nov 14 01:00:23 poseidon sendmail[24554]: problem creating SMTP socket
Nov 14 01:00:23 poseidon /kernel: pid 24554 (sendmail), uid 0: exited on signal 
11
Nov 14 01:29:08 poseidon /kernel: pid 150 (sendmail), uid 0: exited on signal 10
Nov 14 01:29:08 poseidon /kernel: pid 25380 (sendmail), uid 0: exited on signal 
11

where 150 was the parent process.
I guess I need to find lsof and compile it and see if I can see what's holding
port 25 hostage.
whatever it is:

 > telnet localhost 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

it's not doing much :)

	-=| Ben


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811141653.LAA16919>