centos7.6 桌面版本 网卡重启失败 记录

在华为2288H v5服务器上安装了CentOS7.6桌面版,安装完系统驱动后,发现网卡在设置ONBOOT为yes且未插网线的情况下重启失败。通过检查,当ONBOOT设为no时,网卡重启正常。在桌面环境中,若要使ONBOOT=yes生效并正常重启网卡,必须确保网线已连接。
摘要由CSDN通过智能技术生成

centos7.6  桌面版本 网卡重启失败 

安装环境华为2288H v5

安装完成系统驱动后网卡启动正常,设置IP,  ONBOOT  改为yes,(网口未插线)重启失败。

检查信息:
 

[root@localhost ~]# service network  restart
Restarting network (via systemctl):  Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
                                                           [FAILED]




[root@localhost ~]# 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 Thu 2021-04-08 10:51:28 CST; 42s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 30853 ExecStop=/etc/rc.d/init.d/network stop (code=exited, status=0/SUCCESS)
  Process: 645 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)

Apr 08 10:51:28 localhost.localdomain network[645]: RTNETLINK answers: File exists
Apr 08 10:51:28 localhost.localdomain network[645]: RTNETLINK answers: File exists
Apr 08 10:51:28 localhost.localdomain network[645]: RTNETLINK answers: File exists
Apr 08 10:51:28 localhost.localdomain network[645]: RTNETLINK answers: File exists
Apr 08 10:51:28 loc
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值