public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* sshd service will not start on Windows 8 (Enterprise) because the netlogon service isn't running
@ 2012-09-07  2:07 Dan Regan
  2012-09-07 16:16 ` Thorsten Kampe
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Regan @ 2012-09-07  2:07 UTC (permalink / raw)
  To: cygwin

On Windows 8 Enterprise (free 90 day evaluation copy), 32 bit, Version 6.2 Build 9200 ( available here: http://msdn.microsoft.com/en-us/evalcenter/jj554510.aspx ), using Cygwin 1.7.16, I cannot start the sshd service.  The root of the problem appears to be that sshd relies on the netlogon service to be running, and the netlogon service quits immediately after starting.

The event log says: (Event 3095, NETLOGON)
"This computer is configured as a member of a workgroup, not as a member of a domain.  The Netlogon service does not need to run in this configuration."

Attempting to start the service shows:
$ net start sshd
System error 1068 has ocurred.

The dependency service or group failed to start.

Is there a workaround for this?  I have been unable to find one.  I do not have a domain controller.

thanks!
-dan

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sshd service will not start on Windows 8 (Enterprise) because the netlogon service isn't running
  2012-09-07  2:07 sshd service will not start on Windows 8 (Enterprise) because the netlogon service isn't running Dan Regan
@ 2012-09-07 16:16 ` Thorsten Kampe
  2012-09-10 20:40   ` Dan Regan
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Kampe @ 2012-09-07 16:16 UTC (permalink / raw)
  To: cygwin

* 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sshd service will not start on Windows 8 (Enterprise) because the netlogon service isn't running
  2012-09-07 16:16 ` Thorsten Kampe
@ 2012-09-10 20:40   ` Dan Regan
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Regan @ 2012-09-10 20:40 UTC (permalink / raw)
  To: Thorsten Kampe, cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-10 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-07  2:07 sshd service will not start on Windows 8 (Enterprise) because the netlogon service isn't running Dan Regan
2012-09-07 16:16 ` Thorsten Kampe
2012-09-10 20:40   ` Dan Regan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).