cygrunsrv -S sshd fails not started

KAYVEN RIESE kayve@sfsu.edu
Fri Jun 22 03:31:00 GMT 2007


On Thu, 21 Jun 2007, gga wrote:

> 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

okay.  shoot.  i was able to connect but when i do the command
cygrunsrv -S sshd or the other one it still gives the same error.
how can i make this all happen automatically in the background so
i don't werry about it?  cron job or something? sheesh, but cygwin
is a little baby on top of windows or whatever.

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

*----------------------------------------------------------*
   Kayven Riese, BSCS, MS (Physiology and Biophysics)
   (415) 902 5513 cellular
   http://kayve.net
   Webmaster http://ChessYoga.org
*----------------------------------------------------------*
-------------- next part --------------
--
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/


More information about the Cygwin mailing list