Re: Starting postgres at boot

From: Terry Lee Tucker <terry(at)chosen-ones(dot)org>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Starting postgres at boot
Date: 2010-08-30 10:37:53
Message-ID: 201008300637.53803.terry@chosen-ones.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)chosen-ones(dot)org

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Ashish Karalkar 2010-08-30 13:12:04 Re: Database size in specific metrics
Previous Message Machiel Richards 2010-08-30 08:55:53 Database size in specific metrics