This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems starting sshd as a service on cygwin 1.7.3


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]