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: cygrunsrv -S sshd fails not started


KAYVEN RIESE wrote:
> On Thu, 21 Jun 2007, KAYVEN  RIESE wrote:
> 
>>
>> kayve@kayve-PC ~
>> $ cygrunsrv -S sshd
>> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error
>> 1062:
>> The service has not been started.
>>

Check /var/log/sshd.log.  There's probably more info why it failed there.

You can also try starting the daemon manually for testing, as an
administrator like (this will output more verbose info to the console):
   > /usr/sbin/sshd -d -d -d -D

A common cause for that query problem is one of your config files having
a wrong configuration, for example.

P.S.  Installing openssh on cygwin has been nothing but a huge pain for
me, as the docs are mostly worthless.

-- 
Gonzalo Garramuño
ggarra@advancedsl.com.ar

AMD4400 - ASUS48N-E
GeForce7300GT
Kubuntu Edgy

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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