重启网卡报Job for network.service failed because the control process exited with error code报错

重启网卡报Job for network.service failed because the control process exited with error code报错

今天给腾讯云配置弹性IP。并使用多IP。配置好以后。重启网卡失败。。查了很多资料。终于解决。现在给整理出来。

[root@mina0 hadoop]# systemctl restart network
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
[root@mina0 hadoop]# journalctl -xe
10月 26 17:15:57 mina0 network[3308]: 正在打开环回接口: [  确定  ]
10月 26 17:15:57 mina0 NetworkManager[679]:   [1509009357.3386] audit: op="connec
10月 26 17:15:57 mina0 network[3308]: 正在打开接口 ens33: 错误:激活连接失败:No suita
10月 26 17:15:57 mina0 network[3308]: [失败]
10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists
10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists
10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists
10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists
10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists
10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists
10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists
10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists
10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists
10月 26 17:15:57 mina0 polkitd[680]: Unregistered Authentication Agent for unix-process
10月 26 17:15:57 mina0 systemd[1]: network.service: control process exited, code=exited
10月 26 17:15:57 mina0 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月 26 17:15:57 mina0 systemd[1]: Unit network.service entered failed state.

10月 26 17:15:57 mina0 systemd[1]: network.service failed.

解决:

[root@mina0 hadoop]# systemctl stop NetworkManager
[root@mina0 hadoop]# systemctl disable NetworkManager

然后:重启网卡:

[root@mina0 hadoop]# systemctl restart network
[root@mina0 hadoop]# ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.36.193  netmask 255.255.255.0  broadcast 192.168.36.255
        inet6 fe80::250:56ff:fe3c:7ac8  prefixlen 64  scopeid 0x20
        ether 00:50:56:3c:7a:c8  txqueuelen 1000  (Ethernet)
        RX packets 28  bytes 8099 (7.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 25  bytes 3749 (3.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10
        loop  txqueuelen 1  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:a3:37:cb  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

以上就是我们的操作流程。欢迎大家把遇到的问题分享给我们

腾讯云-阿里云 2折起优惠中 QQ 690624

主题测试文章,只做测试使用。发布者:云大使,转转请注明出处:https://www.xp8.net/server/3756.html

(0)
打赏 微信扫一扫 微信扫一扫
宝塔(bt)面板如何设置自定义404-学派吧
上一篇 2019年7月23日 下午11:19
腾讯云服务器(ECS)centos7服务器主网卡绑定多ip
下一篇 2019年7月26日 下午11:52

相关推荐

  • Apache禁止访问目录-Linux运维日志

    欢迎来到学派吧-如有需要服务器等业务相关资讯的加我们QQ群 设置Apache禁止访问目录 本文将详细介绍如何操作禁止显示apache网站根目录 进入apache的配置文件 httpd.conf 找到: vim /etc/httpd/conf/httpd.conf Options Indexes FollowSymLinks 修改为: Options Foll…

    服务器运维 2018年9月30日
    2.3K00
  • Linux-centos下nginx日志每天定时切割教程

    教程目的: 使用Linux系统自带的命令logrotate对Nginx日志进行切割。 Nginx安装目录:/usr/local/nginx/ Nginx日志目录:/usr/local/nginx/logs/、/usr/local/nginx/logs/nginx_logs/ 1、添加nginx日志切割脚本 cd  /etc/logrotate.d  #进入目…

    服务器运维 2018年10月17日
    2.5K00
  • 阿里云腾讯云安装管理面板centos宝塔面板安装教程

    2分钟装好面板,一键管理服务器Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora、Deepin),Web端管理,QQ群及论坛技术支持一键LAMP/LNMP、创建网站FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换,一键开启Tomcat环境 Linux面板安装脚本 系统兼容性排序: Debia…

    2018年7月12日
    9.2K00
  • 学派吧-教你如何在Linux中安装Nginx服务器(图文)-linux教程

    学派吧-这篇文章主要为大家详细介绍了Linux中Nginx的安装教程,具有一定的参考价值,感兴趣的小伙伴们可以参考一下 Linux下Nginx安装教程分享,具体内容如下 1、安装编译文件及库文件 yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel 2、安装PCRE…

    2018年12月14日
    2.5K00
  • 阿里云磁盘扩容 unexpected output in sfdisk解决方法

    现在使用阿里云 腾讯云的服务器用户越来越多,很多用户只有系统盘一个磁盘。时间长了以后,会造成系统盘不够使用的情况。然后进行扩容 参考阿里云扩容教程 有时会进行报错 :unexpected output in sfdisk –version [sfdisk,来自 util-linux 2.23.2] 扩容教程:https://www.xp8.net…

    2021年1月14日
    4.1K00

发表回复

登录后才能评论
联系我们

联系我们

18838889666

在线咨询: QQ交谈

邮件:xinyun@88.com

工作时间:周一至周五,9:30-18:30,节假日休息

添加微信
添加微信
分享本页
返回顶部