service already exists

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Mar 5 17:03:00 GMT 2008


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/



More information about the Cygwin mailing list