delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/16/05:21:04

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Alexander Skwar <listen AT alexander DOT skwar DOT name>
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: <loom.20060116T102831-404@post.gmane.org>
Mime-Version: 1.0
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: <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!

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/

- Raw text -


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