CentOS網路啟動錯誤,centos網路錯誤
我所使用 的是centos虛擬機器,在那個環境下有dhcp服務,本來用的好好的,可是突然出現了如下錯誤:錯誤:determining IP information for eth0 ... failed; no link present . Check cable?開始還以為是網線掉了,結果好的。後來去網上百度,google了一下,結果出現的都是
Getting a DHCP Address in a Red Hat Linux 9.0 Virtual MachineWhen a Red Hat Linux 9.0 guest operating system tries to get a DHCP address, the attempt may fail with an error message that states the link is down. On ESX Server, this happens only if you are using the vlance driver for your network connection.To work around this problem, become root (su -) and use a text editor to edit the following files in the guest operating system. If only one of these files exist, make the change for that file only./etc/sysconfig/network-scripts/ifcfg-eth[n]/etc/sysconfig/networking/devices/ifcfg-eth[n]In both cases, [n] is the number of the Ethernet adapter — for example, eth0.Add the following section to each of these two files:check_link_down () {return 1;}Then run the command ifup eth[n] (where [n] is the number of the Ethernet adapter) or restart the guest operating system.
結果我試了一下還是不行,就是出錯改變了變成了如下錯誤determining IP information for eth0 ... failed;
後來想了一下修改ifcfg-eth0,把原來的dhcp改為static,整個配置改成靜態,然後再重啟網路,就發現可以了。
centos系統啟動報錯
這個是因為你沒有設定nis server,但是啟動的時候啟動了nis
可以進單使用者把啟動項關掉
在grub介面進啟動項,加single或者1進入單使用者
chkconfig --list|grep ypbind
看下345是不是on,如果是的話改成off
chkconfig --level 345 ypbind off
然後重啟
當然如果你不改,耐心等待的話應該也能跳過這個的。
linux centos 啟動錯誤
你是進入了字元模式,不過你的有點奇怪啊 4 -unused 這是什麼模式,,不適用模式。。。linux一共有6個運行級。。6 是reboot模式
;;你可以進入單一使用者模式,將你修改在改回去。。。