免费注册 查看新帖 |

Chinaunix

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

紧急问题!!!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-05-08 11:28 |只看该作者 |倒序浏览
紧急问题,操作系统启动不成功,报以下错误,我现在知道错误所在了,可是如何修复呀?主要问题是做完系统镜像后,vfstab文件也都改成md的了,后来在调试文件系统时,又将以前备份的vfstab文件改成现在可用的vfstab文件,将改成md文件系统vfstab改名了,现在就启动不了,只能进入单用户模式,且vfstab等文件不能编辑,有什么办法吗?\r\n[root@test]# ls -al vf*\r\n-rw-r--r--   1 root     root        1624 Apr 29 23:13 vfstab\r\n-rw-r--r--   1 root     root        1549 Apr 24 09:09 vfstab.bak\r\n[root@test]# mv vfstab vfstab1\r\nmv: cannot rename vfstab to vfstab1: Read-only file system\r\n\r\nRebooting with command: boot\r\nBoot device: /pci@8,600000/SUNW,qlc@2/fp@0,0/disk@w21000014c3e84a61,0:a  File and args: \r\nSunOS Release 5.10 Version Generic_118822-25 64-bit\r\nCopyright 1983-2005 Sun Microsystems, Inc.  All rights reserved.\r\nUse is subject to license terms.\r\nSUNW,pci-gem0: Using Gigabit SERDES Interface\r\nSUNW,pci-gem0: Auto-Negotiated 1000 Mbps Full-Duplex Link Up\r\nHostname: test\r\n[ system/sysevent:default failed repeatedly (see \'svcs -x\' for details) ]\r\nRequesting System Maintenance Mode\r\n(See /lib/svc/share/README for more information.)\r\nConsole login service(s) cannot run\r\n\r\nRoot password for system maintenance (control-d to bypass): checking ufs filesystems\r\n/dev/rdsk/c1t0d0s4: is logging.\r\n/dev/rdsk/c1t0d0s6: is logging.\r\ncron aborted: cannot create fifo queue\r\ncron aborted: cannot create fifo queue\r\ncron aborted: cannot create fifo queue\r\nMay  8 09:53:08 svc.startd[7]: instance svc:/system/sac:default exited with status 16\r\ncron aborted: cannot create fifo queue\r\nMay  8 09:53:08 svc.startd[7]: instance svc:/system/sac:default exited with status 16\r\nMay  8 09:53:08 svc.startd[7]: instance svc:/system/sac:default exited with status 16\r\nMay  8 09:53:08 svc.startd[7]: instance svc:/system/sac:default exited with status 16\r\nMay  8 09:53:08 svc.startd[7]: instance svc:/system/sac:default exited with status 16\r\ncron aborted: cannot create fifo queue\r\nMay  8 09:53:08 svc.startd[7]: instance svc:/system/sac:default exited with status 16\r\nMay  8 09:53:08 svc.startd[7]: instance svc:/system/sac:default exited with status 16\r\nMay  8 09:53:08 svc.startd[7]: instance svc:/system/sac:default exited with status 16\r\ncron aborted: cannot create fifo queue\r\nMay  8 09:53:08 svc.startd[7]: instance svc:/system/sac:default exited with status 16\r\n[ system/sac:default failed repeatedly (see \'svcs -x\' for details) ]\r\ncron aborted: cannot create fifo queue\r\ncron aborted: cannot create fifo queue\r\ncron aborted: cannot create fifo queue\r\n[ system/cron:default failed repeatedly (see \'svcs -x\' for details) ]\r\nMay  8 09:53:10 svc.startd[7]: Could not update \"running\" snapshot for refresh of svc:/system/filesystem/autofs:default.\r\nMay  8 09:53:14 test ntpdate[532]: only 1 multicast addr can be used, exiting\r\nMay  8 09:53:14 test sendmail[498]: My unqualified host name (test) unknown; sleeping for retry\r\nMay  8 09:53:14 test sendmail[499]: My unqualified host name (test) unknown; sleeping for retry\r\nMay  8 09:54:14 test sendmail[499]: unable to qualify my own domain name (test) -- using short name\r\nMay  8 09:54:14 test sendmail[498]: unable to qualify my own domain name (test) -- using short name\r\nsupLogin incorrect\r\n\r\n[root@test]# svcs -x\r\nsvc:/application/print/server:default (LP print server)\r\nState: disabled since Tue May 08 09:52:52 2007\r\nReason: Disabled by an administrator.\r\n   See: http://sun.com/msg/SMF-8000-05\r\n   See: lpsched(1M)\r\nImpact: 2 dependent services are not running.  (Use -v for list.)\r\n\r\nsvc:/system/sysevent:default (system event notification)\r\nState: maintenance since Tue May 08 09:53:06 2007\r\nReason: Restarting too quickly.\r\n   See: http://sun.com/msg/SMF-8000-L5\r\n   See: syseventd(1M)\r\n   See: /etc/svc/volatile/system-sysevent:default.log\r\nImpact: 1 dependent service is not running.  (Use -v for list.)\r\n\r\nsvc:/system/console-login:default (Console login)\r\nState: offline since Tue May 08 09:52:51 2007\r\nReason: Unknown.\r\n   See: http://sun.com/msg/SMF-8000-AR\r\n   See: ttymon(1M)\r\nImpact: This service is not running.\r\n\r\nsvc:/system/sac:default (SAF service access controller)\r\nState: maintenance since Tue May 08 09:53:08 2007\r\nReason: Restarting too quickly.\r\n   See: http://sun.com/msg/SMF-8000-L5\r\n   See: sac(1M)\r\n   See: /etc/svc/volatile/system-sac:default.log\r\nImpact: This service is not running.\r\n\r\nsvc:/system/cron:default (clock daemon (cron))\r\nState: maintenance since Tue May 08 09:53:09 2007\r\nReason: Restarting too quickly.\r\n   See: http://sun.com/msg/SMF-8000-L5\r\n   See: cron(1M)\r\n   See: crontab(1)\r\n   See: /etc/svc/volatile/system-cron:default.log\r\nImpact: This service is not running.

论坛徽章:
0
2 [报告]
发表于 2007-05-08 11:37 |只看该作者
mv: cannot rename vfstab to vfstab1: Read-only file system
\r\nTry mount -o remote,rw /\r\nIf it doesn\'t work, try\r\ndf -k to find out which device is mounted on / and issue: mount -o remote,rw the_device_name

论坛徽章:
0
3 [报告]
发表于 2007-05-08 11:59 |只看该作者
我刚才按照这个方法做了一下:\r\n镜像盘的boot引导: \r\n①启动信息 \r\n#installboot /usr/platform/`uname –i`/lib/fs/ufs/bootblk /dev/rdsk/c0t1d0s0 \r\n(本系统是solaris10,做这步时提示如下,不知是否完毕:\r\n[root@test]# installboot /usr/platform/ \'uname -i\' /lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s0\r\nUsage: installboot bootblk raw-device\r\n[root@test]# installboot /usr/platform/\'uname -i\' /lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s0\r\nUsage: installboot bootblk raw-device\r\n[root@test]# installboot /usr/platform/\'uname -i\'/lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s0\r\n/usr/platform/uname -i/lib/fs/ufs/bootblk: File not found )\r\n\r\n②修改EEPROM \r\n推荐进入OK模式修改 \r\n#ls –l /dev/dsk/c0t0d0s0 **获得启动参数 \r\nlrwxrwxrwx 1 root root 41 Jun 14 11:08 /dev/dsk/c0t0d0s0 -> ../../devices/pci@1f,4000/scsi@3/sd@0,0:a \r\n#init 0 \r\nok devalias (察看启动设备) \r\nok nvalias rootdisk /pci@1f,4000/scsi@3/disk@0,0 \r\nok nvalias mirrdisk /pci@1f,4000/scsi@3/disk@1,0 \r\nok setenv boot-device rootdisk mirrdisk disk:a \r\n③测试 \r\nok boot rootdisk **系统正常启动,找到启动文件 \r\nok boot mirrdisk **系统正常启动,找到启动文件 \r\n现在系统的/目前成了\r\nFilesystem            kbytes    used   avail capacity  Mounted on\r\n/pseudo/md@0:0,0,blk 10332220 1018434 9210464    10%    /

论坛徽章:
0
4 [报告]
发表于 2007-05-08 12:04 |只看该作者
原帖由 briangao 于 2007-5-8 11:37 发表\r\n\r\nTry mount -o remote,rw /\r\nIf it doesn\'t work, try\r\ndf -k to find out which device is mounted on / and issue: mount -o remote,rw the_device_name
\r\n\r\n谢谢你的解答。\r\nvfstab文件肯定是在/目录下,如果mount -o /的话,系统会不会启不来呀,也就是说连单用户模式都进不了,我是第一次做,谢谢你的继续答复。\r\n\r\n现在的问题就是要如何将vfstab文件中的/dev/dsk/c0t0d0s* 改为/dev/md/dsk/d*
jiefangxiaosa 该用户已被删除
5 [报告]
发表于 2007-05-08 19:47 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
jiefangxiaosa 该用户已被删除
6 [报告]
发表于 2007-05-08 19:48 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
7 [报告]
发表于 2007-05-10 10:07 |只看该作者
原帖由 jiefangxiaosa 于 2007-5-8 19:48 发表\r\n当然,前提是有网络引导. 试试看boot cdrom -s后修复呢?
\r\n\r\n试着boot cdrom -s了,可是提示需要输入filename,输入什么呢,试着输入vfstab,提示not found this file,输入其它也是,下一步该如何呢

论坛徽章:
0
8 [报告]
发表于 2007-05-10 16:36 |只看该作者
mount -o remote,rw /\r\n无法做这步,总是提示/ busy

论坛徽章:
0
9 [报告]
发表于 2007-05-10 16:57 |只看该作者
原帖由 unix-xyz 于 2007-5-10 10:07 发表\r\n\r\n\r\n试着boot cdrom -s了,可是提示需要输入filename,输入什么呢,试着输入vfstab,提示not found this file,输入其它也是,下一步该如何呢
\r\n\r\n没记错的话,应该输入unix
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP