X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Alexander Skwar Subject: cygrunsrv: Error enumerating services: QueryServiceConfig: Win32 error 2: The system cannot find the file specified. Date: Mon, 16 Jan 2006 09:49:59 +0000 (UTC) Lines: 32 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) 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 Hello! I'm trying to install opensshd on my cygwin installation on a Windows "Server" 2003 and fail :( To setup the server, I ran "ssh-host-config". Somewhere in this script, "cygrunsrv -Q sshd" is executed. When I run this manually, I get: $ cygrunsrv -Q sshd cygrunsrv: Error querying a service: QueryServiceConfig: Win32 error 2: The system cannot find the file specified. Same with -L: $ cygrunsrv -L cygrunsrv: Error enumerating services: QueryServiceConfig: Win32 error 2: The system cannot find the file specified. What "file" cannot be found? When I have a look at the Services section of the Computer Management MMC, I see a service "CYGWIN sshd". But when I try to open it to see its properties, I get another error message shown: Configuration Manager: A required entry in the registry is missing or an attempt to write to the registry failed. The system cannot find the file specified. What might I do to find the reason for this? Thanks a lot, Alexander Skwar -- 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/