delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/21/22:59:09

X-Spam-Check-By: sourceware.org
Date: Thu, 21 Jun 2007 23:55:33 -0300
From: gga <ggarra AT advancedsl DOT com DOT ar>
Subject: Re: cygrunsrv -S sshd fails not started
In-reply-to: <Pine.SOC.4.64.0706211900290.11135@libra.sfsu.edu>
To: cygwin AT cygwin DOT com
Message-id: <467B3A25.6020706@advancedsl.com.ar>
MIME-version: 1.0
X-imss-version: 2.038
X-imss-result: Passed
X-imss-scores: Clean:17.58903 C:2 M:3 S:5 R:5
X-imss-settings: Baseline:3 C:1 M:1 S:2 R:2 (0.5000 0.5000)
References: <1182469846 DOT 20350 DOT ezmlm AT cygwin DOT com> <Pine DOT SOC DOT 4 DOT 64 DOT 0706211653060 DOT 3948 AT libra DOT sfsu DOT edu> <Pine DOT SOC DOT 4 DOT 64 DOT 0706211900290 DOT 11135 AT libra DOT sfsu DOT edu>
User-Agent: Thunderbird 1.5.0.12 (X11/20070604)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

KAYVEN RIESE wrote:
> On Thu, 21 Jun 2007, KAYVEN  RIESE wrote:
> 
>>
>> kayve AT 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 AT advancedsl DOT com DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019