From: | Yuji Shinozaki <ys2n(at)virginia(dot)edu> |
---|---|
To: | Steve Santacroce <steves(at)csh(dot)rit(dot)edu> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: pg_ctl won't start postgres, but postmaster will?! |
Date: | 2003-08-27 18:15:04 |
Message-ID: | Pine.LNX.4.44.0308271354400.11973-100000@atg2000.itc.virginia.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Mon, 25 Aug 2003, Steve Santacroce wrote:
> Sorry, forgot to write that. It was in the line. The wierd thing is that I
> can type:
> /usr/local/bin/pg_ctl -D /pgdata -l /var/log/pgsql start
>
> and it will start, but if I use:
>
> su -l pgsql -c exec "/usr/local/bin/pg_ctl -D /pgdata -l /var/log/pgsql
> start"
>
> it doesn't work! And I'm still confused as to why the script doesn't work.
Terse answer: Do not use quotes in your exec statement.
yuji
----
Yuji Shinozaki Computer Systems Senior Engineer
ys2n(at)virginia(dot)edu Advanced Technologies Group
(434)924-7171 Information Technology & Communication
http://www.people.virginia.edu/~ys2n University of Virginia
From | Date | Subject | |
---|---|---|---|
Next Message | William Yu | 2003-08-27 21:19:07 | Re: readline-4.2a compile ,installation problem |
Previous Message | Chris Brown | 2003-08-27 18:08:25 | How do i get the location or -D paramter to accept a windows path using cygwin postgresql |