centos7下nginx重新启动报错nginx: [emerg] open() "/var/run/nginx/nginx.pid" failed
当我们开机重新启动nginx时,经常报错
nginx: [emerg] open() “/var/run/nginx/nginx.pid” failed (2: No such file or directory)
nginx: configuration file /etc/nginx/nginx.conf test failed
主要是因为每次开机,系统会自动删除/var/run/nginx目...
原创
2019-08-22 17:49:41 ·
1255 阅读 ·
0 评论