[pgsql-jp: 35575] postgresql-8.0.2のインストールについて。
宮本 睦巳
mustumi.miyamoto @ r8.dion.ne.jp
2005年 6月 24日 (金) 16:25:05 JST
宮本@大阪です。
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>
pgsql-jp メーリングリストの案内