CentOS 7 下网络无法访问 Failed to start LSB: Bring up/.
[root@localhost Desktop]# ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
64 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time=0.067 ms
64 bytes from 192.168.2.1: icmp_seq=2 ttl=64 time=0.065 ms
64 bytes from 192.168.2.1: icmp_seq=3 ttl=64 time=0.079 ms
^C
--- 192.168.2.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2006ms
rtt min/avg/max/mdev = 0.065/0.070/0.079/0.009 ms
[root@localhost Desktop]# ping www.baidu.com
ping: unknown host www.baidu.com
[root@localhost Desktop]# route add default gw 192.168.2.1
[root@localhost Desktop]# service 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.
[FAILED]
[root@localhost Desktop]# systemctl status network.service
● network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2017-08-17 19:13:34 PDT; 2min 13s ago
Docs: man:systemd-sysv-generator(8)
Process: 3688 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
Aug 17 19:13:34 localhost.localdomain network[3688]: RTNETLINK answers: File exists
Aug 17 19:13:34 localhost.localdomain network[3688]: RTNETLINK answers: File exists
Aug 17 19:13:34 localhost.localdomain network[3688]: RTNETLINK answers: File exists
Aug 17 19:13:34 localhost.localdomain network[3688]: RTNETLINK answers: File exists
Aug 17 19:13:34 localhost.localdomain network[3688]: RTNETLINK answers: File exists
Aug 17 19:13:34 localhost.localdomain network[3688]: RTNETLINK answers: File exists
Aug 17 19:13:34 localhost.localdomain systemd[1]: network.service: control proce...1
Aug 17 19:13:34 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/....
Aug 17 19:13:34 localhost.localdomain systemd[1]: Unit network.service entered f....
Aug 17 19:13:34 localhost.localdomain systemd[1]: network.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost Desktop]# clear
[3;J
[root@localhost Desktop]# systemctl stop NetworkManager
[root@localhost Desktop]# systemctl disable NetworkManager
Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.
[root@localhost Desktop]# systemctl start network.service
[root@localhost Desktop]# ping www.baidu.com
PING www.a.shifen.com (111.13.100.91) 56(84) bytes of data.
64 bytes from 111.13.100.91: icmp_seq=1 ttl=51 time=20.8 ms
64 bytes from 111.13.100.91: icmp_seq=2 ttl=51 time=21.0 ms
64 bytes from 111.13.100.91: icmp_seq=3 ttl=51 time=22.2 ms
64 bytes from 111.13.100.91: icmp_seq=4 ttl=51 time=21.6 ms
64 bytes from 111.13.100.91: icmp_seq=5 ttl=51 time=21.6 ms
64 bytes from 111.13.100.91: icmp_seq=6 ttl=51 time=21.4 ms
64 bytes from 111.13.100.91: icmp_seq=7 ttl=51 time=21.2 ms
64 bytes from 111.13.100.91: icmp_seq=8 ttl=51 time=21.7 ms
64 bytes from 111.13.100.91: icmp_seq=9 ttl=51 time=52.0 ms
64 bytes from 111.13.100.91: icmp_seq=10 ttl=50 time=26.7 ms
64 bytes from 111.13.100.91: icmp_seq=11 ttl=50 time=24.9 ms
64 bytes from 111.13.100.91: icmp_seq=12 ttl=50 time=22.9 ms
64 bytes from 111.13.100.91: icmp_seq=13 ttl=50 time=27.9 ms
64 bytes from 111.13.100.91: icmp_seq=14 ttl=50 time=45.3 ms
64 bytes from 111.13.100.91: icmp_seq=15 ttl=50 time=54.8 ms
64 bytes from 111.13.100.91: icmp_seq=16 ttl=50 time=51.8 ms
64 bytes from 111.13.100.91: icmp_seq=17 ttl=50 time=32.6 ms
64 bytes from 111.13.100.91: icmp_seq=18 ttl=50 time=22.2 ms
64 bytes from 111.13.100.91: icmp_seq=19 ttl=50 time=22.9 ms
64 bytes from 111.13.100.91: icmp_seq=20 ttl=50 time=25.4 ms
64 bytes from 111.13.100.91: icmp_seq=21 ttl=50 time=23.0 ms
64 bytes from 111.13.100.91: icmp_seq=22 ttl=50 time=30.3 ms
64 bytes from 111.13.100.91: icmp_seq=23 ttl=50 time=25.2 ms
^C64 bytes from 111.13.100.91: icmp_seq=24 ttl=50 time=33.6 ms
--- www.a.shifen.com ping statistics ---
24 packets transmitted, 24 received, 0% packet loss, time 222495ms
rtt min/avg/max/mdev = 20.851/28.921/54.831/10.573 ms
You have new mail in /var/spool/mail/root
[root@localhost Desktop]#
CentOS 7 下网络无法访问 Failed to start LSB: Bring up/.的更多相关文章
- CentOS 7.2重启网络报错 Failed to start LSB: Bring up/down
CentOS 7.2重启网络报错 Failed to start LSB: Bring up/down 我的虚拟机原本有两块网卡,一块叫eno16777736,另一块叫eno5033674.本来是正常 ...
- Centos7 网络出错(failed to start LSB: Bring up/down networking )
这是我更换了VM虚拟机内存,重启后无法连接网络. 然后这是因为NetworkManager.service这个程序造成 解决方法: systemctl disable NetworkManager.s ...
- Redhat中网络启动错误解决办法( Failed to start LSB: Bring up/down networking RTNETLINK answers: File exists)
关于Redhat系列中网络启动失败的解决办法 报错: Failed to start LSB: Bring up/down networking. RTNETLINK answ ...
- Failed to start LSB: Bring up/down错误解决方法
很多朋友在使用centos7系统时,有时候需要分配多个IP地址,这就涉及到修改网卡配置,但是在修改完网卡配置时,重启网络服务时会出现"Failed to start LSB: Bring u ...
- CentOS7 Failed to start LSB: Bring up/down解决方法
刚刚装好的虚拟机突然不能上网了,报错很诡异,具体报错如下: /etc/init.d/network restart Restarting network (via systemctl): Job f ...
- code=exited,status=1/failure;failed to start LSB:Bring up/down networking
环境: CentOS 7 vmware 12 操作: 复制可使用的vmware centOS 7系统至新环境 问题: 无法启动网络 查看“systemctl status network" ...
- Failed to start LSB: Bring up/down networking.
由于我的虚拟机是从别的机器拷贝过来的,导入新机器后,没有问题,第二天就网络连接不上了,就出现下面的错误 [root@centos ~]# /etc/init.d/network restart Res ...
- CentOS7 Failed to start LSB: Bring up/down
原文地址:http://addam.blog.51cto.com/5041993/1839518 刚刚装好的虚拟机突然不能上网了,报错很诡异,具体报错如下: /etc/init.d/network r ...
- CentOS7 Failed to start LSB: Bring up/down解决方法(真正有效的方法)
刚刚装好的虚拟机突然不能上网了,报错很诡异,具体报错如下: /etc/init.d/network restart Restarting network (via systemctl): Job f ...
随机推荐
- 直方图均衡基本原理及Python实现
1. 基本原理 通过一个变换,将输入图像的灰度级转换为`均匀分布`,变换后的灰度级的概率密度函数为 $$P_s(s) = \frac{1}{L-1}$$ 直方图均衡的变换为 $$s = T(r) = ...
- Oracle 存储过程批量插入数据
oracle 存储过程批量插入大量数据 declare numCount number; userName varchar2(512); email varchar2(512); markCommen ...
- 算法实战-OJ之旅
算法虽然不是特别简单,但没有你想象中的那么难. Sort Array By Parity easy AC-17ms. 按照<算法导论>排序一章的一些概念,第二种可以称为是原址的(in-pl ...
- Python 四大主流 Web 编程框架
Python 四大主流 Web 编程框架 目前Python的网络编程框架已经多达几十个,逐个学习它们显然不现实.但这些框架在系统架构和运行环境中有很多共通之处,本文带领读者学习基于Python网络框架 ...
- JAVA基础知识(八)值传递与引用传递
值传递:(形式参数类型是基本数据类型):方法调用时,实际参数把它的值传递给对应的形式参数,形式参数只是用实际参数的值初始化自己的存储单元内容,是两个不同的存储单元,所以方法执行中形式参数值的改变不影响 ...
- JAVA基础知识(四):final关键字
final关键字可以用于成员变量.本地变量.方法以及类. 2. final成员变量必须在声明的时候初始化或者在构造器中初始化,否则就会报编译错误. 3. 你不能够对final变量再次赋值. 4. 本地 ...
- cs231n---循环神经网络
1 RNN介绍 (1)一对多,多对一,多对多的任务 传统的神经网络只能处理一对一的任务,而RNN可以处理一对多,多对一,多对多的任务: 其中,一些典型的应用如下: Image Captioning:i ...
- cs231n--详解卷积神经网络
原版地址:http://cs231n.github.io/convolutional-networks/ 知乎翻译地址:https://zhuanlan.zhihu.com/p/22038289?re ...
- python小白手册之字符串的私有方法和公用方法
#字符串方法. name=input('1111') if name.isalnum(): print(是否由数字字母) isdigit isdecimal判断数字 strip去空格或者其他 name ...
- 初学html总结
2019-08-17 17:58:49 html:超文本标记语言,用于网页结构的搭建 html语言构成:由标签.属性.属性值构成 标签:" < "后面第一个单词 属性:标签后 ...