nginx [error] open() "/usr/local/nginx/logs/nginx.pid" failed的解决

时间:2019-12-12 13:23:23   收藏:0   阅读:114

原文链接:https://www.cnblogs.com/lamp01/p/9005809.html

执行nginx -s reload报错

nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)
解决方法:
/usr/local/nginx/sbin/nginx -c/usr/local/nginx/conf/nginx.conf

  

 

原文:https://www.cnblogs.com/xiesx/p/12027931.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!