[pgsql-jp: 35581] Re: postgresql-8.0.2 のインストールについて。

宮本 睦巳 mustumi.miyamoto @ r8.dion.ne.jp
2005年 6月 24日 (金) 17:16:32 JST


宮本@大阪です。

堀越様、もりもと様、ご指導ありがとうございます。
環境設定は教えて頂いたWebの内容と同一でした。

またもりもと様からのご指摘でsilent_mode=falseに変更した結果ですが

[postgres @ divemaster postgres]$ pg_ctl -w start
LOG:  could not bind IPv6 socket: Address already in use
HINT:  Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
LOG:  could not bind IPv4 socket: Address already in use
HINT:  Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
FATAL:  could not create TCP/IP listen socket

と表示されました。socketと言う事はやはりconfファイルの設定ミスなのでしょ
うか?

以上宜しくお願い致します。

On Fri, 24 Jun 2005 16:43:07 +0900 (JST)
堀越 <horihorikoshi @ yahoo.co.jp> wrote:

> 堀越と申します。
> 
> おそらく環境変数の設定ができていないのではないのでしょう
> か?
> http://bitarts.jp/tech/linux/postgresql80.html
> あたりを参考にしてください。
> 
> > 宮本@大阪です。
> > 
> > postgresql-8.0.2の構築に関してご質問させてください。
> > 
> > OS:Fedora Core
> > 2にpostgresql-8.0.2をインストールしています。
> > 
> > postgresユーザーを作成し、/usr/local配下に
> > drwxr-xr-x   9 postgres postgres 4096  6月 24 15:52
> > pgsql
> > を作成し、postgresql-8.0.2.tarを解凍し
> > 
> > 1.$ ./configure
> > 2.$ make clean
> > 3.$ make all
> > 4.$ make install
> > を行い正常にインストールされました。
> > 
> > その後postgresユーザの環境変数を設定を行い
> > データベースを初期化しました。
> > $ initdb --encoding=EUC_JP --no-locale
> > 
> > Success. You can now start the database server
> > using:
> > 
> >         /usr/local/pgsql/bin/postmaster -D
> > /usr/local/pgsql/data
> > or
> >         /usr/local/pgsql/bin/pg_ctl -D
> > /usr/local/pgsql/data start
> > 
> > と表示され正常に初期化出来ています。
> > 
> > その後データベースを実行すると($ pg_ctl -w start)
> > waiting for postmaster to
> >
> start..............................................failed
> > pg_ctl: postmaster does not start
> > 
> > となってしまいます。
> > /usr/local/pgsql/data/postgresql.confは
> > silent_mode = false
> > ↓
> > silent_mode = on
> > 
> > tcpip_socket = false
> > ↓
> > tcpip_socket = on
> > にしています。
> > 
> > 色々とWebでも検索してみましたが理由が解りません。
> > 
> > 長々しい文章で申し訳ありませんがご教授の程宜しくお願い
> 致します。
> > 
> > 
> > -- 
> > 宮本 睦巳 <mustumi.miyamoto @ r8.dion.ne.jp>
> > 
> 
> __________________________________
> Save the earth
> http://pr.mail.yahoo.co.jp/ondanka/

-- 
宮本 睦巳 <mustumi.miyamoto @ r8.dion.ne.jp>




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