Job for nginx.service failed because the control process exited with error code. See “systemctl stat
2019-03-06 18:04
696 查看
启动nginx服务时如果遇到这个错误 Job for nginx.service failed because the control process exited with error code. See “systemctl stat 可能原因如下:
1.nginx配置文件有错误
运行下面命令查看修改
nginx -t
2.已经启动nginx或者配置文件中的端口号被占用
- 检查端口是否被占用
netstat -tnlp
如果端口已经被占用,自己权衡一下是换个端口还是把占用端口的进程杀掉
- 检查nginx是否已经启动
ps -aux | grep nginx
如果已经启动使用下面命令干掉即可
pkill -9 nginx
创建了一个小游戏交流群,加群或者有问题交流可以加我微信 备注“微信小游戏”
相关文章推荐
- Job for nginx.service failed because the control process exited with error code. See "systemctl stat
- 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 docker.service failed because the control process exited with error code. See "systemctl s
- Jenkins 安装启动提示“iJob for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.”
- Job for vsftpd.service failed because the control process exited with error code. See "systemctl sta
- Job for postfix.service failed because the control process exited with error code. See "systemctl st
- 关于nginx的Job for nginx.service failed because the control process exited with error code.错误
- 启动Docker 出现Job for docker.service failed because the control process exited with error code. See "错误
- Job for php-fpm.service failed because the control process exited with error code. See "systemctl st
- Dockers Job for docker.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 tomcat.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 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 network.service failed because the control process exited with error code.。。 错误
- CentOS7启动SSH服务报:Job for ssh.service failed because the control process exited with error code.......
- centos出现这个错误:Job for sshd.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