Re: 8.2.10 pg_ctl restart will stop but not start server

Lists: Postg젠 토토SQL : Postg젠 토토SQL 메일 링리스트 : 2008-10-17 이후 PGSQL-BUGS 17:55
From: Arthur Knight Hammer <arthur(at)kingofthebears(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: 8.2.10 pg_ctl restart will stop but not start server
Date: 2008-10-17 16:23:06
Message-ID: 200810171223.06256.arthur@kingofthebears.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Compiled 8.2.10 on fully updated SuSE 10.3 with:

./configure --enable-thread-safety

Every thing behaves normally except pg_ctl:

$ postgres(at)linux:~/ pg_ctl start
server starting
$ postgres(at)linux:~/ pg_ctl stop
waiting for server to shut down....LOG: logger shutting down
done
server stopped

Perfect behavior. Then:

$ postgres(at)linux:~/ pg_ctl restart
waiting for server to shut down....LOG: logger shutting down
done
server stopped
sh: -c: line 0: syntax error near unexpected token `null'
sh: -c: line 0: `"/usr/local/pgsql/bin/postgres" (null) < "/dev/null" 2>&1
&'
pg_ctl: could not start server: exit code was 512

Not a show stopper but a bit naughty. Please let me know if I can be of
further assistance.

I am not subscribed to this list - email directly.

Arthur Knight Hammer


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Arthur Knight Hammer <arthur(at)kingofthebears(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: 8.2.10 pg_ctl restart will stop but not start server
Date: 2008-10-17 17:55:09
Message-ID: 20639.1224266109@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg젠 토토SQL : Postg젠 토토SQL 메일 링리스트 : 2008-10-17 이후 PGSQL-BUGS 17:55

Arthur Knight Hammer <arthur(at)kingofthebears(dot)com> writes:
> $ postgres(at)linux:~/ pg_ctl restart
> waiting for server to shut down....LOG: logger shutting down
> done
> server stopped
> sh: -c: line 0: syntax error near unexpected token `null'
> sh: -c: line 0: `"/usr/local/pgsql/bin/postgres" (null) < "/dev/null" 2>&1
> &'
> pg_ctl: could not start server: exit code was 512

Yeah, this is already reported and patched, but unfortunately not till
after 8.2.10 et al went out :-(
http://archives.postgresql.org/pgsql-committers/2008-09/msg00287.php

regards, tom lane