[pgcluster: 734] Re: リカバリーに失敗する

mitani mitani @ sraw.co.jp
2005年 3月 15日 (火) 10:30:00 JST


三谷@広島です.

1.1.1cで追試してみました.
結果は以下のメッセージを吐いて正常にリカバリーできました.

<追加したクラスタDBのメッセージ>
Start in recovery mode!
Please wait until a data synchronization finishes from Master DB...
postmaster successfully started
[postgres @ dual postgres]$ 1st recovery step of [global] directory...OK
1st recovery step of [base] directory...OK
1st recovery step of [pg_clog] directory...OK
1st recovery step of [pg_xlog] directory...OK
2nd recovery step of [global] directory...OK
2nd recovery step of [base] directory...OK
2nd recovery step of [pg_clog] directory...OK
2nd recovery step of [pg_xlog] directory...OK
LOG:  could not create IPv6 socket: Address family not supported by protocol
LOG:  database system was interrupted at 2005-03-14 16:57:04 PST
LOG:  invalid magic number 0000 in log file 0, segment 0, offset 11395072
LOG:  invalid primary checkpoint record
LOG:  using previous checkpoint record at 0/A4A7EC
LOG:  redo record is at 0/A4A7EC; undo record is at 0/0; shutdown FALSE
LOG:  next transaction ID: 698; next OID: 25334
LOG:  database system was not properly shut down; automatic recovery in progress
LOG:  redo starts at 0/A4A82C
LOG:  record with zero length at 0/A4C8A4
LOG:  redo done at 0/A4C880
LOG:  database system is ready


rsyncのバージョンを確認したところ,以下の通りでした.
[postgres @ dual postgres]$ rsync -h
rsync  version 2.5.5  protocol version 26

最新版は2.6.4pre2ですね.うちのはだいぶ古いなぁ.
ねんのために2.6.3をインストールし,確認しなおしました.

ホスト鍵が変わったようなので,再度手動でrsyncを起動してホスト鍵を登録し
なおしました.

その結果,問題なくリカバリーは終了しました.
んー,手元の環境では,山本さんの現象を再現することができません.

ちなみに,山本さんのクラスタDBの環境(OS,CPUなど)を教えて頂けませんで
しょうか.

=============================
STATUS:Windows対応調査中...
三谷 篤<mitani @ sraw.co.jp>
=============================




pgcluster メーリングリストの案内