• 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

  • 相关阅读:
    JBoss下配置数据源加密
    线程返回值的方式介绍
    @Async java 异步方法
    spring 源码下载地址
    springmvc maven 入门及页面拿不到controller的值 显示${message} el表达式不起作用
    mysql常用函数
    eclipse 开发常见问题集锦
    linux 常用命令及零散知识
    js一些注意事项
    liunx 免密登录远程主机
  • 原文地址:https://www.cnblogs.com/white-small/p/6748307.html
Copyright © 2020-2023  润新知