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

  • 相关阅读:
    github中,一些涉及到用户配置的文件怎么处理(比如数据库用户名/密码)?
    XMLHttpRequest cannot load file浏览器无法异步加载本地file文件
    HTML小技巧
    HTML实体符号代码速查表
    宽度不固定,水平居中
    CSS实现背景透明,文字不透明
    window.inner 兼容IE8
    div横排放置对齐问题;block,inline,inline-block区别
    IE兼容CSS3圆角border-radius的方法(同时兼容box-shadow,text-shadow)
    js 值和引用
  • 原文地址:https://www.cnblogs.com/white-small/p/6748307.html
Copyright © 2011-2022 走看看