解决 failed (13: permission denied) while reading upstream-kb88凯时官网登录

时间:2020-03-22
阅读:
免费资源网 - https://freexyz.cn/

调整了用户组后,发现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: ******

提取关键信息

failed (13: permission denied) while reading upstream

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

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

sudo chown -r nobody:nobody /usr/local/nginx/fastcgi_temp
sudo chown -r nobody:nobody /usr/local/nginx/proxy_temp

更新后的情况:

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

免费资源网 - https://freexyz.cn/
返回顶部
顶部
网站地图