linux下nginx报错Job for nginx.service failed because……
今天遇到一个nginx报错的问题
用这条命令service nginx restart重启nginx时,出现下面的回馈
Job for nginx.service failed because the control process exited with error code.See “systemctl status nginx.service” and “journalctl -xe” for details.这是nginx的80端口被占用导致,在nginx启动或者关闭过多的情况下出现
简单的解决办法直接结束掉进程,再重启即可
killall -9 nginx
service nginx restart
版权声明:
作者:ivpsr.com
链接:https://ivpsr.com/168.html
文章版权归作者所有,未经允许请勿转载。
THE END