Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: "Richard Stanton" <stanton@Haas.Berkeley.EDU>
To: "Cygwin Mailing List" <cygwin@sourceware.cygnus.com>
Subject: inetd doesn't work until stopped and restarted
Date: Tue, 6 Jun 2000 16:54:56 -0700
Message-ID: <000001bfd012$9d904610$524b2080@berkeley.edu>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal

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@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@sourceware.cygnus.com

