From: mallah@trade-india.com
To: tgl@sss.pgh.pa.us
Cc: pgsql-admin@postgresql.org
Subject: Re: cant' pg_ctl find pid file from PGDATA env variable?
Date: Wed, 7 May 2003 19:59:51 +0530 (IST)
Message-ID: <1137.219.65.233.17.1052317791.squirrel@mail.trade-india.com> (raw)
In-Reply-To: <26896.1052317244@sss.pgh.pa.us>
References: <200305071311.43659.mallah@trade-india.com>
<26896.1052317244@sss.pgh.pa.us>
Dear Tom.
> Rajesh Kumar Mallah <mallah@trade-india.com> writes:
>> [root@ns3 root]# echo $PGDATA
>> /usr/local/pgsql/data
>> [root@ns3 root]# pg_ctl reload
>> pg_ctl: cannot find /usr/local/pgsql/data/postmaster.pid
>> Is postmaster running?
>
> Is PGDATA actually an environment variable --- that is, did you
> "export" it?
yeah i had exported it in root's env with a wrong value which was not
even initdb'ed in the env od postgres user PGDATA was find so i did not
realize the mistake. only on running pg_ctl by root i got this error.
BTW can you pleeeeez reply to my last question in the
now() and timeofday() thread ?
Regds
mallah.
>
> regards, tom lane
-----------------------------------------
Get your free web based email at trade-india.com.
"India's Leading B2B eMarketplace.!"
http://www.trade-india.com/
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, tgl@sss.pgh.pa.us
Subject: Re: cant' pg_ctl find pid file from PGDATA env variable?
In-Reply-To: <1137.219.65.233.17.1052317791.squirrel@mail.trade-india.com>
References: <200305071311.43659.mallah@trade-india.com> <26896.1052317244@sss.pgh.pa.us> <1137.219.65.233.17.1052317791.squirrel@mail.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