Starting a cluster as a service - Mailing list pgsql-general

From Léa Massiot
Subject Starting a cluster as a service
Date
Msg-id 1339766750755-5712728.post@n5.nabble.com
Whole thread Raw
Responses Re: Starting a cluster as a service
List pgsql-general
Hello and thank you for reading my post.

My problem is that I do not manage to start a PostgreSQL cluster as a
Windows service.
The OS is WinXP.

- I've created a PostgreSQL cluster "a_pgcluster" with the associated port
5433.
- Running "cmd.exe" under Windows as "a_user", I can start and stop it
manually in command line using the following commands:

- The cluster data directory is "a_pgcluster". Its (filesystem) owner is
"a_user" with this user having "full control" on it.

- Now, I would like it to be run automatically at machine startup as a
service.
- So I registered the cluster using the following command:

- When I go to "Control Panel" -> Administrative Tools" -> "Services" and
try to start the service, I get the following message:

- I also tried the following commands in command-line:


Can you help me try to figure out what's wrong?
Best regards.
--
OS: WinXP Pro SP3
DBMS: PostgreSQL v.9.1

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Starting-a-cluster-as-a-service-tp5712728.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

pgsql-general by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: parsing SQLERRM ?
Next
From: Alexander Farber
Date:
Subject: Re: Trying to execute several queries involving temp tables in a PHP script