delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/09/12:26:45

X-Spam-Check-By: sourceware.org
Date: Thu, 9 Nov 2006 19:25:33 +0200
From: ukr DOT name DOT lists AT gmail DOT com
X-Mailer: The Bat! (v3.0) Professional
Message-ID: <608479165.20061109192533@ukr.name>
To: cygwin AT cygwin DOT com
Subject: Re: Still seeing "Win32 error 1062" starting sshd with "cygrunsrv -S" with openssh-4.5p1-1. Suggestions, please?
In-Reply-To: <eivisl$9b8$1@sea.gmane.org>
References: <eivisl$9b8$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Hello, Brian.

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

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

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

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

Check folders or files (including logfile) permissions first.
I found useful to run FilemonNT from Sysinternals and restart service
to see what happening. Sshd just might be unable to write logfile or
read configuration files.

--
sK


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