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.

  • 3
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

数据库人生

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值