I am using centos7 (theoretically this method can be used to solve the problem only for centos7 and Redhat7) Note: This method is only applicable to Redhat7/Centos7 and above. Cause of the problem:When tuning hbase, I checked the information and found that I could upgrade the hadoop local library to optimize hbase. When upgrading the hadoop local library, it was found that the glibc that the hadoop local library depends on and the glibc that the system depends on were inconsistent, so glibc was upgraded. After querying the corresponding information and completing the upgrade, it was found that the server was abnormal (unable to boot). Solution: 1. Use the system's own rpm package to overwrite the installed program. Solution: 1. Download the iso of the system version installation CD 3. After entering rescue mode 4. Enter the system directory and delete the glibc after the previous upgrade # cd /mnt/sysimage/lib64 //Enter the lib64 directory of the system to be repaired# rm -rf *2.18* //This operation will delete all files related to the 2.18 version of glibc# cd / //Return to the directory of the rescue system 5. Mount the iso image to use the rpm package (this step is successful in my case, so you don’t need to mount it manually. You can use the command df -h to check if the CD is mounted successfully) # mkdir media //Create directory # mount /dev/cdrom /media //Mount the CD 6. Install the rpm package # cd /media/Packages //Enter the rpm package directory # rpm -ivh --force --root=/mnt/sysimage glibc-* //Install rpm packages related to glibc 7. Restart the computer, the system will be automatically repaired and restarted. At this time, the system should be able to return to normal. This is the end of this article about the solution to the system abnormality (unable to boot) caused by upgrading glibc in Centos7. For more related content about system abnormality caused by upgrading glibc in Centos7, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Simply master the use of horizontal line annotations and code comments in HTML
>>: A brief introduction to the general process of web front-end web development
Table of contents 1. The origin of tomcat 1. Tomc...
Preface Anyone who has learned JavaScript must be...
There are two ways to run .sh files in Linux syst...
A colleague once told me to use a temporary table...
Table of contents Preface What are constructible ...
1. Background In our daily website maintenance, w...
This article is a simple calculator written using...
1. Dashed box when cancel button is pressed <br...
Table of contents Transaction Isolation Level Wha...
The following is some basic sql knowledge I have ...
1. Document flow and floating 1. What is document...
Simple XHTML web form in web design 5. Technique ...
This article example shares the specific code of ...
Table of contents Preface condition Install Docke...
Transactional Characteristics 1. Atomicity: After...