X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C2B03474E4F for ; Wed, 7 May 2003 10:30:20 -0400 (EDT) Received: from www.trade-india.com (ns1.trade-india.com [66.234.10.14]) by postgresql.org (Postfix) with SMTP id A0D45475EDF for ; Wed, 7 May 2003 10:29:52 -0400 (EDT) Received: (qmail 25510 invoked by uid 99); 7 May 2003 14:29:51 -0000 Received: from 219.65.233.17 (SquirrelMail authenticated user mallah) by mail.trade-india.com with HTTP; Wed, 7 May 2003 19:59:51 +0530 (IST) Message-ID: <1137.219.65.233.17.1052317791.squirrel@mail.trade-india.com> Date: Wed, 7 May 2003 19:59:51 +0530 (IST) Subject: Re: cant' pg_ctl find pid file from PGDATA env variable? From: To: In-Reply-To: <26896.1052317244@sss.pgh.pa.us> References: <200305071311.43659.mallah@trade-india.com> <26896.1052317244@sss.pgh.pa.us> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-25.5 required=5.0 tests=BAYES_01,IN_REP_TO,MISSING_MIMEOLE,MISSING_OUTLOOK_NAME, NO_REAL_NAME,QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/80 X-Sequence-Number: 8642 Dear Tom. > Rajesh Kumar Mallah 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/