[pgsql-jp: 35966] initdbが失敗する

KimuraRay ray @ mtb.biglobe.ne.jp
2005年 9月 7日 (水) 19:12:03 JST


木村です。

RedHatEnterpriseLinuxES3、postgreSQL7.4.8(ソースインストール)で、
initdbが失敗します。

[postgres @ localhost pgsql]$ initdb
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.eucJP.

creating directory /home/pgsql/data... ok
creating directory /home/pgsql/data/base... ok
creating directory /home/pgsql/data/global... ok
creating directory /home/pgsql/data/pg_xlog... ok
creating directory /home/pgsql/data/pg_clog... ok
selecting default max_connections... 100
selecting default shared_buffers... 1000
creating configuration files... ok
creating template1 database in /home/pgsql/data/base/1... ok
initializing pg_shadow... /usr/local/pgsql/bin/initdb: line 664: cannot create temp file for here document: 許可がありません

initdb: failed

initdbに--debugオプションを実行した場合もデバックメッセージは特になく、「initializing pg_shadow... 〜」のメッセージのみ出力されます。

initdbの664行目以降にあるコマンドをコンソールで実行してみると、特にエラーも出力されず、
正常に終了しているようです。

RedHatEnterpriseLinuxES3自体を最小構成でインストールしているため、不足しているパッケージが
あるのでしょうか。
(configureの際に判明したパッケージreadline、zlibはインストールしました。)

ご指導の程、宜しくお願いします。

---------------------
Kimura Ray ray @ mtb.biglobe.ne.jp



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