解决 openresty Nginx 重启报错问题 nginx: [error] open() “/usr/local/openresty/nginx/logs/nginx.pid“ fa

解决 openresty Nginx 重启报错问题

nginx: [error] open() “/usr/local/openresty/nginx/logs/nginx.pid” failed (2: No such file or directory)解决 openresty Nginx 重启报错问题 nginx: [error] open() “/usr/local/openresty/nginx/logs/nginx.pid“ fa解决方法:使用nginx -c的参数指定nginx.conf文件的位置

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

上一篇:请不要用SECONDS_BEHIND_MASTER来衡量MYSQL主备的延迟时间


下一篇:mysql主从同步(5)-同步延迟状态考量(seconds_behind_master和pt-heartbea)