[pgsql-jp: 26338] Re: Usogresを用いたリモートバックアップについて

Kishimoto Yu kishimoto @ bisonsoft.co.jp
2002年 6月 11日 (火) 11:53:06 JST


Kishimoto と申します、細川さまお返事をありがとうございます。

On Tue, 11 Jun 2002 10:49:45 +0900
HOSOKAWA Tetsuichi <hosokawa @ good-day.co.jp> 様 wrote:

> > .usogresrc には以下の記述をしております。
> 
> ってのが間違いっぽいですね。
> いつのバージョンからか調べないとわからないですが、ユーザーの
> ホームディレクトリの設定ファイルを見には行かなくなってます。
> 
> ./configure 時に、オプションを指定していなければ、
> 
> /usr/local/etc/usogresrc
> 
> に設定内容を記述してやってください。

はい、ご指摘のとおり /usr/local/etc/usogresrc に
以下の記述を行い、Usogres を再起動しました。

[/usr/local/etc/usogresrc]
# host address that usogres performed
host = "127.0.0.1"
# port address that usogres performed
port = 5432

# host address that postgres original server performed
hostorg = "fw.bisonsoft.co.jp"
# port address that postgres original server performed
portorg = 5434

# host address that postgres backup server performed
hostcopy = "fw.bisonsoft.co.jp"
# port address that postgres backup server performed
portcopy = 5436

psql で接続を試みましたが、依然として失敗します。
bash$ psql -h 127.0.0.1 -p5432 -l
Connection to database 'template1' failed.
pqReadData() --  read() failed: errno=32
Broken pipe

Usogres を介さないリモート接続には成功しております。
bash$ psql -h fw.bisonsoft.co.jp -p5434 -l
datname  |datdba|encoding|datistemplate|datallowconn|datlastsysoid|datvacuumxid|datfrozenxid|datpath
---------+------+--------+-------------+------------+-------------+------------+------------+-------
testa    |     1|       1|f            |t           |        16554|          49|          49|


お手数をおかけしますが、何か情報がございましたら、
ご教示願います。

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Kishimoto Yu <kishimoto @ bisonsoft.co.jp>




pgsql-jp メーリングリストの案内