Starting a cluster as a service

From: Léa Massiot <lmhelp1(at)orange(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: Starting a cluster as a service
Date: 2012-06-15 13:25:50
Message-ID: 1339766750755-5712728.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Farber 2012-06-15 14:41:44 Re: Trying to execute several queries involving temp tables in a PHP script
Previous Message Vishwas Dwivedi 2012-06-15 13:16:31 Issue in save and retreive file in postgres