delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/13/09:07:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C6A72AA.14EB32AF@cern.ch>
Date: Wed, 13 Feb 2002 15:05:30 +0100
From: "Lassi A. Tuura" <lassi DOT tuura AT cern DOT ch>
Organization: Northeastern University, Boston, USA
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "Hildenbrand, Patrick" <patrick DOT hildenbrand AT sap DOT com>
CC: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: cygrunsrv does not start sshd in 1 out of 40 installs
References: <1275A224C449D4119CE900508B6FF0B302D32CF8 AT dewdfx20>

> Now anybody some hints on what might happen there ? Anything I could try to
> nail down the problem ?

Try running cygrunsrv under strace (as the service).  I did this once by
hacking around the registry, it wasn't too hard, though I don't remember
exactly what I did.  Remember that strace takes as arguments windows
paths and doesn't say much if it fails to execute the program.  And that
you'll want the output to go to a file.

Go to HKLM\SYSTEM\CurrentControlSet\Services\sshd
 - Change ImagePath to full (windows) path to strace.exe
 - Change Parameters\AppPath to and Parameters\AppArgs appropriately
   (I don't remember what I did to separate the args for cygrunsrv
   from those to sshd, if anything)

Usual caveats apply -- hacking around the registry may lobotomise the
system.

//lat
-- 
Real programmers don't document.  Documentation is for simps who
can't read the listings or the object deck.

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