[pgcluster: 804] Re: 環境構築に関する質問
Masaichi Hasegawa
hasegawa.masaichi @ lab.ntt.co.jp
2005年 9月 2日 (金) 11:50:34 JST
はせがわといいます。createdbがエラーになっていますので、
クラスタサーバが起動していないと思います。
netstat -an|grep 5441
netstat -an|grep 5443
の結果はどうなりますか?
2005/09/02 11:33:06, "myoujint" <myoujint @ nttdata-hokkaido.co.jp> was wrote
> #-------------------------------------------------------------
> # A setup of Cluster DB(s)
> #-------------------------------------------------------------
> <Cluster_Server_Info>
> <Host_Name> repl </Host_Name>
> <Port> 5441 </Port>
> <Recovery_Port> 7101 </Recovery_Port>
> <LifeCheck_Port> 7201 </LifeCheck_Port>
> </Cluster_Server_Info>
> <Cluster_Server_Info>
> <Host_Name> repl </Host_Name>
> <Port> 5443 </Port>
> <Recovery_Port> 7101 </Recovery_Port>
> <LifeCheck_Port> 7201 </LifeCheck_Port>
> </Cluster_Server_Info>
(snip)
> リングログで、460が似ている事象と思い、createdbを実行しましたが以
> 下のようなエラーになってしまいます。
> [postgres @ repl pgsql]$ createdb db1
> createdb: could not connect to database template1: could not connect to
> server: そのようなファイルやディレクトリはありません
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
>
> 初歩的なことで申し訳ございませんが、ご教授頂きたくよろしくお願いします。
>
>
>
pgcluster メーリングリストの案内