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: Still seeing "Win32 error 1062" starting sshd with "cygrunsrv -S" with openssh-4.5p1-1. Suggestions, please?

Brian Kasper wrote:
Hoping that the latest release of openssh would fix the problem I'm
having starting sshd as a service, I updated my Cygwin install to Ms.
Vinschen's latest release, 4.5p1-1.  I then re-ran ssh-host-config.

Unfortunately, I'm still unable to start sshd as a service, either with
or without privilege separation.  I still receive the error message
"cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error
1062: The service has not been started.".

I feel like I'm missing something obvious, but I've searched the mailing
list archives and Googled for every combination of Cygwin, sshd, and
cygrunsrv I can think of to no avail.

If anyone out there has any suggestions, I would be very grateful.

You have the same problem as Jason.  Get rid of all the old cygwin1.dlls
that you have on your system.  Keep just the one in "C:/cygwin/bin".
If you still have problems after that, you may have tried to start 'sshd'
from the command line.  This will set the improper permissions on some
important files/directories, as others have suggested.  See the
'/usr/bin/ssh-host-config' script for the files/directories involved and
their proper ownership and permissions.  You may be able to get away with
just running the script again (don't know for sure - don't have the script
handy).  You may want to try that first before resorting to making the like
changes by hand.

Larry Hall                    
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

Unsubscribe info:
Problem reports:

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