[pgcluster: 539] Re: リカバリーできない

kazunari takahashi kazunari.takahashi @ ctc-g.co.jp
2004年 9月 14日 (火) 17:18:00 JST


高橋です.

早速の返事ありがとうございます.

> レプリケーションサーバの起動ユーザをClusterDBのユーザと同じユーザで立ち
> 上げるか,-Uオプションを付けて起動してみてください.

以前も同じユーザ(postgresユーザ)で立ち上げてましたが、
-Uオプションを付けて立ち上げてみました.
結果は同じでした.

なぜrootで接続しにいくのでしょうか?


-----------------
clusterDB
-----------------
serverA% id
uid=101(postgres) gid=101(postgres)

postgres 11386     1  0 17:12:07 pts/2    0:00 /usr/local/pgsql/bin/postmaster -
i
postgres   724   694  0   Sep 10 pts/2    0:00 -zsh
postgres 11388 11387  0 17:12:07 pts/2    0:00 /usr/local/pgsql/bin/postmaster -
i
postgres 11387 11386  0 17:12:07 pts/2    0:00 /usr/local/pgsql/bin/postmaster -
i
postgres 11390 11386  0 17:12:07 pts/2    0:00 /usr/local/pgsql/bin/postmaster -
i
postgres 11023  1098  0 14:06:25 pts/2    0:00 -zsh

-----------------
replication server
-----------------
% id
uid=101(postgres) gid=101(postgres)

% ps -ef | grep post
postgres 10478 10477  0 17:12:53 pts/2    0:00 pgreplicate -U postgres -D /usr/local/pgsql/etc -W /usr/local/pgsql/etc -nvl
postgres 10418   756  0 15:23:12 pts/2    0:00 -zsh
postgres 10477 10418  0 17:12:53 pts/2    0:00 pgreplicate -U postgres -D /usr/local/pgsql/etc -W /usr/local/pgsql/etc -nvl
postgres 10479 10477  0 17:12:59 pts/2    0:00 pgreplicate -U postgres -D /usr/local/pgsql/etc -W /usr/local/pgsql/etc -nvl
postgres   728   724  0   Sep 10 pts/1    0:00 -zsh

On Tue, 14 Sep 2004 16:59:42 +0900
mitani <mitani @ sraw.co.jp> wrote:

> 三谷@広島です.
> 
> > DEBUG(pgr_createConn): PQsetdbLogin host[serverA] port[5432] db[template1] user[root]
> > が怪しいかなと思い、再度postgresユーザで、コンパイルしてみました.
> レプリケーションサーバの起動ユーザをClusterDBのユーザと同じユーザで立ち
> 上げるか,-Uオプションを付けて起動してみてください.
> 
> =============================
> 三谷 篤<mitani @ sraw.co.jp>
> =============================

---------------------------------------
CTC Technology coporation
iMSP Technical Support Group
iMSP Service Department 
Account Service Division.

tel : +81-3-3649-9065
fax: +81-3-3649-6010
e-mail: kazunari.takahashi @ ctc-g.co.jp
高橋 一成 <kazunari.takahashi @ ctc-g.co.jp>




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