Re: re-install postgresql - Mailing list pgsql-admin

From Rajesh Kumar Mallah
Subject Re: re-install postgresql
Date
Msg-id 3FC03B7B.6010409@trade-india.com
Whole thread Raw
In response to re-install postgresql  (Ashok Chauhan <ashok@kalculate.com>)
List pgsql-admin
Dear ashok,


Looks like you installed pgsql from the RPMS.

I feel the /etc/rc.d/init.d/postgresql script should be more verbose to
tell about the exact problem.

In any case the sure shot method of initialising and starting the postmaster
is to follow the instruction that comes in the INSTALL file of source
code.

You may do the following.

# su - postgres
# touch /var/log/pgsql
# chown postgres:  /var/log/pgsql
$ initdb /path/to/folder/to/store/data
$ pg_ctl -l /var/log/pgsql -D /path/to/folder/to/store/data start

check in /var/log/pgsql for errors.

Hope it will help.


Regds
mallah.

Ashok Chauhan wrote:

>help me
>
>i re - install the postgresql but it not start, gives following errors:
>1)    initiliazing database             [FAILED]
>2)    postgresql service            [FAILED]
>
>it gives a message in /var/log/message:- "session closed for user
>postgres"
>
>pls help me.
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 9: the planner will ignore your desire to choose an index scan if your
>      joining column's datatypes do not match
>
>
>



pgsql-admin by date:

Previous
From: Lucio
Date:
Subject: Re: Postgresql DB on a live cd
Next
From: Joachim Smit
Date:
Subject: Login only once