centOS7重启网卡失败
自己手动配置了ifcfg-enoxxxxx文件后,用命令systemctl restart network重启网络后出现以下错误
Restarting network (via systemctl): Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details.
根据上面的提示,执行“systemctl status network.service”输出以下的类似信息:
[root@localhost ~]# 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三 2014-11-05 15:30:10 CST; 1min 5s ago
11月 05 15:30:10 localhost.localdomain network[2920]: RTNETLINK answers: File exists
11月 05 15:30:10 localhost.localdomain network[2920]: RTNETLINK answers: File exists
11月 05 15:30:10 localhost.localdomain network[2920]: RTNETLINK answers: File exists
11月 05 15:30:10 localhost.localdomain network[2920]: RTNETLINK answers: File exists
11月 05 15:30:10 localhost.localdomain network[2920]: RTNETLINK answers: File exists
11月 05 15:30:10 localhost.localdomain network[2920]: RTNETLINK answers: File exists
11月 05 15:30:10 localhost.localdomain network[2920]: RTNETLINK answers: File exists
11月 05 15:30:10 localhost.localdomain systemd[1]: network.service: control process exited, code=exited
status=1
11月 05 15:30:10 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down networking.
11月 05 15:30:10 localhost.localdomain systemd[1]: Unit network.service entered failed state.
主要的原因是mac地址映射错误,需要显式的在配置文件中写进去,具体操作如下 :
1)用ifconfig或ip addr查看mac地址;
2)将得到的mac地址写入到配置文件中去,即在ifcfg-enoxxxxx文件中修改HWADDR="XX:XX:XX:XX:XX"
XX:XX:XX:XX:XX为mac地址。如果配置文件中没有这一项就手动增加;
3)保存退出配置文件,重启网络。
参考:https://blog.csdn.net/weiyongle1996/article/details/75128239
https://blog.csdn.net/kyo19999/article/details/49097317
centOS7重启网卡失败相关推荐
- 【Linux】Centos7重启网卡失败
报错如下: 解决办法: systemctl stop NetworkManagersystemctl disable NetworkManager 然后重启网卡: service network re ...
- (linux vm虚拟机网络连接失败,重启网卡失败原因及解决办法)
linux vm虚拟机网络连接失败,重启网卡失败原因及解决办法 0 .vm虚拟机下的网络三种连接方式详解 1. vm虚拟机以及宿主机没有vmnet1 vmnet8 网卡 2 网卡配置文件出错 测试网络 ...
- centos7重启网络失败
centos7重启网络失败 问题描述: [root@localhost Desktop]# systemctl start network.service Job for network.servic ...
- 报错集:Linux重启网卡失败systemctl restart network
Linux 重启网卡失败 报错如下: Job for network.service failed because the control process exited with error code ...
- Centos7 重启网卡
centos6的网卡重启方法: service network restart centos7的网卡重启方法: systemctl restart network 重启DNS服务器: systemct ...
- Linux重启网卡失败解决办法
重启网卡报错:Restarting network (via systemctl): Job for network.service failed because the control proces ...
- centos7重启网卡命令(centos7重启网卡命令只通了一下)
linux系统怎么重启网卡 Debian.Ubuntu系的发行版重启网卡的命令是: /etc/init.d/networking restart或者是 service networking resta ...
- linux重启网卡失败--Failed to start LSB: Bring up/down networking
想把虚拟机ip改成静态的,遇到这样的报错Failed to start LSB: Bring up/down networking 原因: ifconfig 显示网卡叫ens35,ifcfg-ens3 ...
- systemctl restart network重启网卡失败
1.问题简述: 重启网卡:systemctl restart network,出现如下错误 2.查看错误日志,体现如下: 3.根据错误提示,进入到对应位置vi /etc/sysconfig/netwo ...
最新文章
- pytorch方法测试——卷积(二维)
- Winform中设置DevExpress的RadioGroup的items从配置文件中加载
- Qt平台和编译器说明-Android
- Mysql带返回值与不带返回值的2种存储过程
- 杨飞:擅长顺势而为,收获家业两成
- WinCE的USB驱动开发
- iOS 算法的前世今生:算法原理、常用算法(一)排序算法
- C#扩展名关联【转】
- Windows进行远程桌面连接后如何彻底删除远程记录
- office word 页码从任意页开始
- python——and和or逻辑运算符用法详解
- web前端第一次作业
- Caused by: org.apache.thrift.TApplicationException: Required field ‘filesAdded‘ is unset
- Cross-species regulatory sequence activity prediction
- 面向对象之多态以及进阶
- android模拟器玩手游,手游模拟器使用说明 手游在电脑上玩的方法介绍
- SKU 和 SPU 有什么区别?
- Gaze360: Physically Unconstrained Gaze Estimation in the Wild(在野外非受控的360°视线估计)
- 什么!FPS难道不是越高越好吗?
- 奢侈品电商,压死趣店的最后一根稻草?