X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_05,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,URI_BLOGSPOT,URI_HEX X-Spam-Check-By: sourceware.org X-PGP-Universal: processed; by tus1pgpgwypin02.ges.symantec.com on Mon, 10 Sep 2012 12:20:21 -0700 From: Dan Regan To: Thorsten Kampe , "cygwin AT cygwin DOT com" Date: Mon, 10 Sep 2012 12:20:21 -0700 Subject: Re: sshd service will not start on Windows 8 (Enterprise) because the netlogon service isn't running Message-ID: <9D3DF77F-CEE5-432F-BA55-E4DB4AA5BB24@symantec.com> References: <15E602F4-A8C4-46BC-AF82-5A9277B21003 AT symantec DOT com> In-Reply-To: MIME-Version: 1.0 X-RouteViaPGP: true Content-Type: text/plain; charset="us-ascii" X-IsSubscribed: yes 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q8AJKhlU001352 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