VPS侦探论坛

 找回密码
 注册
查看: 3225|回复: 3

Stoping nginx... nginx: [error] open() "/usr/local/nginx/logs/nginx.pid&quo

[复制链接]
发表于 2016-6-27 14:17:55 | 显示全部楼层 |阅读模式

Stoping nginx... nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed 如题,我安装了两次才成功,第一次只安装了nginx,第二次才全部安装完,可是重启nginx的时候提示这个
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-6-27 16:29:26 | 显示全部楼层


只能说明重启的时候nginx没在运行
其他没法说,信息有限
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-6-28 10:13:50 | 显示全部楼层

我用/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
killall -9 nginx
然后重启nginx就可以了,这是什么原因?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-6-28 11:03:19 | 显示全部楼层

回复 3# 的帖子




这个只是正常的nginx启动命令没法说
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-4-20 15:54 , Processed in 0.026289 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表