CentOS network startup error, centos network error
I am using a centos virtual machine. In that environment, there is a dhcp service. It was used well, but the following error suddenly occurred: Error: determining IP information for eth0... failed; no link present. check cable? At first, I thought it was a network cable disconnection. The result is good. Later, I went to Baidu and google.
Getting a DHCP Address in a Red Hat Linux 9.0 Virtual Machine
When 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.
As a result, I tried it, but the error changed to the following error: determining IP information for eth0... failed;
Later I thought about modifying the ifcfg-eth0, the original dhcp changed to static, the entire configuration changed to static, and then restart the network, you can find it.
Centos system startup Error
This is because you didn't set the nis server, but started the nis
You can turn off the startup Item
Enter the startup item on the grub interface, and add single or 1 to enter the single user
Chkconfig -- list | grep ypbind
Check whether 345 is on. If yes, change it to off.
Chkconfig -- level 345 ypbind off
Then restart
Of course, you can skip this step if you don't change it.
Linux centos startup Error
You entered the character mode, but you are a little surprised. 4-unused. What is the mode? It is not applicable... Linux has a total of six running levels .. 6 is the reboot Mode
; You can enter the single-user mode and change you back...