Re: Reliably determining whether the server came up

Поиск
Список
Период
Сортировка
От Mischa Sandberg
Тема Re: Reliably determining whether the server came up
Дата
Msg-id 1226989027.49225de368848@legacywebmail.telus.net
обсуждение исходный текст
Ответ на Re: Reliably determining whether the server came up  ("H. Hall" <hhall1001@reedyriver.com>)
Ответы Re: Reliably determining whether the server came up  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
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.



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

Предыдущее
От: Mischa Sandberg
Дата:
Сообщение: Re: Reliably determining whether the server came up
Следующее
От: "Sabin Coanda"
Дата:
Сообщение: raise doesn't add end of line