Let's start with a simple understanding of what is libc.so.6. 650) this.width=650; "src=" Http://img.baidu.com/hi/babycat/C_0006.gif "alt=" c_0006.gif "/>
Libc.so.6 is a soft link to glibc
Ll/lib64/libc.so.6
lrwxrwxrwx 1 root root 2017/lib64/libc.so.6-libc-2.5.so
glibc is the GNU published LIBC library, the C runtime library. GLIBC is the lowest-level API in a Linux system, and almost any other runtime relies on glibc, so most operations commands are missing.
If it was accidentally deleted/lib64/ Libc.so.6, most of the system commands will not execute, SSH login system is not successful, will only endlessly prompt the following error:
error while loading shared libraries: Libc.so.6:cannot open Shared object file:no such file or directory
In this case, most of the commands can not be executed, even if the shutdown restart will not enter the system 650) this.width=650; "src=" Http://img.baidu.com/hi/bobo/B_0013.gif "alt=" b_0013. GIF "/> what shall we do then?" I do not know if you remember when we installed a rescue interface, then this rescue interface has been re-boarded the stage, for our use. The next step is to demonstrate how to recover our system through rescue. 650) this.width=650; "src=" Http://img.baidu.com/hi/ldw/w_0024.gif "alt=" W_0024.gif "/>
(1) Reboot of the virtual machine, in the instant to enter the system immediately pressing the ESC key, entered the boot interface, if slowed's small partners need to practice a few more times to go in Oh! 650) this.width=650; "src=" Http://img.baidu.com/hi/tsj/t_0015.gif "alt=" T_0015.gif "/>
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/03/D4/wKiom1mhNJrjgy8YAAAPA-4PNx4071.png "title=" Picture 1.png "alt=" Wkiom1mhnjrjgy8yaaapa-4pnx4071.png "/>
(2) Select the 3rd CD-ROM drive, enter rescue mode, and then select the 3rd entry to proceed. 650) this.width=650; "src=" Http://img.baidu.com/hi/babycat/C_0013.gif "alt=" C_0013.gif "/>
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/A2/84/wKioL1mhNKXgJ1YyAAWMJ4rLXQI103.png "title=" Picture 2.png "alt=" Wkiol1mhnkxgj1yyaawmj4rlxqi103.png "/>
(3) The middle of the selection of the language to choose the default options, where you can choose to skip the network card settings Oh, but you want to set the self can also set OH. 650) this.width=650; "src=" Http://img.baidu.com/hi/bobo/B_0029.gif "alt=" B_0029.gif "/>
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/A2/84/wKioL1mhNL-Sx340AAAN5ZDa600266.png "title=" Picture 3.png "alt=" Wkiol1mhnl-sx340aaan5zda600266.png "/>
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M00/A2/84/wKioL1mhNNfxmIVQAAAl-DCDxY0534.png "title=" Picture 4.png "alt=" Wkiol1mhnnfxmivqaaal-dcdxy0534.png "/>
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/03/D4/wKiom1mhNQ3RCva2AAAQxwtyGqI320.png "title=" Picture 5.png "alt=" Wkiom1mhnq3rcva2aaaqxwtygqi320.png "/>
(4) Select the 1th entry into the command line mode and enter the following at the command line:
cd/mnt/sysimage/
Cp/lib64/libc.so.6/mnt/sysimage/lib64
Reboot
So easy! back to completion, normal access to the system, the small partners are not gray often Kai Sen. 650) this.width=650; "src=" Http://img.baidu.com/hi/ldw/w_0001.gif "alt=" W_0001.gif "/>
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M02/03/D4/wKiom1mhNWeT4kjNAAAQuERS_V4896.png "title=" Picture 6.png "alt=" Wkiom1mhnwet4kjnaaaquers_v4896.png "/>
How to save libc.so.6 by mis-deletion in Linux