2009-06-04

来自airships@yeah.net的邮件

我的系统启动不了了

mounting root from ufs:/dev/ad0s1a
/etc/rc.conf: 16:Syntax error:Unterminated quoted string
Enter full pathname of shell or RETURN for /bin/sh:

出现这个提示后就不继续启动了.然后我按ENTER后出现
#
我该怎么修复我的系统啊
哪位大虾帮帮忙

Enter full pathname of shell or RETURN for /bin/sh

There is a syntax error in your /etc/rc.conf. you , I think, are in the single user mode. so, try this way,
#fsck -p / && mount -uw / ( you can read and write /etc/rc.conf)
#fsck -p /usr && mount /usr (mount /usr because you need /usr/bin/vi)
edit that file, find the problem, correct it and save it. reboot.

or if you are in the multiuser mode, just correct the file and reboot.

Hope this can help you.


======================

Enter full pathname of shell or RETURN for /bin/sh


enter
fsck -y
reboot
 
====================
Enter full pathname of shell or RETURN for /bin/sh

晕,我已经解决了,谢谢两位帮忙
哈哈,启动不了是因为我的RC.CONF文件在启动之前我改动了
加了一条语句snmp_enable="yes"
我注销了就可以了.
然后我把SNMP的启动用SH脚本做的/etc/rc.d/snmpd.sh
 

2009-06-02

资料:近年来全球重大空难一览

  2009

  61,法航空客A330载有228人的客机失踪。

  520,印尼一架载有112人的军用运输机在东爪哇茉莉芬坠毁,98人死亡,15人生还。

  212,一架美国通勤飞机在纽约州布法罗附近坠毁,机上49人和地上1人丧生。

  2008

  820,一架西班牙航空公司的麦道-82飞机在马德里巴拉哈斯国际机场冲出跑道后,154人死亡。

  2007

  717,一架巴西塔姆航空公司的空客A320在圣保罗降落时坠毁,机上有187人,最后造成199人死亡。

  2006

  929,一架巴西戈尔航空公司的波音737坠入了亚马逊森林,机上155人全部死亡。

  822,一架俄罗斯图-154飞机在东乌克兰坠毁,170人死亡。

  2005

  95,一架曼达拉航空公司的波音737—200在印尼苏门答腊岛坠毁,150人死亡。

  816,哥伦比亚西加勒比航空公司一架载有152名乘客和6名机组人员的麦道客机在委内瑞拉西部山区坠毁,160人死亡,包括152名法国人。

 

博客归档