[pgsql-jp: 31762] Re: クラスタサーバが起動出来ない (pgcluster-1.0.5)
八田
s-hatta @ exl.ne.jp
2003年 12月 11日 (木) 14:04:52 JST
八田です。
2つほどテストできたので結果を報告です。
1.HOSTOSファイルにホスト名記述し
て起動テストは起動順番を入れ替えて
も正常動作しました(もちろんですね!)
2.マスターDB以外のクラスターサーバで
リカバリーモードで起動すると失敗します。
起動ログ
[root @ Bsv root]# su -l postgres
[postgres @ Bsv postgres]$ /usr/local/pgsql/bin/pg_ctl start -D /usr/local/pgsql/data -o "-i -R"
postmaster successfully started
[postgres @ Bsv postgres]$ The authenticity of host 'asv.AAA.jp(192.168.3.221)' can't be establish
ed.
RSA1 key fingerprint is 41:f5:f0:ff:f6:19:41:ac:ef:5b:78:db:c3:80:fa:78.
Are you sure you want to continue connecting (yes/no)?
Host key verification failed.
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)
以下同じようなメッセージが続きます。
次からは通常起動も失敗します。
[postgres @ Bsv postgres]$ /usr/local/pgsql/bin/pg_ctl start -D /usr/local/pgsql/data -o "-i"
postmaster successfully started
[postgres @ Bsv postgres]$ /usr/local/pgsql/bin/postmaster does not find the database system.
Expected to find it in the PGDATA directory "/usr/local/pgsql/data",
but unable to open file "/usr/local/pgsql/data/global/pg_control": そのようなファイルやディレクトリ
はありません
--
hatta <s-hatta @ exl.ne.jp>
pgsql-jp メーリングリストの案内