CentOS7 Failed to start LSB: Bring up/down networking.解决方法
https://www.cnblogs.com/bonjov1/p/4323836.html CentOS7 Failed to start LSB: Bring up/down networking.解决方法 今天用CentOS7 RDO方式安装Openstack,文档上说要disable NetworkManager, 用 network服务才行。 但是我用 service network start命令启动时报错: [root@localhost network-scripts]# service network start Starting network (via systemctl): Job -- :: EST; 6s ago Process: ExecStart=/etc/rc.d/init.d/network start (code=exited, status=/FAILURE)Mar :: localhost.localdomain network[]: RTNETLINK answers: File ...Mar :: localhost.localdomain network[]: RTNETLINK answers: File ...Mar :: localhost.localdomain network[]: RTNETLINK answers: File ...Mar :: localhost.localdomain network[]: RTNETLINK answers: File ...Mar :: localhost.localdomain network[]: RTNETLINK answers: File ...Mar :: localhost.localdomain network[]: RTNETLINK answers: File ...Mar :: localhost.localdomain systemd-sysctl[]: Overwriting earli...Mar :: localhost.localdomain systemd[]: network.service: control pr...Mar :: localhost.localdomain systemd[]: Failed to start LSB: Bring ...Mar :: localhost.localdomain systemd[]: Unit network.service entere...Hint: Some lines were ellipsized, use -l to show in full. 然后网上搜是因为没加HWADDR....这个我确实给删了.... 先看log里说哪个网卡没有UP起来: [root@localhost network-scripts]# cat /var/log/messages | grep network Mar :: localhost kernel: drop_monitor: Initializing network drop monitor serviceMar :: localhost systemd-udevd[]: renamed network :: localhost systemd-udevd[]: renamed network :: localhost systemd-udevd[]: renamed network :: localhost systemd-udevd[]: renamed network :: localhost systemd-udevd[]: renamed network :: localhost systemd-udevd[]: renamed network :: localhost systemd-udevd[]: renamed network :: localhost systemd-udevd[]: renamed network :: localhost systemd-udevd[]: renamed network :: localhost systemd-udevd[]: renamed network :: localhost systemd-udevd[]: renamed network :: localhost systemd-udevd[]: renamed network :: localhost systemd: Starting Import network configuration :: localhost systemd: Started Import network configuration :: localhost systemd: Starting Rollback uncommitted netcf network config change transactions...Mar :: localhost systemd: Started Rollback uncommitted netcf network config change transactions.Mar :: localhost systemd: Starting LSB: Bring up/down networking...Mar :: localhost network: Bringing up loopback :: localhost network: Bringing up :: localhost /etc/sysconfig/network-scripts/ifup-eth: Device br0 does not seem to be present, delaying initialization.Mar :: localhost network: [FAILED]Mar :: localhost network: Bringing up :: localhost network: Bringing up :: localhost /etc/sysconfig/network-scripts/ifup-eth: Device does not seem to be present, delaying initialization.Mar :: localhost network: [FAILED]Mar :: localhost network: Bringing up :: localhost /etc/sysconfig/network-scripts/ifup-eth: Device does not seem to be present, delaying initialization.Mar :: localhost network: [FAILED]Mar :: localhost systemd: network.service: control process exited, code=exited status=1Mar :: localhost systemd: Failed to start LSB: Bring up/down networking.Mar :: localhost systemd: Unit network.service entered failed state.Mar :: localhost xinetd[]: xinetd Version started with libwrap loadavg labeled-networking options compiled in. ip addr查看这俩网卡的MAC: [root@localhost network-scripts]# ip addr : lo: mtu qdisc noqueue state UNKNOWN link/loopback ::::: brd ::::: inet scope host lo valid_lft forever preferred_lft forever inet6 ::/ scope host valid_lft forever preferred_lft forever2: enp1s0f0: mtu qdisc mq master br0 state UP qlen link/ether ::::a9: brd ff:ff:ff:ff:ff:ff inet6 fe80:::90ff:fe64:a930/ scope link valid_lft forever preferred_lft forever3: enp1s0f1: mtu qdisc noop state DOWN qlen link/ether ::::a9: brd ff:ff:ff:ff:ff:ff4: enp8s0f0: mtu qdisc noop state DOWN qlen link/ether :0c:bd::4e:cc brd ff:ff:ff:ff:ff:ff5: enp8s0f1: mtu qdisc noop state DOWN qlen link/ether :0c:bd::4e:cd brd ff:ff:ff:ff:ff:ff6: enp8s0f2: mtu qdisc noop state DOWN qlen link/ether :0c:bd::4e:ce brd ff:ff:ff:ff:ff:ff7: enp8s0f3: mtu qdisc noop state DOWN qlen link/ether :0c:bd::4e:cf brd ff:ff:ff:ff:ff:ff 然后把这俩网卡的mac写到配置文件里: /etc/sysconfig/network-scripts/ifcfg-enp8s0f0 /etc/sysconfig/network-scripts/ifcfg-enp8s0f1 添加: HWADDR=:0c:bd::4e:cc 然后重新启动network,就OK啦! 很久没更新了,其实问题不一定是MAC的问题,也有其他的可能性。下面是另一种情况: 虚拟机里边的CentOS7重启之后无法联网了,重启network发现报错。 百度了一圈,都是叫修改mac地址的说法,但是改了之后并没有什么用,最后谷歌解决了。 事实证明百度就是个水货! 解决方式:禁用NetworkManager . systemctl stop NetworkManager . systemctl disable NetworkManager 然后重启网络服务,能正常联网了!
CentOS7 Failed to start LSB: Bring up/down networking.解决方法的更多相关文章
- CentOS7 重启网卡Failed to start LSB: Bring up/down networking.解决方法
环境:MAC PD虚拟机安装centos7 修改完网卡配置,重启网络服务报错 使用提示命令查看:systemctl status network.service 发现报错为Failed to star ...
- CentOS7 Failed to start LSB: Bring up/down networking. 已解决!!!
服务器更换了主板之前配置的静态IP发现启动网卡出现异常. 执行 service network restart 出现以下错误 Restarting network (via systemctl): ...
- Failed to start LSB: Bring up/down错误解决方法
很多朋友在使用centos7系统时,有时候需要分配多个IP地址,这就涉及到修改网卡配置,但是在修改完网卡配置时,重启网络服务时会出现"Failed to start LSB: Bring u ...
- [转载]解决虚拟机中Centos7出现错误:Failed to start LSB: Bring up/down networking
1.执行 service network restart 出现以下错误 Restarting network (via systemctl): Job for network.service fai ...
- CentOS7 Failed to start LSB: Bring up/down解决方法
刚刚装好的虚拟机突然不能上网了,报错很诡异,具体报错如下: /etc/init.d/network restart Restarting network (via systemctl): Job f ...
- Centos7:Failed to start LSB: Bring up/down networking
一开始配置的ifcfg-ens33 [root@cdh- ~]# cd /etc/sysconfig/network-scripts/ [root@cdh- network-scripts]# ls ...
- 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 ...
- Failed to start LSB: Bring up/down networking 问题
Failed to start LSB: Bring up/down networking 问题 1.执行 service network restart 出现以下错误 Restarting ne ...
随机推荐
- Java线程及线程池状态
一.Java线程的六种状态 如上图1,JDK定义线程状态是不存在“运行中”状态,但为方便描述过程有些图中会画出运行中的状态. Java线程创建后调用start方法进入就绪状态,被OS调度选中后运行,运 ...
- 安装Kerberos后,如何不使用它,Current Kerberos password:
在不知情的情况下,安装了kerberos,然后只有是有密码的地方,一直有这个: Current Kerberos password: 没有了解过kerberos,想要卸载,卸载了还是有,怎么弄都弄不掉 ...
- Jenkins 配置 FindBugs,Checkstyle,PMD 实现代码的静态检查 (14)
一.插件介绍 FindBugs:静态分析工具,它检查类或者 JAR 文件,将字节码与一组缺陷模式进行对比以发现可能的问题.利用这个工具,就可以在不实际运行程序的情况对软件进行分析.它可以帮助改进代码的 ...
- 【idea】之使用SVN一些技巧
@Copy https://www.cnblogs.com/whc321/p/5669804.html
- Ubuntu 16.04 LTS 常用快捷键
在Linux下Win键就是Super键 启动器 Win(长按) 打开启动器,显示快捷键 Win + Tab 通过启动器切换应用程序 Win + 1到9 与点击启动器上的图标效果一样 Win + Shi ...
- 廖雪峰Java7处理日期和时间-1概念-1日期和时间
1.日期 日期是指某一天,如2016-11-20,2018-1-1 2.时间有2种: 不带日期的时间:14:23:54 带日期的时间:2017-1-1 20:21:23,唯一确定某个时刻 3.时区 时 ...
- js基础系列之【作用域】
声明:形成本文的出发点仅仅是个人总结记录,避免遗忘,并非详实的教程:文中引用了经过个人加工的其它作者的内容,并非原创.学海无涯 什么是作用域? 作用域就是一套规则,用于确定在何处以及如何查找变量(标识 ...
- MySQL架构之 主从+ProxySQL实现读写分离
准备服务器: docker run -d --privileged -v `pwd`/mysql_data:/data -p 3001:3306 --name mysql5-master --host ...
- 代码:CSS——reset.css
http://www.cnblogs.com/qq21270/p/5577856.html 图片列表 A链接标签: /* 链接样式.文字颜色 */ a{color:#666;text-decorati ...
- Spring MVC @SessionAttributes注解
@SessionAttributes原理 默认情况下Spring MVC将模型中的数据存储到request域中.当一个请求结束后,数据就失效了.如果要跨页面使用.那么需要使用到session.而@Se ...