Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Mark Himsley To: cygwin AT cygwin DOT com Subject: Re: cygrunsrv sshd fails: Some clues Date: Fri, 30 Nov 2001 16:30:50 +0000 Message-ID: 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/