没有nginx,logs目录访问权限
[
alert]
: could not open error log file
: open() "/usr/local/
nginx/logs/
error.
log" failed (13
: Permission denied)
2011/03/21 06
:09
:33 [emerg] 24855#0
: mkdir() "/usr/local/
nginx/client_body_temp" failed (13
: Permission denied)
解决办法
:
-
sudo chmod a+rwx -R logs
-
sudo chmod a+rwx -R /usr/local/nginx
阅读(11949) | 评论(0) | 转发(0) |