From: | "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: postmaster.pid file |
Date: | 2007-08-13 22:57:25 |
Message-ID: | FE44E0D7EAD2ED4BB2165071DB8E328C03062B38@egcrc-ex01.egcrc.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Thank you, Tom.
As I typed:
~/bin/pg_ctl -D ~/bin reload
I thought I had typed:
~/bin/pg_ctl -D ~/data reload
(Had I not copied-and-pasted the actual command,
I would have given you the correct line, which
would have been really bad!) I was blind!
I got the extra file in ~/bin directory removed.
Regards,
Tena
tsakai(at)gallo(dot)ucsf(dot)edu
-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Mon 8/13/2007 3:37 PM
To: Tena Sakai
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] postmaster.pid file
"Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Medi Montaseri | 2007-08-13 23:05:37 | postmaster restart on a different dataDir |
Previous Message | Tom Lane | 2007-08-13 22:37:54 | Re: postmaster.pid file |