centos6 & cannot change locale

issue is

Last login: Thu Mar 8 00:29:20 2012
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)

to resolve

check [root@Centos6x64-001 ~]# cat /etc/environment , it should be empty

root@Centos6x64-001 ~]# vi /etc/environment –> and add related line below , thats it


Posted on 27/03/2012, in OS and tagged , . Bookmark the permalink. 3 Comments.

  1. Works like a charm, thanks!

  2. works for me! thanks!

  3. It worked for me too, thanks for the tip.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: