Solaris 9 recover from /usr/lib/ld.so.1 missing
Normal
0
7.8 磅
0
2
false
false
false
MicrosoftInternetExplorer4
st1\:*{behavior:url(#ieooui) }
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:普通表格;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
Solaris 9 recover
from /usr/lib/ld.so.1 missing or damaged
Regarding the function
of lib file ld.so.1, please refer to http://docs.sun.com/app/docs/doc/819-2239/ld.so.1-1?l=zh_TW&a=view
This article
focuses on how to recover /usr/lib/ld.so.1 missing system which basis on
software raid 1 setting.
Once ld.so.1
missed or damaged, all command is unavailable system can’t login display error
code.
If you have
logined terminal try below command to restore it
#/usr/sbin/static/cp/etc/lib/ld.so.1 /usr/lib/
Else you should
boot CDROM to recover it from /etc/lib/ld.so.1 or backup.
Below is an
example shows how to recover the system miss ld.so.1 but have its backup in
/usr/lib/ld.so.1.old. The system have software raid 1 confiugred.
1.
insert
the installation CD to CDROM;
2.
press
stop+A, it appears OK> prompt;
3.
type
"boot cdrom -s", and boot to CDROM then drop you a shell;
4.
use “format”
command to see which device /usr mounting to (assume it is c1t0d0s3), then “#mount
/dev/disk/c1t0d0s3/mnt”;
5.
use
command “#cp /mnt/lib/ld.so.1.old /mnt/lib/ld.so.1” to replace this file there(assume you have a
backup of file ld.so.1.old under /usr before system down)
6.
remove
all lines related with mirror in /etc/system;
7.
change
all partitions of /etc/vfstab using single slice disk rather than md raid;
8.
use “sync,
reboot” to restart server;
9.
wait
system boot up.
10. re-mirror the system disk
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/52953/showart_452180.html
页:
[1]