delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/06/20:23:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <393D95E4.7D40C25D@ece.gatech.edu>
Date: Tue, 06 Jun 2000 20:23:00 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: Richard Stanton <stanton AT Haas DOT Berkeley DOT EDU>
CC: Cygwin Mailing List <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: inetd doesn't work until stopped and restarted
References: <000001bfd012$9d904610$524b2080 AT berkeley DOT edu>

This probably has to do with the order in which Windows System services
are started. e.g. if inetd depends on, say, 'windows socket services'(*)
then if inetd is started at bootup *before* WSS, it'll fail. However,
once the machine is running, then you can restart inetd and it'll work
because WSS is up.

I seem to remember some article in the Microsoft Knowledge Base about
this, and how to resolve it -- but no specifics. Hunt around at
support.microsoft.com.

(*) 'WSS' is an imaginary service I made up. But you get the idea.

--Chuck


Richard Stanton wrote:
> 
> I have ftpd, telnetd, sshd etc all running fine via inetd (with the
> exception of the missing ftp directories), except for one thing.
> 
> inetd is set up to start automatically as an NT service. If I reboot, then
> try to connect to my machine, things don't work. For example:
> 
> [c:\]ssh mortgage
> ssh_exchange_identification: read: error 0
> 
> [c:\]ftp mortgage
> Connected to mortgage.berkeley.edu.
> 421 Service not available, remote server has closed connection
> ftp>
> 
> If I stop and then restart inetd, all is fine. For example,
> 
> [c:\]net stop inetd
> The CYGWIN inetd service is stopping.
> The CYGWIN inetd service was stopped successfully.
> 
> [c:\]net start inetd
> The CYGWIN inetd service is starting.
> The CYGWIN inetd service was started successfully.
> 
> [c:\]ssh mortgage
> stanton AT mortgage's password:
> 
> Any idea what the problem is?
> 
> By the way, CYGWIN=binmode tty ntsec
> 
> Richard Stanton
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019