delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/18/16:58:37

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
Message-ID: <435561F3.92F623F9@dessent.net>
Date: Tue, 18 Oct 2005 13:58:27 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygrunsrv --list "Access is denied" (Was: Re: SETUP: In-use files have been replaced)
References: <101820051804 DOT 23742 DOT 43553933000A75E000005CBE22007614380A050E040D0C079D0A AT comcast DOT net> <dj3l8p$nh$1 AT sea DOT gmane DOT org>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Rolf Campbell wrote:

> Every time I try to list services using cygrunsrv, I get an error:
> 
> $ cygrunsrv --list
> cygrunsrv: Error enumerating services: OpenService:  Win32 error 5:
> Access is denied.

That means that there is some service that you do not have access to. 
When cygrunsrv goes to try to get information on it with OpenService it
is denied access.  You'd have to run it with a debugger to find out more
details.

I've been meaning to work on a patch that turns this error into a
warning so that it can just keep going if it runs into this problem.

Brian

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