免费注册 查看新帖 |

Chinaunix

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

[SCO UNIX] 急救,在线等待高手指点 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-06 17:10 |只看该作者 |倒序浏览
  
当我重启 机器后出现以下错误。反复几次都这样。请高手指点。急等
PANIC:exit -cannot exec /etc/init (PID 1),
status
0x00000009 trying to dump 16284 pages to dumpdev hd(/41),
pages per..........................
16284 pages dumped

...
safe to power of...
...
press anykey to reboot...

论坛徽章:
0
2 [报告]
发表于 2005-04-07 08:52 |只看该作者

急救,在线等待高手指点

下面的*需要替换为你系统中实际的目录名(系统版本不同,名字也不同)

Boot the machine from a set of boot/root floppies.
Bring the system into System Maintenance mode.
Once at a shell prompt, mount the hard disk root filesystem:
/etc/mount /dev/hd0root /mnt
Examine the following items:
(1. Check that the following files exist; if one or both do not, proceed to step 2.
/mnt/usr/lib/libc.so.1
/mnt/etc/init
(2. Check that both of the following files exist:
/mnt/opt/K/SCO/Unix/*/usr/lib/libc.so.1
/mnt/opt/K/SCO/Unix/*/etc/init
If so, create the following symbolic links:
ln -s /opt/K/SCO/Unix/*/usr/lib/libc.so.1
/mnt/usr/lib/libc.so.1
ln -s /opt/K/SCO/Unix/*/etc/init /mnt/etc/init
(3. If one or both of the files listed in 2. above do not exist,
copy the file(s) from the root diskette and create the symbolic link(s) as above;
cd /mnt/opt/K/SCO/Unix/*/usr/lib
cp /usr/lib/libc.so.1 .
ln -s /opt/K/SCO/Unix/*/usr/lib/libc.so.1 /mnt/usr/lib/libc.so.1
cd /mnt/opt/K/SCO/Unix/*/etc
cp /etc/init .
ln -s /opt/K/SCO/Unix/*/etc/init /mnt/etc/init
(4. Check that the hard link of the files /mnt/usr/lib/libc.so.1 and
/mnt/usr/lib/ld.so.1 exists; if not, create the link:
cd /mnt/usr/lib
ln libc.so.1 ld.so.1
(5. Check that both /mnt/usr/lib/libc.so.1 and /mnt/etc/init are executable and
owned by bin; if not, make the necessary changes:
cd /mnt/usr/lib
chmod 555 libc.so.1
chown 2:2 libc.so.1
cd /mnt/etc
chmod 100 init
chown 2:2 init
(6. Unmount the hard disk and reboot.
If this does not resolve the issue, some other unforeseen corruption might be the cause,
and it is possible that running fsck(ADM) on the root filesystem will resolve the problem.
After rebooting into single user mode, run the fsck utility as follows:
fsck -ofull /dev/root
Reboot the system again to find out if the issue is finally resolved

论坛徽章:
0
3 [报告]
发表于 2005-04-07 09:28 |只看该作者

急救,在线等待高手指点

谢谢lw371 ,我试试

论坛徽章:
0
4 [报告]
发表于 2005-04-07 12:01 |只看该作者

急救,在线等待高手指点

怎样进入Maintenance mode 阿

论坛徽章:
0
5 [报告]
发表于 2005-04-07 14:25 |只看该作者

急救,在线等待高手指点

有谁知道
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP