Centos 7不能上网,Job for iptables.service failed because the control process exited with error code.
2017-05-20 14:21
1116 查看
一、先检查自己的网络配置信息:路径: vi /etc/sysconfig/network-scripts/ifcfg-eno16777736 如图
重启网络配置的命令:service network restart或者是systemctl restart network
我在重启网络时报的错误:
Job for iptables.service failed because the control process exited with error code.
See "systemctl status iptables.service" and "journalctl -xe" for details.
service network restart
根据上面报的错,我去查看日志,日志说好像是没有可以链接的设备,但是我是有的,
报的错:Error: Connection activation failed:
No suitable device found for this connection.
我在网上找了很多方法都不行,花费了我好长时间。
解决方法:
运行下列命令:
chkconfig network off
chkconfig network on
service NetworkManager stop
service NetworkManager start
这命令的意思是:重新运行网络管理装置
重启网络配置的命令:service network restart或者是systemctl restart network
我在重启网络时报的错误:
Job for iptables.service failed because the control process exited with error code.
See "systemctl status iptables.service" and "journalctl -xe" for details.
service network restart
根据上面报的错,我去查看日志,日志说好像是没有可以链接的设备,但是我是有的,
报的错:Error: Connection activation failed:
No suitable device found for this connection.
我在网上找了很多方法都不行,花费了我好长时间。
解决方法:
运行下列命令:
chkconfig network off
chkconfig network on
service NetworkManager stop
service NetworkManager start
这命令的意思是:重新运行网络管理装置
相关文章推荐
- Centos 7不能上网,Job for iptables.service failed because the control process exited with error code.
- centos出现这个错误:Job for sshd.service failed because the control process exited with error code.
- Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details
- Job for vsftpd.service failed because the control process exited with error code
- Jenkins 安装启动提示“iJob for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.”
- 关于nginx的Job for nginx.service failed because the control process exited with error code.错误
- 重启网卡报Job for network.service failed because the control process exited with error code.。。 错误
- Job for nginx.service failed because the control process exited with error code. See "systemctl stat
- CentOS7启动SSH服务报:Job for ssh.service failed because the control process exited with error code.......
- Job for postfix.service failed because the control process exited with error code. See "systemctl st
- Job for tomcat.service failed because the control process exited with error code 解决办法:
- Job for vsftpd.service failed because the control process exited with error code. See "systemctl sta
- 解决Job for docker.service failed because the control process exited with error code. See "systemctl s
- Dockers Job for docker.service failed because the control process exited with error code
- OpenStack常见错误:无法开启http服务 Job for httpd.service failed because the control process exited with error
- 解决Docker启动服务器链接失败-Job for docker.service failed because the control process exited error code
- gitlab搭建提示inet_interfacesJob for postfix.service failed because the control process exited with erro
- Job for php-fpm.service failed because the control process exited with error code. See "systemctl st
- mysql.service failed because the control process exited with error code问题
- salt出错Job for salt-master.service failed because the control process exited with error code.