nginx重启失败

问答中心分类: Nginxnginx重启失败
chancat asked 8 年 ago
之前一直用的好好的,今天重启vps不知道怎么就如下了。。

nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
[FAIL] Reloading (via HUP) Nginx Server...: failed!

请问管理,咱们lnmp一键包 怎样让php平滑重启nginx,?用的是debian 7 64

4 Answers
oneinstack answered 8 年 ago
试试:
service php-fpm reload
service nginx reload 

chancat answered 8 年 ago
root@blog:~# service php-fpm reload
Reload service php-fpm  done
root@blog:~# service nginx reload
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
[....] Reloading (via HUP) Nginx Server...:Hangup
root@blog:~#

chancat answered 8 年 ago
怎么老是这个  挂断

SophieYe answered 8 年 ago
这个问题解决了吗?管理员,我也碰到了这个问题,请问该怎么解决