Re: re-install postgresql

From: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
To: Ashok Chauhan <ashok(at)kalculate(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: re-install postgresql
Date: 2003-11-23 04:45:47
Message-ID: 3FC03B7B.6010409@trade-india.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message William ZHANG 2003-11-23 07:36:16 Re: What is the advantage
Previous Message Ivan 2003-11-22 19:41:50 What is the advantage