delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/30/11:32:46

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
From: Mark Himsley <mark AT mdsh DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygrunsrv sshd fails: Some clues
Date: Fri, 30 Nov 2001 16:30:50 +0000
Message-ID: <oicf0ucuj2k280i07bh1bucuoargnsm3no@4ax.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> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20011129105747 DOT 0235c638 AT localhost> <3C0672B4 DOT 8050404 AT cportcorp DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20011130040938 DOT 0239a360 AT localhost> <20011130111650 DOT R24007 AT cygbert DOT vinschen DOT de> <3C0793FA DOT 8020705 AT mediaone DOT net>
In-Reply-To: <3C0793FA.8020705@mediaone.net>
X-Mailer: Forte Agent 1.8/32.548
MIME-Version: 1.0

On Fri, 30 Nov 2001 08:13:14 -0600 you wrote:

> Unfortunately, I don't see a way (in 2K) to add a dependancy. 
> Nor does TCP/IP exist as a service.

These are the commands I used on W2K.

If sshd is already installed as a service then remove it:
$ cygrunsrv -R sshd

Then install it again giving the dependency with the -y parameter:
$ cygrunsrv -I sshd -p /usr/sbin/sshd -a '-D' -y Tcpip -d 'CYGWIN sshd'

And then start sshd again, either with the control panel applet or:
$cygrunsrv -S sshd

I did have sshd dependant on LanmanWorkstation but about one time in three
sshd did not start on this 2 x Pentium III 600 MHz. I've just changed to the
above to see if it works any better.

I'm slightly confused as the control panel appleton does not state that
there are any dependencies but I assume that this is because, as Corinna
says, "it's not a "normal" service but a driver".

-- 
Mark Himsley
In Acton

--
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