Re: [GENERAL] Trying to auto start Postgres when server boots up

2006-02-07 Thread Tom Lane
"Shahid Butt" <[EMAIL PROTECTED]> writes: > 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. If you're using an RPM distribution then you shouldn't need to muck with rc.local. The startup files are th

Re: [GENERAL] Trying to auto start Postgres when server boots up

2006-02-06 Thread rama krishna
On 2/6/06, Shahid Butt <[EMAIL PROTECTED]> wrote: > 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

Re: [GENERAL] Trying to auto start Postgres when server boots up

2006-02-06 Thread Christopher Browne
> 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 /et

Re: [GENERAL] Trying to auto start Postgres when server boots up

2006-02-06 Thread Jonel Rienton
This might be trivial, but, shouldn't you su to the user(postgres or whatever you used) that's supposed to run the postmaster? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shahid Butt Sent: Monday, February 06, 2006 9:34 AM To: pgsql-general@postgresql