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 ...
随机推荐
- 【游记】NOIP2019初赛
声明 我的游记是一个完整的体系,如果没有阅读过往届文章,阅读可能会受到障碍. ~~~上一篇游记的传送门~~~ 前言 (编辑中) 文章推荐:[游记]NOIP2019复赛
- 从boosting谈起
Boosting 将一些表现效果一般(可能仅仅优于随机猜测)的模型通过特定方法进行组合来获得一个表现效果较好的模型.抽象地说,模型的训练过程是对一任意可导目标函数的优化过程. Adaptive boo ...
- 映射&集合
哈希函数 通过哈希表可以实现 O(1) 复杂度的查找. 哈希函数构造方法:设计好的哈希函数的两个基本原则,计算简单+分布均匀 1. 直接定址法 用key自身的某个线性函数来定址,f(key) = a* ...
- CodeForces 29D Ant on the Tree
洛谷题目页面传送门 & CodeForces题目页面传送门 题意见洛谷里的翻译. 这题有\(\bm3\)种解法,但只有一种是正解(这不是废话嘛). 方法\(\bm1\):最近公共祖先LCA(正 ...
- Cocos2d-x 学习笔记(3.2) TransitionScene 过渡场景和场景切换的过程
1. 简介 过渡场景TransitionScene直接继承了场景Scene.能够在场景切换过程中实现“过渡”效果,而不是让窗口在下一帧突然展示另一个场景. 2. create 构造函数: Transi ...
- 用原生JS实现AJAX和JSONP
前端开发在需要与后端进行数据交互时,为了方便快捷,都会选择JQuery中封装的AJAX方法,但是有些时候,我们只需要JQuery的AJAX请求方法,而其他的功能用到的很少,这显然是没必要的.其实,原生 ...
- 论文解读2——Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition
背景 用ConvNet方法解决图像分类.检测问题成为热潮,但这些方法都需要先把图片resize到固定的w*h,再丢进网络里,图片经过resize可能会丢失一些信息.论文作者发明了SPP pooling ...
- socket基于TCP(粘包现象和处理)
目录 6socket套接字 7基于TCP协议的socket简单的网络通信 AF_UNIX AF_INET(应用最广泛的一个) 报错类型 单一 链接+循环通信 远程命令 9.tcp 实例:远程执行命令 ...
- Python day01 课堂笔记
今天是第一天学习Python课程,主要从计算机基础,Python的历史,环境 ,变量,常量,注释,用户交互,基础数据类型 ,简单的if条件语句和while循环语句这几个来学习,重点的掌握内容是pyth ...
- RocketMQ 4.3.2 standalone Installation and Configuration
1 Download RockeMQ Package: You need to download it and put it to the OS Image. wget http://apache.c ...