• vamare下centos7.0 动态获取ip报错问题


    CentOS7 Failed to start LSB: Bring up/down解决方法

    centos7.0中service network restart重启报错的问题

    报错信息:

    /etc/init.d/network restart

    Restarting network (via systemctl):  Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.

    [失败]

    使用systemctl status network.service命令查看结果如下:

    network.service - LSB: Bring up/down networking

    Loaded: loaded (/etc/rc.d/init.d/network)

    Active: failed (Result: exit-code) since 三 2016-08-17 11:34:36 CST; 54s ago

    Docs: man:systemd-sysv-generator(8)

    Process: 3847 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)

    8月 17 11:34:36 python.cn network[3847]: RTNETLINK answers: File exists

    8月 17 11:34:36 python.cn network[3847]: RTNETLINK answers: File exists

    8月 17 11:34:36 python.cn network[3847]: RTNETLINK answers: File exists

    8月 17 11:34:36 python.cn network[3847]: RTNETLINK answers: File exists

    8月 17 11:34:36 python.cn network[3847]: RTNETLINK answers: File exists

    8月 17 11:34:36 python.cn network[3847]: RTNETLINK answers: File exists

    8月 17 11:34:36 python.cn systemd[1]: network.service: control process exited, code=exited status=1

    8月 17 11:34:36 python.cn systemd[1]: Failed to start LSB: Bring up/down networking.

    8月 17 11:34:36 python.cn systemd[1]: Unit network.service entered failed state.

    8月 17 11:34:36 python.cn systemd[1]: network.service failed.

    查看系统日志,报错如下:

    Aug 17 11:34:36 python network: RTNETLINK answers: File exists

    Aug 17 11:34:36 python network: RTNETLINK answers: File exists

    Aug 17 11:34:36 python network: RTNETLINK answers: File exists

    Aug 17 11:34:36 python network: RTNETLINK answers: File exists

    Aug 17 11:34:36 python network: RTNETLINK answers: File exists

    Aug 17 11:34:36 python network: RTNETLINK answers: File exists

    Aug 17 11:34:36 python network: RTNETLINK answers: File exists

    Aug 17 11:34:36 python network: RTNETLINK answers: File exists

    Aug 17 11:34:36 python network: RTNETLINK answers: File exists

    Aug 17 11:34:36 python systemd: network.service: control process exited, code=exited status=1

    Aug 17 11:34:36 python systemd: Failed to start LSB: Bring up/down networking.

    Aug 17 11:34:36 python systemd: Unit network.service entered failed state.

    Aug 17 11:34:36 python systemd: network.service failed.

    Aug 17 11:36:28 python systemd: Starting LSB: Bring up/down networking...

    1 修改mac地址

    ip addr 找到mac地址,然后修改配置文件中的mac地址

    2 跟虚拟机自带的NetworkManager这个管理套件有关系,关掉就可以解决。

    systemctl stop NetworkManager

    systemctl disable NetworkManager

    systemctl start network.service

  • 相关阅读:
    [HNOI2008]神奇的国度(最大势算法)
    学习笔记——prufer序列
    [NOIP模拟题]chess(最短路计数)
    2019暑假图论总结
    [NOIP2016]天天爱跑步(桶)
    [NOIP2012]疫情控制(贪心)
    [NOIP2016]蚯蚓(单调性乱搞)
    暑假考试题4:星际旅行(欧拉路)
    暑假考试题3:jigsaw 黄金拼图(乱搞)
    暑假考试题3:baritone 上低音号与星星(链表+矩形统计)
  • 原文地址:https://www.cnblogs.com/fengzhongzhuzu/p/8980679.html
Copyright © 2020-2023  润新知