[pgsql-jp: 29123] Re: PostgreSQL7.3.2インストール
sugita @ sra.co.jp
sugita @ sra.co.jp
2003年 2月 18日 (火) 21:58:43 JST
杉田です。
From: "Nakamura Kazusi" <kazzz4 @ hotmail.com>
Subject: [pgsql-jp: 29122] PostgreSQL7.3.2インストール
Date: Tue, 18 Feb 2003 21:30:39 +0900
;;; よろしくおねがいします。中村と申します。
;;; PostgreSQLを始めたいと思い、PostgreSQL7.3.2をRedHat Linuxへ
;;; インストールしましたが、データベースの初期化(initdb)からうまくいってないよう
;;; な気がします。
;;;
;;; bash-2.05$ 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.
;;; This locale setting will prevent the use of indexes for pattern matching
;;; operations. If that is a concern, rerun initdb with the collation order
;;; set to "C". For more information see the Administrator's Guide.
;;;
;;; creating directory /usr/local/pgsql/data... ok
;;; creating directory /usr/local/pgsql/data/base... 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_clog... ok
;;; creating template1 database in /usr/local/pgsql/data/base/1... Failed to
;;; initialize lc_messages to ''
...
;;; となり、起動できません。どなたかヒントをいただけませんでしょうか?
次のようにしてデータベースクラスタを作成するとどうでしょうか?
$ LANG=C initdb --encoding=EUC_JP --no-locale
Kenji Sugita
pgsql-jp メーリングリストの案内