记录黑客技术中优秀的内容, 传播黑客文化,分享黑客技术精华

解决 failed (13: Permission denied) while reading upstream

2019-08-14 17:40

调整了服务器用户组后,发现Nginx报错:

2019/08/14 15:03:14 [error] 18667#0: *13 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant MUTHEME_NAME - assumed 'MUTHEME_NAME' (this will throw an Error in a future version of PHP) in /*** on line 15" while reading response header from upstream, client: *.*.*.22, server: www.uedbox.com, request: "GET /*** HTTP/1.1", upstream: "fastcgi://*.*.*.*", host: "www.uedbox.com"
2019/08/14 15:03:14 [crit] 18667#0: *13 open() "/usr/local/nginx/fastcgi_temp/1/00/0000000001" failed (13: Permission denied) while reading upstream, client: *.*.*.22, server: www.uedbox.com, request: "GET /*** HTTP/1.1", upstream: "fastcgi://*.*.*.*", host: "www.uedbox.com"

…………

*21685 open() "/usr/local/nginx/proxy_temp/8/00/0000000008" failed (13: Permission denied) while reading upstream, client: 59.***.**.***, server: ******

提取关键信息

地址为:/usr/local/nginx/fastcgi_temp/,跟过去看一下权限:

解决 failed (13: Permission denied) while reading upstream

一眼就看出来了,用户与组不匹配,更新组:

更新后的情况:

解决 failed (13: Permission denied) while reading upstream

现在再打开相关连接,正常显示了。解决。

知识来源: https://www.uedbox.com/post/59011/

阅读:42878 | 评论:0 | 标签:无

想收藏或者和大家分享这篇好文章→复制链接地址

“解决 failed (13: Permission denied) while reading upstream”共有0条留言

发表评论

姓名:

邮箱:

网址:

验证码:

公告

关注公众号hackdig,学习最新黑客技术

推广

工具

标签云

本页关键词