Re: Weird pg_ctl behaviour via ssh

Поиск
Список
Период
Сортировка
От Bohdan Linda
Тема Re: Weird pg_ctl behaviour via ssh
Дата
Msg-id 20080731104321.GA12339@bafster.baflabs.org
обсуждение исходный текст
Ответ на Weird pg_ctl behaviour via ssh  (Bohdan Linda <bohdan.linda@seznam.cz>)
Список pgsql-general
On Thu, Jul 31, 2008 at 11:24:35AM +0200, Bohdan Linda wrote:
> /opt/postgres-8.3.3/bin/psql -h remote -p 5555 postgres
> psql: FATAL:  the database system is starting up
>

I am attaching additional info. The /dev/null is understable, but what I
am worried is that if I query status of a server via:

ssh -T remote "export LD_LIBRARY_PATH=/opt/postgres-8.3.3/lib;
nohup /opt/postgres-8.3.3/bin/pg_ctl -w -D /data/pg833-data status 2>&1

I get:

pg_ctl: server is running (PID: 14478)
/opt/postgres-8.3.3/bin/postgres -D /data/pg833-data

But still psql is returning:

psql: FATAL:  the database system is starting up

Why we have such inconsistency? How to avoid it?

Thank you,
Bohdan


В списке pgsql-general по дате отправления:

Предыдущее
От: "Cousin Florence"
Дата:
Сообщение: Rappel :
Следующее
От: marko
Дата:
Сообщение: Re: Shared object "libpq.so.3" not found