[pgsql-jp: 36941] Re: データベース復旧について

ITAGAKI Takahiro itagaki.takahiro @ lab.ntt.co.jp
2006年 3月 28日 (火) 11:51:42 JST


板垣です。

"[Fortune]Takashi Hirakawa" <hirakawa @ fortune.co.jp> wrote:

> # /etc/init.d/postgresql start
> Starting PostgreSQL database server: postmaster(FAILED)
> ERROR: There is no PostgreSQL database framework in /var/lib/postgres/data.
> Run initdb as the postgres user to create it

このエラーメッセージで検索してみると、
$PGDATA のアクセス権が無いのが原因ではないか?
という情報が見つかりました。

http://lists.debian.org/debian-user/2000/06/msg00176.html
| The only way I can think that this can be happening is if you are not running
| as root or postgres and so do not have permission to read ${PGDATA}.


また、普通に pg_ctl start で開始すると、
もう少し情報の多いエラーメッセージが取れるかもしれませんよ。

------------------------------------------------------------
板垣貴裕 <itagaki.takahiro @ lab.ntt.co.jp>





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