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