Re: Trying to auto start Postgres when server boots up

Поиск
Список
Период
Сортировка
От Jonel Rienton
Тема Re: Trying to auto start Postgres when server boots up
Дата
Msg-id 001501c62b84$0e343de0$0200a8c0@aspire
обсуждение исходный текст
Ответ на Trying to auto start Postgres when server boots up  ("Shahid Butt" <Shahid.Butt@nccedu.com>)
Список pgsql-general
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@postgresql.org
[mailto:pgsql-general-owner@postgresql.org] On Behalf Of Shahid Butt
Sent: Monday, February 06, 2006 9:34 AM
To: pgsql-general@postgresql.org
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@nccedu.com


---------------------------(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



В списке pgsql-general по дате отправления:

Предыдущее
От: "Shahid Butt"
Дата:
Сообщение: Trying to auto start Postgres when server boots up
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: Trying to auto start Postgres when server boots up