PostgreSQL didn't install on Ubuntu 11.04

Posted by peanut on Server Fault See other posts from Server Fault or by peanut
Published on 2011-09-05T13:36:04Z Indexed on 2012/04/08 11:33 UTC
Read the original article Hit count: 389

Filed under:
|
|

On a new copy of Ubuntu 11.04 server I am trying to install PostgreSQL server by apt-get install postgresql. But in the end of installation log I saw:

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

  pg_createcluster 8.4 main --start

When I ran this command I saw this message:

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.

And no PostgreSQL server started :(

What I need to do to become happy on this?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about postgresql