Trying to auto start Postgres when server boots up

From: "Shahid Butt" <Shahid(dot)Butt(at)nccedu(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Trying to auto start Postgres when server boots up
Date: 2006-02-06 15:33:47
Message-ID: D9C11895109A7C498822D9D5CE295E61CEC18C@nccexch001
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I am using PostgreSQL 7.4.7 and Red Hat Enterprise Linux 4.

I want to start the Postgres Postmaster automatically when the server
boots up.
I have tried putting the command
"/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l
/usr/local/pgsql/data/server.log start"
In the /etc/rc.d/rc.local file but when the server boots up it gets
stuck at the point "Enabling swap space [OK]".
Usually the Red Hat desktop would come up but it doesn't.

Any ideas?

Regards,

Shahid Butt
IT Systems Developer

shahid(dot)butt(at)nccedu(dot)com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hrishikesh Deshmukh 2006-02-06 15:54:49 Question
Previous Message Bruno Wolff III 2006-02-06 14:32:50 Re: change current user in pl/pgsql function