pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tena Sakai <tsakai@gallo.ucsf.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: postmaster.pid file
Date: Mon, 13 Aug 2007 18:37:54 -0400
Message-ID: <23499.1187044674@sss.pgh.pa.us> (raw)
In-Reply-To: <FE44E0D7EAD2ED4BB2165071DB8E328C03062B37@egcrc-ex01.egcrc.org>
References: <FE44E0D7EAD2ED4BB2165071DB8E328C03062B37@egcrc-ex01.egcrc.org>

"Tena Sakai" <tsakai@gallo.ucsf.edu> 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



view thread (6+ messages)  latest in thread

Message-ID: <23499.1187044674@sss.pgh.pa.us>
Permalink:  ../23499.1187044674@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23499.1187044674@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tsakai@gallo.ucsf.edu
  Subject: Re: postmaster.pid file
  In-Reply-To: <23499.1187044674@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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