首页 > web > nginx

Nginx 启动报错 Nginx is a high-performance web and proxy server.
时间:2020-09-02 11:40:16  点击: 来源:  作者:

使用 service nginx start 启动报错:
nginx.service - SYSV: Nginx is a high-performance web and proxy server.
但是直接运行安装目录下的 sbin/nginx 文件可以成功。

systemctl status nginx.service 查 ...

使用 service nginx start 启动报错:

nginx.service - SYSV: Nginx is a high-performance web and proxy server.


但是直接运行安装目录下的 sbin/nginx 文件可以成功。

systemctl status nginx.service 查看后,详细如下:

nginx.service - SYSV: Nginx is a high-performance web and proxy server.

   Loaded: loaded (/etc/rc.d/init.d/nginx; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2017-03-21 11:29:22 CST; 52s ago
     Docs: man:systemd-sysv-generator(8)

...

nginx.service: control process exited, code=exited status=1
Failed to start SYSV: Nginx is a high-performance web and proxy server..
Unit nginx.service entered failed state.
nginx.service failed.


可能原因:提示已经存在相关进程,系统中存在未杀死的nginx进程。

解决方案 , 先杀掉所有nginx进程再启动:

killall nginx

service nginx start


”您可通过以下微信二维码,赞赏作者“
 
 
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表
推荐资讯
linux服务器同步互联网时间
linux服务器同步互联
亚马逊云lightsail服务器使用教程 | 亚马逊云lightsail使用指南
亚马逊云lightsail服
hostdare 4折优惠,直接降价60% 美国洛杉矶低至 $10.4/年 768M内存/1核/10gNVMe/500g流量
hostdare 4折优惠,直接
六类网线cat6a和cat6e的区别
六类网线cat6a和cat6e
相关文章
栏目更新
栏目热门

关于我们 | 广告服务 | 联系我们 | 网站地图 | 免责声明 | WAP | RSS


Copyright © 运维之家 2013-2023