|
昨天新安装debian系统,tasksel中选择了SQL服务,结果就默认安装上了POSTGRESQL。 我想尝试一下,可是启动它的时候遇到问题。
# /etc/init.d/postgresql start
Starting PostgreSQL database server: postmaster(FAILED)
ERROR: ERROR: PostgreSQL postmaster did not start because of an unknown reason.
PostgreSQL's init script (/etc/init.d/postgresql) attempted
to start the postmaster, however, this failed because of an unknown
reason.
This should not happen and is a serious problem. Please examine the
situation (please take a look at the log files). If you know the
reason why it failed and, then please file a bug report to Debian
(unless the reason is something obvious like a full disk).
Debian PostgreSQL
实际中用的时候是这样的错误提示:
# createdb lish_test
createdb: 无法联接到数据库 template1: 无法联接到服务器: 8\uffff÷@\\u07b7
服务器是否在本地运行并且在 Unix 域套接字
"/var/run/postgresql/.s.PGSQL.5432"上准备接受联接?
#
系统日志是这样的:
# vi /var/log/postgresql/postgres.log
FATAL: XX000: failed to initialize lc_messages to ""
LOCATION: InitializeGUCOptions, guc.c:1867
请有经验的活计明示,多谢。 |
|