X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: Yes, hits=5.8 required=5.0 tests=BAYES_20,BOTNET,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB X-Spam-Check-By: sourceware.org Message-id: <4BCC933B.3060205@cygwin.com> Date: Mon, 19 Apr 2010 13:30:35 -0400 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Problems starting sshd as a service on cygwin 1.7.3 References: <62688 DOT 30561 DOT qm AT web111403 DOT mail DOT gq1 DOT yahoo DOT com> In-reply-to: <62688.30561.qm@web111403.mail.gq1.yahoo.com> Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 4/19/2010 12:57 PM, Myron Flickner wrote: > On one machine sshd startup still fails with a " QueryServiceStatus: Win32 > error 1062:" even after upgrading to cygwin 1.7.5-1. If it fails the log > file \var\log\sshd.log is not created. > > If I run the script below I can get sshd to start. I've tried this with > symantec firewall off/on - no difference. > #!/bin/bash > set -x > > cygrunsrv -S sshd > until [ 0 == $? ] ; do > sleep 1 ; > cygrunsrv -S sshd ; > done > > cygrunsrv -V -Q sshd > > How can I trace this issue ? Still sounds like BLODA to me. What else do you have on your system that could be trying to manage/control/protect file access? The fact that you can eventually get it to start suggests there's nothing wrong with the configuration and that it's just a matter of timing. So you have some dependency in your network stack (perhaps) that isn't ready when sshd is starting or something is actively inhibiting a dependency. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple