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

堀越 horihorikoshi @ yahoo.co.jp
2005年 6月 24日 (金) 16:43:07 JST


堀越と申します。

おそらく環境変数の設定ができていないのではないのでしょう
か?
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/




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