Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <1275A224C449D4119CE900508B6FF0B302D32CF8@dewdfx20> From: "Hildenbrand, Patrick" To: "'cygwin AT cygwin DOT com'" Subject: RE: cygrunsrv does not start sshd in 1 out of 40 installs Date: Wed, 13 Feb 2002 12:50:30 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-SAP: out Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g1DBpXs22686 just some more info. There is a timing issue with initializing the cygwin code on the machines where cygrunsrv fails to start. As posted invoker starts sshd but sshd won't respond to any connection requests for about a 1.5 minutes (after which it works fine). So this sounds to me as the most likly reason. Now anybody some hints on what might happen there ? Anything I could try to nail down the problem ? Mit besten Grüssen, Kind regards, Patrick Hildenbrand > Patrick Hildenbrand > Operations & Technology > SAP Hosting AG & Co. KG > Raiffeisenring 45 > 68789 St. Leon-Rot, Germany > T +49/6227/7-66410 > F +49/6227/7-66301 > E patrick DOT hildenbrand AT sap DOT com > http://www.saphosting.com -----Original Message----- From: Hildenbrand, Patrick Sent: Mittwoch, 13. Februar 2002 12:05 To: 'cygwin AT cygwin DOT com' Subject: RE: cygrunsrv does not start sshd in 1 out of 40 installs The problem is with cygrunsrv failing to initialize. Not even the first line of code is getting executed. Searching for StartServiceCtrlDispatcherA, I could find an other thread from last year, discussing the same problem: http://www.cygwin.com/ml/cygwin/2001-06/msg00099.html What I tried at the end was sending log events to the eventlog jsut before the line appname = argv[0]; in main. Not even these events did show up in the eventlog, if the service could not be started. If the service can be started however, all eventlogentries did show up. BTW: executing cygrunsrv on the commandline works on all systems and the eventlog shows the expected entries. any guesses on why the cygwin.dll might hang on initialization the way it is used by cygrunsrv as discussed in the other thread ? Mit besten Grüssen, Kind regards, Patrick Hildenbrand -- 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/