Search Postgresql Archives

Re: Trying to auto start Postgres when server boots up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: pgsql-general-owner@xxxxxxxxxxxxxx
[mailto:pgsql-general-owner@xxxxxxxxxxxxxx] On Behalf Of Shahid Butt
Sent: Monday, February 06, 2006 9:34 AM
To: pgsql-general@xxxxxxxxxxxxxx
Subject: [GENERAL] Trying to auto start Postgres when server boots up

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.butt@xxxxxxxxxx


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.2/252 - Release Date: 2/6/2006
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux