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: sshd service will not start on Windows 8 (Enterprise) because the netlogon service isn't running


Well, when I would attempt to start sshd, the netlogon service attempts to start, fails to start, and then I get the error:
Error 1068: The dependency service or group failed to start.

Strangely, the sshd service doesn't explicitly depend on Netlogon; its only listed dependency is "TCP/IP Protocol Driver".  But I have observed it attempting and failing to start in the event viewer every time I start sshd, and it has turned up in some google results:
http://cygwin.1069669.n5.nabble.com/Error-starting-sshd-quot-Win32-error-1069-quot-td36791.html
http://izadpanah.blogspot.com/2010/01/cygwin-sshd-service-not-starting-on.html

I did find a partial workaround, using steps mentioned here: http://izadpanah.blogspot.com/2010/01/cygwin-sshd-service-not-starting-on.html
If you change the startup type of netlogon from Manual to Automatic *and reboot*, then the SSHD service will start when the system boots.  However, the once booted, the netlogon service is not running, and attempts to start it will still fail.  This means that if you stop sshd, the only way to restart it is to reboot.

One of the links suggested adding netlogon as an explicit dependency, but when I tried this, sshd wouldn't start at all (even at boot time).

Let me know if there is any more information I can provide that would be helpful.

thanks
-dan

On Sep 6, 2012, at 10:55 PM, Thorsten Kampe wrote:

> * Dan Regan (Thu, 6 Sep 2012 17:02:23 -0700)
>> The root of the problem appears to be that sshd relies on the netlogon
>> service to be running
> 
> Can you elaborate?
> 
> Thorsten
> 
> 
> --
> 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
> 


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