Re: Weird pg_ctl behaviour via ssh - Mailing list pgsql-general

From Bohdan Linda
Subject Re: Weird pg_ctl behaviour via ssh
Date
Msg-id 20080731104321.GA12339@bafster.baflabs.org
Whole thread Raw
In response to Weird pg_ctl behaviour via ssh  (Bohdan Linda <bohdan.linda@seznam.cz>)
List 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 by date:

Previous
From: "Cousin Florence"
Date:
Subject: Rappel :
Next
From: marko
Date:
Subject: Re: Shared object "libpq.so.3" not found