Deprecated: Function create_function() is deprecated in /www/wwwroot/blog.fenewbee.com/usr/plugins/AntiSpam/Plugin.php on line 75
源码安装重启nginx: [error] invalid PID number - A Maverick Pig - - Life is more than just the present, but also poetry and the distance.

A Maverick Pig -

生活不止眼前的苟且
还有诗和远方

源码安装重启nginx: [error] invalid PID number

linux源码安装Nginx,然后修改Nginx配置文件,再重启时报出如下错误:

nginx: [error] invalid PID number "" in "/usr/local/var/run/nginx/nginx.pid"

解决办法:

$ sudo nginx -c /usr/local/nginx/nginx.conf
$ sudo nginx -s reload
本原创文章未经允许不得转载 | 当前页面:A Maverick Pig - » 源码安装重启nginx: [error] invalid PID number

评论

文章评论已关闭!