Re: cant' pg_ctl find pid file from PGDATA env variable? - Mailing list pgsql-admin

From Tom Lane
Subject Re: cant' pg_ctl find pid file from PGDATA env variable?
Date
Msg-id 26896.1052317244@sss.pgh.pa.us
Whole thread Raw
In response to cant' pg_ctl find pid file from PGDATA env variable?  (Rajesh Kumar Mallah <mallah@trade-india.com>)
Responses Re: cant' pg_ctl find pid file from PGDATA env variable?  (<mallah@trade-india.com>)
List pgsql-admin
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?

            regards, tom lane


pgsql-admin by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: pg_dumpall non-interactive, how?
Next
From: "A.Bhuvaneswaran"
Date:
Subject: Re: Show all users