LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-19-2006, 01:45 AM   #1
godzern
LQ Newbie
 
Registered: Mar 2005
Posts: 11

Rep: Reputation: 0
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!
 
Old 09-20-2006, 11:29 AM   #2
Cyber_Paladin
LQ Newbie
 
Registered: Mar 2006
Location: Hong Kong
Distribution: Debian
Posts: 24

Rep: Reputation: 15
What is the output of "locale -a"?
Perhaps you should generate the locale it needs...
 
Old 10-30-2006, 01:32 PM   #3
petersk
Member
 
Registered: Aug 2005
Distribution: Suse
Posts: 53

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the locale by setting the system default locale letdoit Slackware 6 08-18-2011 03:34 AM
DEBIAN 3.1 sid,unstable locale-gen failed !! tclwp Debian 1 05-11-2006 08:37 PM
"perl: warning: Setting locale failed." System wide problem Darek84CJ Debian 3 01-25-2006 05:22 PM
Setting locale failed linx win Debian 1 04-02-2005 09:46 AM
Setting locale failed?? calculon Linux - General 1 12-04-2001 01:01 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration