From: /WB/ <WB@slashwb.org>
Subject: Re: Error: port already open
Date: 1999/11/09 [thread overview]
Message-ID: <3827AB18.12F7C6A4@slashwb.org> (raw)
In-Reply-To: 806opk$1vb$1@nnrp1.deja.com
No, /etc/services is just a name for the port, nothing more. But what
can happen is that if the server is shut down withou cleanly closing the
socket, the socket can go into TIME_WAIT which will prevent a new bind
without specifying the SO_REUSEADDR. Six hours should be long enough
though...
Try doing a netstat -an >/tmp/sockets.list just before starting the
servers, check if the failed servers correspond to open sockets...
/WB/
Uncle Jeff wrote:
>
> In article <3826150A.3639817D@slashwb.org>,
> WB@slashwb.org wrote:
> > How long is the servers down before you restart them. It sounds more
> > like the the port is in TIME_WAIT, depending on the server bind mode
> > (ie
> > the SO_REUSEADDR flag for the socket) the server will not be able to
> > re-bind to the port before the port becomes totally free again...
> > Uncle Jeff wrote:
>
> They're down for 6 hours. Does this mean you're saying that the port
> _should_ get bound by the entry in the /eetc/services?
> --
> ( >- ------------------------------------- -< )
> /~\ THKS :?) Uncle Jeff /~\
> | \) jeffhowie@NOJUNKmy-deja.com (/ |
> \_|_ Linux, the choice of a GNU generation _|_/
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
prev parent reply other threads:[~1999-11-09 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-28 4:00 Error: port already open Uncle Jeff
1999-10-28 4:00 ` Serguei Patchkovskii
1999-10-29 4:00 ` Uncle Jeff
1999-11-08 5:00 ` /WB/
1999-11-08 5:00 ` Uncle Jeff
1999-11-09 5:00 ` /WB/ [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox