- 论坛徽章:
- 0
|
安装时,make,make install都OK。可是按照INSTALL文件说的:
/opt/pgsql/bin/initdb -D /opt/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 zh_CN.GBK.
initdb: could not find suitable encoding for locale "zh_CN.GBK"
Rerun initdb with the -E option.
Try "initdb --help" for more information.
然后,我运行:postmaster -D /opt/pgsql/data/
竟然提示:
postmaster cannot access the server configuration file "/opt/pgsql/data/postgresql.conf": 没有那个文件或目录
,晕了阿,help我一下吧。谢谢 |
|