Re: cant' pg_ctl find pid file from PGDATA env variable?

From: <mallah(at)trade-india(dot)com>
To: <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: cant' pg_ctl find pid file from PGDATA env variable?
Date: 2003-05-07 14:29:51
Message-ID: 1137.219.65.233.17.1052317791.squirrel@mail.trade-india.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


Dear Tom.

> Rajesh Kumar Mallah <mallah(at)trade-india(dot)com> writes:
>> [root(at)ns3 root]# echo $PGDATA
>> /usr/local/pgsql/data
>> [root(at)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/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message A.Bhuvaneswaran 2003-05-07 14:39:32 Re: Show all users
Previous Message Tom Lane 2003-05-07 14:20:44 Re: cant' pg_ctl find pid file from PGDATA env variable?