解决 nginx: [error] open() /usr/local/nginx/logs/nginx.pid failed 错误

现象

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
./nginx -s reload
posted @ 2021-06-12 19:46  ArgoZhang  阅读(551)  评论(0编辑  收藏  举报