[pgcluster: 820] Re: レプリケーションサーバが起動しない
Nobuaki Inamura
inamuran36 @ mahikari.or.jp
2005年 9月 5日 (月) 17:55:41 JST
稲村です。お世話になります。
結論からいいますと解決いたしました。ありがとうございます。
はせがわさんからの
Masaichi Hasegawa wrote:
> はせがわといいます。
> /tmp/1 というディレクトリはありますか?
というアドバイスから、/tmp/1 を作ったところ無事に起動しました!
参考にしたページをそのままにやってしまったことと、フォルダはなければ勝手に作ってくれるだろうという
勝手な思い込みが原因だったようです。
Atsushi Mitani wrote:
> 稲村さん、こんにちは。
>
>>---------------------------------------------------
>>postgres @ prime:~$ pgreplicate -v -n -D /usr/local/pgsql/etc
>>ERROR:init_server_tbl():fopen failed: (No such file or directory)
>>ERROR:main():PGRset_Conf_Data error
>
> このエラーは
> pgreplicate.confが指定されたディレクトリ(この場合、/usr/local/pgsql/etc)に無い、または開けないというエラーです。
> お使いのpgrelicate.confのファイル名とパーミッションをチェックしてみてください。
>
> 三谷@オランダ
パーミッションは以下の通りでした。
postgres @ prime:/usr/local/pgsql/etc$ ls -l
total 44
-rw-r--r-- 1 postgres postgres 2259 Aug 23 19:12 pglb.conf
-rw-r--r-- 1 root postgres 2275 Aug 23 19:43 pglb.conf.sample
-rw-r--r-- 1 postgres postgres 4 Sep 5 15:02 pglb.pid
-rw-r--r-- 1 postgres postgres 2893 Sep 5 15:02 pglb.sts
-rw-r--r-- 1 postgres postgres 5019 Sep 5 17:33 pgreplicate.conf
-rw-r--r-- 1 root postgres 5061 Aug 23 19:43 pgreplicate.conf.sample
-rw-r--r-- 1 postgres postgres 336 Aug 20 16:13 pgreplicate.sts
お騒がせいたしました。
ありがとうございました!!!
Nobuaki Inamura : inamuran36 @ mahikari.or.jp
pgcluster メーリングリストの案内