ELK学习遇到的问题4--Job for nginx.service failed because the control process exited with error code....
2020-07-20 08:38
603 查看
遇到的问题:
[root@m01 modules.d]# systemctl start nginx Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. 原因是开启的端口和docker容器里的端口重复了
解决方法:
[root@m01 modules.d]# systemctl stop docker [root@m01 modules.d]# systemctl disable docker [root@m01 modules.d]# iptables -F [root@m01 modules.d]# iptables -X [root@m01 modules.d]# iptables -Z [root@m01 modules.d]# iptables -nL Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy DROP) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination [root@m01 modules.d]# nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful [root@m01 modules.d]# systemctl start nginx
相关文章推荐
- 关于处理:Job for nginx.service failed because the control process exited with error code.……问题
- 关于nginx的Job for nginx.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
- 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
- Job for nginx.service failed because the control process exited with error code. 解决方法
- 解决Job for docker.service failed because the control process exited with error code. See "systemctl s
- Job for mariadb.service failed because the control process exited with error code
- centos中启动MySQL提示Job for mysqld.service failed because the control process exited with error code.
- vps中docker启动出现错误Job for docker.service failed because the control process exited with error code. Se
- centos出现这个错误:Job for sshd.service failed because the control process exited with error code.
- CentOS 7的docker启动失败问题:Job for docker.service failed because the control process exited with error
- 重启网卡报Job for network.service failed because the control process exited with error code.。。 错误
- Job for vsftpd.service failed because the control process exited with error code
- Centos 7不能上网,Job for iptables.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 httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details
- Job for mysqld.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
- Job for network.service failed because the control process exited with error code. See "systemc的解决办法