LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-10-2010, 03:29 AM   #1
narakaya
LQ Newbie
 
Registered: May 2010
Posts: 10

Rep: Reputation: 0
Question locale error helpppppppppppp


when i restart network im getting

Bringing up interface eth0: [ OK ]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


this warnings...

When I typed "locale -a" im getting

locale: Cannot set LC_COLLATE to default locale: No such file or directory


that warning..
when im trying "yum update" im getting warning like
Failed to set locale, defaulting to C


Im using Centos 4.8 server.. Can you help me to solve thes problem..
 
Old 06-10-2010, 04:42 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
The locale (internationalization - e.g. language) settings are missing, misconfigured or accidentally deleted.
Could you post the output of
Code:
locale -a
to check which locales are installed?

On Fedora, /usr/lib/locale and /usr/share/locale contain locale settings spread over plenty of sub-folders.
From the messages above, I'm thinking it'll be the /usr/lib/locale that's missing or incorrect. Could you check both
on your Centos too?
 
Old 06-11-2010, 12:32 AM   #3
narakaya
LQ Newbie
 
Registered: May 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by timmeke View Post
The locale (internationalization - e.g. language) settings are missing, misconfigured or accidentally deleted.
Could you post the output of
Code:
locale -a
to check which locales are installed?

On Fedora, /usr/lib/locale and /usr/share/locale contain locale settings spread over plenty of sub-folders.
From the messages above, I'm thinking it'll be the /usr/lib/locale that's missing or incorrect. Could you check both
on your Centos too?
Thankzz lot trying to help me..
Finally I done it.. i use command export LC_ALL="C".. it solve my problem..but its only for current session..i edited /etc/profile file and put export LC_ALL="C" command top of it.. now everything z going fine..

Thanzz again...
 
  


Reply

Tags
locale


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
locale: Cannot Set LC_ALL to default locale: No such file or directory. asym Linux - General 10 03-24-2013 08:35 PM
locale error twwwater Linux - Desktop 3 12-11-2008 10:28 PM
after-Installation errors. locale error. unsupported locale settings and two more gh0st Fedora 1 05-02-2008 05:06 AM
locale: Cannot set LC_ALL to default locale: Invalid argument GadgetWiz Mandriva 1 03-31-2006 11:38 PM
php helpppppppppppp! teded34 Linux - Newbie 3 03-21-2003 08:56 AM


All times are GMT -5. The time now is 05:12 PM.

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