X-Recipient: archive-cygwin@delorie.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@cygwin.com>
Reply-To: cygwin@cygwin.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@cygwin.com
Subject: Re: service already exists
References: <15847455.post@talk.nabble.com>
In-Reply-To: <15847455.post@talk.nabble.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

