pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
cant' pg_ctl find pid file from PGDATA env variable?
4+ messages / 3 participants
[nested] [flat]

* cant' pg_ctl find pid file from PGDATA env variable?
@ 2003-05-07 07:41  Rajesh Kumar Mallah <mallah@trade-india.com>
  0 siblings, 2 replies; 4+ messages in thread

From: Rajesh Kumar Mallah @ 2003-05-07 07:41 UTC (permalink / raw)
  To: pgsql-admin




[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?
[root@ns3 root]#


regds
mallah.


-- 
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: cant' pg_ctl find pid file from PGDATA env variable?
@ 2003-05-07 08:58  Rajesh Kumar Mallah <mallah@trade-india.com>
  parent: Rajesh Kumar Mallah <mallah@trade-india.com>
  1 sibling, 0 replies; 4+ messages in thread

From: Rajesh Kumar Mallah @ 2003-05-07 08:58 UTC (permalink / raw)
  To: pgsql-admin




oops it was my fault.
please ignore.

PGDATA was wrongly set.

On Wednesday 07 May 2003 1:11 pm, Rajesh Kumar Mallah wrote:
> [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?
> [root@ns3 root]#
>
>
> regds
> mallah.

-- 
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: cant' pg_ctl find pid file from PGDATA env variable?
@ 2003-05-07 14:20  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Rajesh Kumar Mallah <mallah@trade-india.com>
  1 sibling, 1 reply; 4+ messages in thread

From: Tom Lane @ 2003-05-07 14:20 UTC (permalink / raw)
  To: Rajesh Kumar Mallah <mallah@trade-india.com>; +Cc: 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




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: cant' pg_ctl find pid file from PGDATA env variable?
@ 2003-05-07 14:29  mallah@trade-india.com
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: mallah@trade-india.com @ 2003-05-07 14:29 UTC (permalink / raw)
  To: tgl@sss.pgh.pa.us; +Cc: pgsql-admin


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/




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2003-05-07 14:29 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-05-07 07:41 cant' pg_ctl find pid file from PGDATA env variable? Rajesh Kumar Mallah <mallah@trade-india.com>
2003-05-07 08:58 ` Rajesh Kumar Mallah <mallah@trade-india.com>
2003-05-07 14:20 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-05-07 14:29   ` mallah@trade-india.com

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