X-Spam-Check-By: sourceware.org
Message-ID: <45535F58.6070508@kionka.org>
Date: Thu, 09 Nov 2006 09:03:20 -0800
From: "Daniel P. Kionka" <dan@kionka.org>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Still seeing "Win32 error 1062" starting sshd with "cygrunsrv  -S"  with openssh-4.5p1-1.  Suggestions, please?
References: <eivisl$9b8$1@sea.gmane.org>
In-Reply-To: <eivisl$9b8$1@sea.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

sshd is very picky about file permissions and ownership.  I had a hard 
time setting it up on one box, but luckily I had it working on another, 
and by comparing, I finally got it working.  I can't remember the 
details, but one was getting /var/empty owned by SYSTEM.


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



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

