delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/05/12:03:36

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <47CED223.9040606@cygwin.com>
Date: Wed, 05 Mar 2008 12:02:27 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: service already exists
References: <15847455 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <15847455.post@talk.nabble.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

veredgf wrote:
> Hi,
> 
> I installed cygwin on a w2k3 server (with sp2).
> It worked fine for a while and then we began getting permission denied on
> /bin/bash.

Sounds a little like a <http://cygwin.com/acronyms/#BLODA> problem to me.
Have you checked into that?

> To try and solve the problem I tried to uninstall and reinstall cygwin... I
> had lots of problems with the reinstallation process. It would not recreate
> the service and the service user .... finally I deleted just about any
> related key from the registry and things improved slightly.... the config
> process started to create the service and also created the user but then I
> get the following error message:
> 
> cygrunsrv: Error installing a service: OpenService:  Win32 error 1073:
> The specified service already exists.
> 
> when I run cygrunsrv -L - I get the following error:
> 
> cygrunsrv: Error enumerating services: QueryServiceConfig:  Win32 error 2:
> The system cannot find the file specified.
> 
> I can't see the service itself in the service list, nor can I find it in the
> registry...
> 
> I'm at my end's wit...
> 
> Rebooting the server is a last resort since this is a prod server....
> 
> Any solutions?

Have you tried removing the service in question with
'cygwunsrv --remove <svc_name>' ?


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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