html tool

2018年6月6日星期三

linux 网卡重启遇到的问题



问题环境:
cenos 7.3 ,真实机;
设置新的网卡配置后,重启网卡驱动,得到如下错误。重启操作系统可以使配置生效,记录一下问题。
go了相关问题
方法一:
加mac;--无效果

方法二:
 systemctl stop NetworkManager
 systemctl disable NetworkManager
 systemctl enable NetworkManager-wait-online.service    --无效果






log


Jun  6 19:11:30 localhost network: RTNETLINK answers: File exists
Jun  6 19:11:30 localhost network: RTNETLINK answers: File exists
Jun  6 19:11:30 localhost systemd: network.service: control process exited, code=exited status=1
Jun  6 19:11:30 localhost systemd: Failed to start LSB: Bring up/down networking.
Jun  6 19:11:30 localhost systemd: Unit network.service entered failed state.
Jun  6 19:11:30 localhost systemd: network.service failed.

没有评论:

发表评论