zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    C#4.0,支持动态语言?
    宁波.NET俱乐部第二次聚会WCF讲稿
    在线学习新编程
    mysql常用函数
    PHP 连接Mysql数据库
    Unix网络编程进阶计划
    RabbitMQ 安装
    Golang 变量
    Golang 结构体
    Golang 指针
  • 原文地址:https://www.cnblogs.com/white-small/p/6748307.html
Copyright © 2011-2022 走看看