Re: Trying to auto start Postgres when server boots up

From: rama krishna <arkr505(at)gmail(dot)com>
To: Shahid Butt <Shahid(dot)Butt(at)nccedu(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Trying to auto start Postgres when server boots up
Date: 2006-02-07 03:11:14
Message-ID: 85ca28130602061911t137e619dr9902e3e4e227f473@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/6/06, Shahid Butt <Shahid(dot)Butt(at)nccedu(dot)com> 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
> /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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>

You use the command 'ntsysv' in the terminal of u'r linux
This command will display all the services which are to start when
the system boots up.
You select 'postgresql' with the help of spacebar and then select 'ok'.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Glaesemann 2006-02-07 03:29:06 Re: Primary keys for companies and people
Previous Message Christopher Browne 2006-02-07 01:51:34 Re: Trying to auto start Postgres when server boots up