Deinstall "postmaster" as NT service - Mailing list pgsql-cygwin

From stephan.michael.rupp@t-online.de
Subject Deinstall "postmaster" as NT service
Date
Msg-id 3F6C150E.27383.393619@localhost
Whole thread Raw
Responses Re: Deinstall "postmaster" as NT service  (Seth Rubin <srubin@thoughtprocess.com>)
Re: Deinstall "postmaster" as NT service  (Frank Seesink <frank@mail.wvnet.edu>)
List pgsql-cygwin
Hello, all,

as I have "postmaster" already in the NT (Win2K) services list due to a previous (faulty)
installation of PostgreSQL, I cannot successfully restart "postmaster" as NT service:

The command:

bash-2.05b$ cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D
/usr/share/postgresql/data -i" --dep ipc-daemon2 --termsig INT --user postgres --shutdown

quits with the error message:
cygrunsrv: Error installing a service: OpenService:  Win32 error 1073:
Der angegebene Dienst ist bereits vorhanden.

How to deinstall "postmaster" as NT service or to delete it from the NT services list?

In the Win2K command reference, I didn't find anything appropriate.

Thanks in advance for your support.

Kind regards
Stephan



--

Stephan Rupp
- Philologe / Netzwerkspezialist -
Mirabeauweg 4
D-72 072  Tübingen
Tel.: +49 (7071) 84093
Fax: +49 (7071) 84048
E-Post:    stephan.rupp@gmx.net
    stephan.michael.rupp@t-online.de



pgsql-cygwin by date:

Previous
From: Jason Tishler
Date:
Subject: Re: Getting problem when I am using pg_dump
Next
From: Seth Rubin
Date:
Subject: Re: Deinstall "postmaster" as NT service