首页 >运维 >CentOS > 正文

centos7系统启动网络服务失败怎么办

原创2020-03-26 11:47:580392
第11期线上培训班

问题描述:

虚拟机中的eth33网卡没有启动,执行systemctl status network.service启动报错。

报错信息如下:

[root@zeppelin network-scripts]# 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 2019-06-21 03:22:10 PDT; 27s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 5948 ExecStop=/etc/rc.d/init.d/network stop (code=exited, status=0/SUCCESS)
  Process: 6074 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
Jun 21 03:22:09 zeppelin.zetyun.com systemd[1]: Starting LSB: Bring up/down networking...
Jun 21 03:22:10 zeppelin.zetyun.com network[6074]: Bringing up loopback interface:  [  OK  ]
Jun 21 03:22:10 zeppelin.zetyun.com network[6074]: Bringing up interface ens33:  Error: Connection activation failed: No suitable device found for this connection.
Jun 21 03:22:10 zeppelin.zetyun.com network[6074]: [FAILED]
Jun 21 03:22:10 zeppelin.zetyun.com systemd[1]: network.service: control process exited, code=exited status=1
Jun 21 03:22:10 zeppelin.zetyun.com systemd[1]: Failed to start LSB: Bring up/down networking.
Jun 21 03:22:10 zeppelin.zetyun.com systemd[1]: Unit network.service entered failed state.
Jun 21 03:22:10 zeppelin.zetyun.com systemd[1]: network.service failed.

(推荐教程:centos教程

解决办法:

与系统自带的NetworkManager这个管理套件有关系,关闭并重启网络服务即可。

关闭:

systemctl stop NetworkManager
systemctl disable NetworkManager

重新启动网络:

systemctl start network.service

相关视频教程推荐:linux视频教程

以上就是centos7系统启动网络服务失败怎么办的详细内容,更多请关注php中文网其它相关文章!

php中文网最新课程二维码
  • 相关标签:centos7 网络服务
  • 本文原创发布php中文网,转载请注明出处,感谢您的尊重!
  • 相关文章

    相关视频


    网友评论

    文明上网理性发言,请遵守 新闻评论服务协议

    我要评论
  • 专题推荐

    推荐视频教程
  • 手把手教你玩转Linux视频教程手把手教你玩转Linux视频教程
  • Linux从入门到精通Linux从入门到精通
  • Linux逐步升华视频教程Linux逐步升华视频教程
  • Linux基础进阶视频教程Linux基础进阶视频教程
  • 视频教程分类