From: Rajesh Kumar Mallah <mallah@trade-india.com>
To: Ashok Chauhan <ashok@kalculate.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: re-install postgresql
Date: Sun, 23 Nov 2003 10:15:47 +0530
Message-ID: <3FC03B7B.6010409@trade-india.com> (raw)
References: <1069480581.1222.20.camel@chi>
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
>
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mallah@trade-india.com, ashok@kalculate.com
Subject: Re: re-install postgresql
In-Reply-To: <3FC03B7B.6010409@trade-india.com>
References: <1069480581.1222.20.camel@chi> <3FC03B7B.6010409@trade-india.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox