From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,aadbcce298c661e4 X-Google-Attributes: gidfee84,public From: /WB/ Subject: Re: Error: port already open Date: 1999/11/09 Message-ID: <3827AB18.12F7C6A4@slashwb.org>#1/1 X-Deja-AN: 546215886 Content-Transfer-Encoding: 7bit References: <7vabt1$dtt$1@nnrp1.deja.com> <7vae9u$djg$1@nserve1.acs.ucalgary.ca> <7vcseu$7iv$1@nnrp1.deja.com> <3826150A.3639817D@slashwb.org> <806opk$1vb$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@home.net X-Trace: news1.frmt1.sfba.home.com 942123901 24.5.220.132 (Mon, 08 Nov 1999 21:05:01 PST) Organization: @Home Network MIME-Version: 1.0 Reply-To: WB@slashwb.org NNTP-Posting-Date: Mon, 08 Nov 1999 21:05:01 PST Newsgroups: comp.unix.osf.osf1 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.