[pgsql-jp: 35744] initdb不具合について

hi ro elfst25 @ hotmail.com
2005年 7月 26日 (火) 12:22:49 JST


hiroと申します。

現在、RedHatEnterpriseLinuxES4へposgresql8.0.3をインストールしているのです
が、initdbで不具合が発生して困り果てております。

事象としては、initdbの際に-Dオプションをつけると不具合が発生するというもので
す。
ログから判断するに、max_connectionsもしくはshared_buffersを事前に大きめの値
で設定した後、initdbが実行できれば(default値を選択しない)、不具合を回避で
きそうかなと。。。

どなたか、下記不具合の回避方法もしくは、max_connections、shared_buffersの設
定方法(initdb前)を教えて頂けないでしょうか?

よろしくお願い致します。

以下、initdbの際のログです。
尚、-Dオプションなし実行の際には、/var/lib/pgsql/dataへのインストールとな
り、max_connections=100、shared_buffers=1000と、下記ログの値よりも大きな値が
選択されていました。

-bash-3.00$ initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user 
"postgres".
This user must also own the server process.

The database cluster will be initialized with locale ja_JP.UTF-8.
The default database encoding has accordingly been set to UNICODE.

fixing permissions on existing directory /usr/local/pgsql/data ... ok
creating directory /usr/local/pgsql/data/global ... ok
creating directory /usr/local/pgsql/data/pg_xlog ... ok
creating directory /usr/local/pgsql/data/pg_xlog/archive_status ... ok
creating directory /usr/local/pgsql/data/pg_clog ... ok
creating directory /usr/local/pgsql/data/pg_subtrans ... ok
creating directory /usr/local/pgsql/data/base ... ok
creating directory /usr/local/pgsql/data/base/1 ... ok
creating directory /usr/local/pgsql/data/pg_tblspc ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 50
creating configuration files ... ok
creating template1 database in /usr/local/pgsql/data/base/1 ... child 
process exited with exit code 1
initdb: removing contents of data directory "/usr/local/pgsql/data"





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