Re: postgres at reboot - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: postgres at reboot
Date
Msg-id dcc563d10809251246r6be0aa0aw36144c2c111e5d08@mail.gmail.com
Whole thread Raw
In response to postgres at reboot  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
List pgsql-admin
On Thu, Sep 25, 2008 at 1:42 PM, Tena Sakai <tsakai@gallo.ucsf.edu> wrote:
> Hi Everybody,
>
> About 1.5 month ago, my machine (which runs redhat linux
> 2.6.9-78.0.1.ELsmp on Dell hardware with postgres 8.3.3)
> had a terrible crash.  I am mostly recovered, but there
> is at least one more thing that's not right.
>
> Namely, when the machine gets rebooted, postgres doesn't
> start automatically.  Before the crash, there was no such
> problem.

In RH, you use chkconfig to see what's set to start:

chkconfig --list

will show you all the services and what run levels they come up in.

chkconfig servicename on|off -- will turn a service on or off at boot.

service servicename start -- will start a service.

pgsql-admin by date:

Previous
From: "Tena Sakai"
Date:
Subject: postgres at reboot
Next
From: "Calvin Hom"
Date:
Subject: postgres at reboot