nginx -s reload时出现open() "/run/nginx.pid" failed (2: No such file or directory)错误
解决步骤:
sudo nginx -s reload时出现open() "/run/nginx.pid" failed (2: No such file or directory)
1、查看/var/run目录下面是否存在nginx.pid文件 (证实不存在该文件)
2、pkill -9 nginx (kill掉该进程)
3、sudo nginx -c /etc/nginx/nginx.co...
原创
2020-04-01 15:53:08 ·
1394 阅读 ·
0 评论