原文:启动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,安装完使用命令service nignx restart后,出现这个错误,并按照提示给出的命令查看错误详情 systemctl status nginx.service : 从详情可以看到: :address already in use ,说明端口已经被占用了,我们来看下是什么东西占用了端口吧: 输入命令: netstat apn grep : 可以看到 httpd服务占用了 ...

2019-09-14 13:19 0 9319 推荐指数:

查看详情

linux----------启动network的时候报错Job for network.service failed because the control process exited with error code. See "systemctl status network.service

1、仔细阅读上面的话,意思是让你执行 journalctl -xe 查看更详细的日志。 2、我当时导致这个情况的原因是因为,虚拟机加载的文件被我换了位置,导致没加载到最原始的centos包。关闭虚拟机以后重新选择路径就可以了。 3、systemctl start network ...

Sat Apr 07 19:57:00 CST 2018 0 7800
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM