Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 25E7F9F9701 for ; Mon, 13 Aug 2007 19:38:00 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 32048-04 for ; Mon, 13 Aug 2007 19:37:53 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 106A09F9682 for ; Mon, 13 Aug 2007 19:37:56 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l7DMbsjP023500; Mon, 13 Aug 2007 18:37:54 -0400 (EDT) To: "Tena Sakai" cc: pgsql-admin@postgresql.org Subject: Re: postmaster.pid file In-reply-to: References: Comments: In-reply-to "Tena Sakai" message dated "Mon, 13 Aug 2007 14:51:46 -0700" Date: Mon, 13 Aug 2007 18:37:54 -0400 Message-ID: <23499.1187044674@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/146 X-Sequence-Number: 26477 "Tena Sakai" writes: > When I issued, on a linux machine, the following > command as user postgres: > ~/bin/pg_ctl -D ~/bin reload > It wasn't happy. As well it shouldn't be. -D is supposed to specify the data directory, not the place where the executables are. > Upon checking, I discovered that the file postmaster.pid was > in data directory and as I copied it into ~/bin directory (and > changed the ownership and permission appropriately), That was a bad idea; you'll have to delete it from there manually. regards, tom lane