Re: Starting postgres at boot - Mailing list pgsql-novice

From Terry Lee Tucker
Subject Re: Starting postgres at boot
Date
Msg-id 201008300637.53803.terry@chosen-ones.org
Whole thread Raw
In response to Starting postgres at boot  ("Md. Aminul Islam Khan" <aikhanlab@gmail.com>)
List pgsql-novice
On Monday, August 30, 2010 04:24:53 Md. Aminul Islam Khan wrote:
> Hi,
> I am trying to learn Postgresql.
> Though basic, I have a problem with starting the postgres at boot,
> placed the following in /etc/rc.local:
> su -c '/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l
> /var/log/postgresql/postgresql.log start' postgres
> but, at times I find the process, other times it is absent (ps aux | grep
> postgres).
> Help is highly appreciated.
>
> aikhan

When the process didn't start, there should have been an error generated and
sent to the system log file (/var/log/messages or me). There should be some
error information in the postgres log as well. You will have to look there and
get a hint of what is wrong. Also, does the command you publish work from the
command line?
--
Terry Lee Tucker
tel: (336) 372-5432; cell: (336) 404-6897
terry@chosen-ones.org

pgsql-novice by date:

Previous
From: Machiel Richards
Date:
Subject: Database size in specific metrics
Next
From: Ashish Karalkar
Date:
Subject: Re: Database size in specific metrics