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.
set -x

cygrunsrv -S sshd
until [ 0 == $? ] ; do
   sleep 1 ;
   cygrunsrv -S sshd ;

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                    
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: FAQ: Documentation: Unsubscribe info:

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