cent7报Job for network.service failed because...错误

cent7报Job for network.service failed because…错误

[root@localhost stu]# systemctl restart network
Job for network.service failed because the control process exited with error code. See “systemctl status network.service” and “journalctl -xe” for details.

[root@localhost stu]# journalctl -xe
Nov 30 02:30:31 localhost.localdomain network[2949]: Bringing up loopback interface: [
Nov 30 02:30:31 localhost.localdomain NetworkManager[671]: [1606732231.6090] au
Nov 30 02:30:31 localhost.localdomain network[2949]: Bringing up interface ens33: Erro
Nov 30 02:30:31 localhost.localdomain network[2949]: [FAILED]
Nov 30 02:30:31 localhost.localdomain network[2949]: RTNETLINK answers: File exists
Nov 30 02:30:31 localhost.localdomain network[2949]: RTNETLINK answers: File exists
Nov 30 02:30:31 localhost.localdomain network[2949]: RTNETLINK answers: File exists
Nov 30 02:30:31 localhost.localdomain network[2949]: RTNETLINK answers: File exists
Nov 30 02:30:31 localhost.localdomain network[2949]: RTNETLINK answers: File exists
Nov 30 02:30:31 localhost.localdomain network[2949]: RTNETLINK answers: File exists
Nov 30 02:30:31 localhost.localdomain network[2949]: RTNETLINK answers: File exists
Nov 30 02:30:31 localhost.localdomain network[2949]: RTNETLINK answers: File exists
Nov 30 02:30:31 localhost.localdomain network[2949]: RTNETLINK answers: File exists
Nov 30 02:30:31 localhost.localdomain systemd[1]: network.service: control process exit
Nov 30 02:30:31 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down ne

– Subject: Unit network.service has failed

– Defined-By: systemd

– Support: link.

– Unit network.service has failed.

– The result is failed.
Nov 30 02:30:31 localhost.localdomain systemd[1]: Unit network.service entered failed s
Nov 30 02:30:31 localhost.localdomain systemd[1]: network.service failed.
Nov 30 02:30:31 localhost.localdomain polkitd[565]: Unregistered Authentication Agent f

#####################################

解决:

[root@localhost stu]# systemctl stop NetworkManager
[root@localhost stu]# systemctl disable NetworkManager

######################################
然后:重启网卡即可
[root@localhost stu]# systemctl restart network

[root@localhost stu]# ping baidu.com

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值