Setting locale failed
Hi guys.
I have started getting a lot of messages like this on my debian lately:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_NO:en_US:en_GB:en",
LC_ALL = (unset),
LANG = "en_US.ISO-8859-15"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
I get them when i run apt commands, when i run the commandline postgresql client (psql), and now it even fails to start the postgresql server:
Starting PostgreSQL 8.1 database server: main* perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_NO:en_US:en_GB:en",
LC_ALL = (unset),
LANG = "en_US.ISO-8859-15"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Error: The server must be started under the locale en_US.ISO-8859-15 which does not exist any more.
failed!
I tried googling around for this problem, but cant find the right solution.
Anyone got an idea what i could do to fix this problem?
Thanks for all help!
|