LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Setting locale failed (https://www.linuxquestions.org/questions/linux-software-2/setting-locale-failed-484863/)

godzern 09-19-2006 01:45 AM

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!

Cyber_Paladin 09-20-2006 11:29 AM

What is the output of "locale -a"?
Perhaps you should generate the locale it needs...

petersk 10-30-2006 01:32 PM

I've been having the same problem lately with Perl. Were you able to solve your problem?
Kurt


All times are GMT -5. The time now is 11:56 AM.