From: Mischa Sandberg <mischa_sandberg@telus.net>
To: H. Hall <hhall1001@reedyriver.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Reliably determining whether the server came up
Date: Mon, 17 Nov 2008 22:17:07 -0800
Message-ID: <1226989027.49225de368848@legacywebmail.telus.net> (raw)
In-Reply-To: <49200BD8.4060703@reedyriver.com>
References: <1226527535.491b532f4c45e@legacywebmail.telus.net>
<491F1861.4060403@reedyriver.com>
<1226780945.491f3111e22de@legacywebmail.telus.net>
<1226781115.22056.1.camel@jd-laptop.pragmaticzealot.org>
<49200BD8.4060703@reedyriver.com>
Perhaps it's my "test for DB ready" that's the problem?
This is the typical glitch I get ...
+ mkdir -p /persist/pgdata
+ chmod 700 /persist/pgdata
+ initdb -Atrust -Upmx -L/persist/pgsql/8.0.9/share >/dev/null
+ cp -p /persist/etc/p*g*.conf /persist/pgdata
+ chmod u+w /persist/home/mischa/pgdata/*.conf
+ pgconf dynamic_library_path=/persist/pgsql/8.0.9/lib
+ touch pg-Mon.log >/tmp/pg.5432.log
+ mkdir -p /persist/pglog
+ cd /persist/pglog
+ pg_ctl start -s -l /tmp/pg.5432.log -o '-p 5432 -B 500 -N 10'
+ while pg_ctl status && ! psql -l; do sleep 1; done >/dev/null 2>&1
+ createlang --pglib /persist/pgsql/8.0.9/lib -d template1 plpgsql
createlang: could not connect to database template1: FATAL: the
database system is starting up
--
Engineers think that equations approximate reality.
Physicists think that reality approximates the equations.
Mathematicians never make the connection.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: mischa_sandberg@telus.net, hhall1001@reedyriver.com
Subject: Re: Reliably determining whether the server came up
In-Reply-To: <1226989027.49225de368848@legacywebmail.telus.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox