• centos7 克隆 网卡无法启用


    1.克隆后查看网卡无法启用,报错信息如下:

    Apr 22 15:54:23 agent systemd: network.service: control process exited, code=exited status=1
    Apr 22 15:54:23 agent systemd: Failed to start LSB: Bring up/down networking.
    Apr 22 15:54:23 agent systemd: Unit network.service entered failed state.
    Apr 22 15:54:23 agent systemd: network.service failed.
    Apr 22 15:54:25 agent systemd: Starting LSB: Bring up/down networking...
    Apr 22 15:54:26 agent network: 正在打开环回接口: [  确定  ]
    Apr 22 15:54:26 agent network: 正在打开接口 ens33: 错误:激活连接失败:No suitable device found for this connection.
    Apr 22 15:54:26 agent network: [失败]
    Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
    Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
    Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
    Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
    Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
    Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
    Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
    Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
    Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
    Apr 22 15:54:26 agent systemd: network.service: control process exited, code=exited status=1
    Apr 22 15:54:26 agent systemd: Failed to start LSB: Bring up/down networking.
    Apr 22 15:54:26 agent systemd: Unit network.service entered failed state.
    Apr 22 15:54:26 agent systemd: network.service failed.
    Apr 22 15:55:06 agent systemd: Starting LSB: Bring up/down networking...

    2.百度到的大部分信息都是mac地址冲突,进行mac地址修改,mac地址修改后仍无法解决。最后在博客:http://blog.csdn.net/lcalqf/article/details/59069197找到了一个

    办法,关闭NetworkManager 套件;

    systemctl stop NetworkManager
    systemctl disable NetworkManager
    

      然后重启下网络服务就可以了:

    systemctl start network.service

  • 相关阅读:
    Python学习笔记(三)
    自己出的一套前端笔试题
    Vue 数组封装和组件data定义为函数一些猜测
    前端Mvvm QC 上传了测试版
    为什么我们的web前端变的越来越复杂
    grootJsAPI文档
    grootjs 简明教程
    深入grootJs(进阶教程)
    也议 js闭包和ie内存泄露原理
    此utf8 非彼utf8 ——谈http协议里的编码问题
  • 原文地址:https://www.cnblogs.com/white-small/p/6748307.html
Copyright © 2020-2023  润新知