Locale: Cannot set issue

  

System environment:

[root@host conf]# more /etc/issue

Red Hat Enterprise Linux Server release 5 (Tikanga)Kernel \ on An \\m problem phenomenon: [root@ha]# localelocale: Cannot set LC_CTYPE to default locale: No such file or directorylocale: Cannot set LC_MESSAGES to default locale: No such file or directorylocale: Cannot set LC_ALL to default locale: No such file Or directoryLANG=en_US.UTF-8LC_CTYPE="en_US.UTF-8"LC_NUMERIC="en_US.UTF-8"LC_TIME="en_US.UTF-8"LC_COLLATE="en_US.UTF-8"LC_MONETARY=" ;en_US.UTF-8"LC_MESSAGES="en_US.UTF-8"LC_PAPER="en_US.UTF-8"LC_NAME="en_US.UTF-8"LC_ADDRESS="en_US.UTF-8"LC_TELEPHONE=" ;en_US.UTF-8"LC_MEASUREMENT="en_US.UTF-8"LC_IDENTIFICATION="en_US.UTF-8"LC_ALL=en_US.UTF-8 After entering the locale command, the above phenomenon occurs, and the text in the system The encoding of the file changes without reason, what is the reason? Solution:

This problem occurs under the redhat system. In the final analysis, it is caused by the lack of the corresponding glibc package. This problem is caused by the lack of glibc-common. You can view the system at this time without /usr/. Lib/locale/locale-archive file. According to the version of the system, installing the glibc-commo package will solve the problem. The version I installed is: glibc-common-2.5-12.i386.rpm. After the installation is complete, the problem is solved, after the locale, the display is normal.
zh-CN"],null,[0.93321818],zh-CN"]]]

Copyright © Windows knowledge All Rights Reserved