免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1156 | 回复: 0
打印 上一主题 下一主题

Solaris 9 recover from /usr/lib/ld.so.1 missing [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-12-28 16:26 |只看该作者 |倒序浏览


  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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP