Getting Error while logging into the RHEL system:
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
OR
Getting Errot while executing locale command :
$ locale
The output is...
locale: Cannot set LC_ALL to default locale: No such file or directory
LANGLANG=en_US.UTF-8LC_CTYPE="en_US.UTF-8"LC_NUMERIC="en_US.UTF-8"...
Solution for this issue:
Add the following line in "/etc/environment" file .
LC_ALL=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
To see the result, logout and login to shell again
No comments:
Post a Comment