美文网首页
Nginx异常nginx--[error]-open()-"-u

Nginx异常nginx--[error]-open()-"-u

作者: 不是王大锤 | 来源:发表于2019-06-14 17:27 被阅读0次

异常报错:

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

进入sbin刷新即可

 [root@iZwz92nk9j6wekxcxr77xtZ sbin]# ./nginx -s reload
image.png

相关文章

网友评论

      本文标题:Nginx异常nginx--[error]-open()-"-u

      本文链接:https://www.haomeiwen.com/subject/rzijfctx.html