现象
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
2024-01-02 13:50:34
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
下一篇:rocketMQ搭建