PostgreSQLのレプリケーション環境
4月26日のエントリで書いた32bit環境と64bit環境との違いでレプリケーションが出来なかった件。
pg_basebackupで64bit環境からコピーしたデータでは32bit環境ではDBが立ち上がらなかったのが良くないのかなと。
マスタでdumpしたデータをスタンバイでimportしてからレプリカ設定してみましたがやはりNG。
DBをスタートするとこんなエラーになります。
$ /usr/local/pgsql/bin/pg_ctl start server starting -bash-3.00$ LOG: could not bind IPv6 socket: Cannot assign requested address HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry. LOG: database system was interrupted while in recovery at log time 2012-05-08 13:51:25 JST HINT: If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target. LOG: entering standby mode LOG: restored log file "00000001000000000000003E" from archive LOG: WAL file is from different database system DETAIL: WAL file database system identifier is 5726984366769266167, pg_control database system identifier is 5735627911145140087.
や、同じようなエラーではないですか。
おとなしく64bit環境を整備することにします。