delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/29/11:16:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <5.1.0.14.2.20011129105747.0235c638@localhost>
X-Sender: sbehrens AT gmx DOT li/pop DOT gmx DOT li AT localhost
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Thu, 29 Nov 2001 11:13:17 -0500
To: cygwin AT cygwin DOT com
From: Shawn Behrens <sbehrens AT gmx DOT li>
Subject: Re: cygrunsrv sshd fails: Some clues
Cc: Peter Buckley <peter DOT buckley AT cportcorp DOT com>
In-Reply-To: <3BFBE5C1.9000709@cportcorp.com>
References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20011120080121 DOT 02440440 AT pop DOT gmx DOT li>
<5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20011120190516 DOT 02561e50 AT pop DOT gmx DOT li>
Mime-Version: 1.0

Hi,

>Sorry, I thought when you started it manually you just typed:
>
>prompt>sshd
>
>So you are starting the service manually:
>
>prompt>cygrunsrv sshd

Actually, I am starting it through Control Panel or through 'net start sshd'.

>and it works, but starting the service automatically fails? That sounds 
>like a problem with whatever version of XP you have

Yes. The version of XP I have is XP Professional, release version. Note 
that others have reported this same problem with W2k, too, so I do not 
think it is XP-specific.

One thing I noticed is: If I set a parameter to start a .bat file on 
service failure (first, second, subsequent) that will execute a 'net start 
sshd' and open notepad (that last to make it do something that I see), that 
.bat is never started. Very strange. So the service fails but does not 
report that properly to the OS?

>, or something about the parameters that XP starts the service with. Have 
>you tried to uninstall sshd as a service, and install it with srvany or 
>firedaemon?

I have. Specifying c:\cygwin\usr\sbin\sshd.exe as the app to be started, 
c:\cygwin\usr\sbin as the application directory, and -D as the application 
parameters, I get this:
FireDaemon just crashes upon starting the service
srvany says the service started okay. However, will srvany is running, sshd 
is not.

So, sshd.exe needs some things to execute that neither FireDaemon nor 
srvany provide.

Cheers
Shawn



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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