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

Katsuhiko Okano k_okano @ po.ntts.co.jp
2005年 7月 26日 (火) 12:35:51 JST


岡野と申します。

私もinitdb時に以下のエラーが表示されたことがあり、
そのときはHDDの容量不足が原因でした。
-Dで指定しているディレクトリに空き容量がすくないのではないですか?

------- Reply Message
In message <BAY103-F394024A8252A9DB18C9971A0CD0 @ phx.gbl>
Date: Tue, 26 Jul 2005 12:22:49 +0900
   "[pgsql-jp: 35744]initdb不具合について"
   ""hi ro"" wrote:

> 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"
> 
> 



----------------------------------------
Katsuhiko Okano
k_okano at po.ntts.co.jp
NTT Sofrware Corp. (division "NBRO-PT4")



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