解决办法"/>
在安装完Nginx后服务启动失败的解决办法
问题:
在我安装完Nginx后,想要启动服务,但是启动失败,并报出如下提示:
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. //提示信息
问题分析
然后我就按照问题提示的命令查看了一下,然后就输出如下内容:
journalctl -xe
1月 01 20:14:07 localhost.localdomain nginx[7788]: nginx: configuration file /etc/nginx/nginx.conf test is successf
1月 01 20:14:07 localhost.localdomain nginx[7791]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already
1月 01 20:14:07 localhost.localdomain nginx[7791]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in
1月 01 20:14:08 localhost.localdomain nginx[7791]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already
1月 01 20:14:08 localhost.localdomain nginx[7791]: nginx: [emerg] bind() to [::]:80 failed (98: Ad
更多推荐
在安装完Nginx后服务启动失败的解决办法
发布评论