打印

LNMP一键安装包的Nginx 502 Bad Gateway错误可能原因及解决方法

D9 运行了一天很正常 半夜0点……502了
lnmp restart了一下
又好了…………神奇

TOP

很奇怪的毛病,我reinstall 了好几次os 分别是32位的 64位的centos
刚装好的时候 一切正常 重启 什么的也一切ok
但好景不长 一般第二天就会无法访问
restart后出现如下提示:


Reload LNMP...
Reload Nginx configure...
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
Nginx program is reloding!
ERROR! MySQL manager or server PID file could not be found!
Starting MySQL.... ERROR! Manager of pid-file quit without updating file.
Shutting down php_fpm ................................... failed
Starting php_fpm  done


顺便说下,这是photonvps……D9的非常正常

TOP