• Linux 重启网卡失败 Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.


    linux下重启网卡使用命令 : service network restart 时报错:

    [root@slave01 hadoop]# service network restart
    Starting 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.
                                                               [失败]
    [root@slave01 hadoop]#  journalctl -xe
    10月 09 17:39:20 slave01 network[12763]: 正在打开环回接口: [  确定  ]
    10月 09 17:39:20 slave01 NetworkManager[730]: <info>  [1539077960.4630] audit: op="conn
    10月 09 17:39:20 slave01 network[12763]: 正在打开接口 ens33: 错误:激活连接失败:No su
    10月 09 17:39:20 slave01 network[12763]: [失败]
    10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
    10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
    10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
    10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
    10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
    10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
    10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
    10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
    10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
    10月 09 17:39:20 slave01 systemd[1]: network.service: control process exited, code=exit
    10月 09 17:39:20 slave01 systemd[1]: Failed to start LSB: Bring up/down networking.
    -- Subject: Unit network.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- 
    -- Unit network.service has failed.
    -- 
    -- The result is failed.
    10月 09 17:39:20 slave01 systemd[1]: Unit network.service entered failed state.
    10月 09 17:39:20 slave01 systemd[1]: network.service failed.
    10月 09 17:39:20 slave01 polkitd[725]: Unregistered Authentication Agent for unix-proce
    

    解决如下

    执行如下命令:
    
    stop NetworkManager
    systemctl disable NetworkManager
    
    然后:重启网卡:
    systemctl restart network
    
    
  • 相关阅读:
    javaScript常用运算符和操作符总结
    JavaScript-基本语法和数据类型
    javascript基本特点,组成和应用
    常用布局-列宽度是固定宽度还是自适应
    web设计之无懈可击
    CSS布局定位基础-盒模型和定位机制
    Ubuntu(Linux)系统WPS文字不能输入中文如何解决
    ggplot2点图+线性趋势+公式+R2+p值
    GTEx数据库-TCGA数据挖掘的好帮手
    limma, edgeR, deseq2,genefilter计算差异R包的foldchange方法差别
  • 原文地址:https://www.cnblogs.com/hts-technology/p/9762249.html
Copyright © 2020-2023  润新知