centos 7.4 /etc/sysconfig/network-scripts/ifup-eth: Error, some other host already uses address

centos 7.4 /etc/sysconfig/network-scripts/ifup-eth: Error, some other host (08:00:27:E1:C3:09) already uses address xx.xx.xx.xx.

# systemctl status network.service
● network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2017-12-01 09:34:57 CST; 23min ago
Docs: man:systemd-sysv-generator(8)
Process: 6357 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)

Dec 01 09:34:57 oradb network[6357]: [ OK ]
Dec 01 09:34:57 oradb network[6357]: ERROR : [/etc/sysconfig/network-scripts/ifup-eth] Error, some o….100.
Dec 01 09:34:57 oradb network[6357]: [FAILED]
Dec 01 09:34:57 oradb systemd[1]: network.service: control process exited, code=exited status=1
Dec 01 09:34:57 oradb systemd[1]: Failed to start LSB: Bring up/down networking.
Dec 01 09:34:57 oradb systemd[1]: Unit network.service entered failed state.
Dec 01 09:34:57 oradb systemd[1]: network.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

# tail -f /var/log/messages
Dec 1 09:34:51 oradb systemd: Configuration file /etc/systemd/system/oracle-tfa.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Dec 1 09:34:51 oradb systemd: Configuration file /etc/systemd/system/oracle-tfa.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
Dec 1 09:34:57 oradb systemd: Starting LSB: Bring up/down networking…
Dec 1 09:34:57 oradb network: [ OK ]
Dec 1 09:34:57 oradb network: ERROR : [/etc/sysconfig/network-scripts/ifup-eth] Error, some other host (08:00:27:E1:C3:09) already uses address 192.168.56.100.
Dec 1 09:34:57 oradb /etc/sysconfig/network-scripts/ifup-eth: Error, some other host (08:00:27:E1:C3:09) already uses address 192.168.56.100.
Dec 1 09:34:57 oradb network: [FAILED]
Dec 1 09:34:57 oradb systemd: network.service: control process exited, code=exited status=1
Dec 1 09:34:57 oradb systemd: Failed to start LSB: Bring up/down networking.
Dec 1 09:34:57 oradb systemd: Unit network.service entered failed state.
Dec 1 09:34:57 oradb systemd: network.service failed.

修改
# vi /etc/sysconfig/network-scripts/ifup-eth

屏蔽掉下面5行

#if [ $? = 1 ]; then
#    ARPINGMAC=$(echo $ARPING |  sed -ne 's/.*\[\(.*\)\].*/\1/p')
#    net_log $"Error, some other host ($ARPINGMAC) already uses address ${ipaddr[$idx]}."
#    exit 1
#fi

# systemctl status network.service
● network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
Active: active (exited) since Fri 2017-12-01 09:58:08 CST; 27min ago
Docs: man:systemd-sysv-generator(8)
Process: 10427 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=0/SUCCESS)

Dec 01 09:58:07 oradb systemd[1]: Starting LSB: Bring up/down networking…
Dec 01 09:58:07 oradb network[10427]: Bringing up loopback interface: [ OK ]
Dec 01 09:58:08 oradb network[10427]: Bringing up interface enp0s3: [ OK ]
Dec 01 09:58:08 oradb systemd[1]: Started LSB: Bring up/down networking.

转载于:https://www.cnblogs.com/ctypyb2002/p/9793098.html

你可能感兴趣的:(centos 7.4 /etc/sysconfig/network-scripts/ifup-eth: Error, some other host already uses address)