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

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

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?

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message mallah 2003-05-07 14:29:51 Re: cant' pg_ctl find pid file from PGDATA env variable?
Previous Message Bruno Wolff III 2003-05-07 14:06:33 Re: pg_dumpall non-interactive, how?