Preparing to restart the NIC. failed to use both commands [root @ localhostDesktop] # ifupeth0Activeconnectionstate: activatingActiveconnectionpath:/org/freedesktop/NetworkManager/ActiveConnection/1 ^ C ** Message: Caugh
Prepare to restart the NIC. failed to use both commands
[Root @ localhost Desktop] # ifup eth0
Active connection state: activating
Active connection path:/org/freedesktop/NetworkManager/ActiveConnection/1
^ C ** Message: Caught signal 2, shutting down...
[Root @ localhost Desktop] #/etc/init. d/network restart
Shutting down interface eth0: Device state: 3 (disconnected)
[OK]
Shutting down loopback interface: [OK]
Bringing up loopback interface: [OK]
Bringing up interface eth0: Active connection state: activating
Active connection path:/org/freedesktop/NetworkManager/ActiveConnection/2
State: activated
The two errors are the same sentence.
Active connection path:/org/freedesktop/NetworkManager/ActiveConnection/
Baidu finds a solution and gets the following answer:
After you use the network management tool to modify the IP address, the current modification does not take effect. So how can we eliminate this prompt?
In fact, the cause is that the NetworkManager management tool developed by RedHat is not synchronized with the/etc/sysconfig/network-scripts/ifcfg-ethx configuration. To eliminate this prompt, close the NetworkManager service:
[root@vdb1 dev]# chkconfig NetworkManager off ----
You only need to cancel a service.
[Root @ localhost Desktop] # service NetworkManager stop
Stopping NetworkManager daemon: [OK]
Next, proceed with the previous steps.
[Root @ localhost Desktop] #/etc/init. d/network restart
Shutting down interface eth0: [OK]
Shutting down loopback interface: [OK]
Bringing up loopback interface: [OK]
Bringing up interface eth0:
Determining IP information for eth0.... done.
[OK]