pogend
pogend
发布于 3个月前

nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)

错误信息:

nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)

解决方法 : 执行一下nginx

/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf