Red Hat Enterprise Edition cannot set problem

Source: Internet
Author: User
Tags locale

System environment:

[Root@host conf]# More/etc/issue

Red Hat Enterprise Linux Server Release 5 (Tikanga)

Kernel \ r \m

Problem phenomenon:

[root@ha]# Locale

Locale:cannot set LC_CTYPE to default locale:no such file or directory

Locale:cannot set Lc_messages to default locale:no such file or directory

Locale:cannot set Lc_all to default locale:no such file or directory

Lang=en_us. UTF-8

Lc_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

Enter the locale command, appear as shown above, at the same time, the system text file encoding for no reason to change, what reasons?

Solve:

This problem occurs in the Redhat system, in the final analysis, because the system is missing the corresponding GLIBC package caused, this problem is due to the lack of glibc-common, can be viewed at this time the system is not/usr/lib/locale/ Locale-archive the file.

According to the system version, install the Glibc-commo package to solve the problem, I installed the version is: glibc-common-2.5-12.i386.rpm.

After the installation is complete, the problem is solved, after locale, the display is normal.

This article is from the "Technology Achievement Dream" blog, please be sure to keep this source http://ixdba.blog.51cto.com/2895551/526447

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.