小编def*_*thd的帖子

PostgreSQL 未安装在 Ubuntu 11.04 上

在 Ubuntu 11.04 服务器的新副本上,我尝试通过apt-get install postgresql. 但在安装日志的末尾我看到:

Error: could not create default cluster. Please create it manually with

  pg_createcluster 8.4 main --start
Run Code Online (Sandbox Code Playgroud)

当我运行这个命令时,我看到了这条消息:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Error: The locale requested by the environment is invalid.
Run Code Online (Sandbox Code Playgroud)

并且没有启动 PostgreSQL 服务器 :(

我需要做什么才能对此感到高兴?

postgresql ubuntu ubuntu-11.04

3
推荐指数
1
解决办法
4021
查看次数

标签 统计

postgresql ×1

ubuntu ×1

ubuntu-11.04 ×1