路径下找不到nginx.pid
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
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