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" User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 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? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/