+ -
当前位置:首页 → 问答吧 → nginx 启动失败?、

nginx 启动失败?、

时间:2010-04-27

来源:互联网

本帖最后由 zing2046 于 2010-04-27 17:03 编辑

Starting nginx: 2010/04/27 16:57:50 [warn] 3147#0: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
2010/04/27 16:57:50 [emerg] 3147#0: open() "/var/log/nginx/error.log" failed (13: Permission denied)
nginx.


启动的时候就出现上面的错误,那个error.log文件是有读写权限的。但是、/etc/init.d/nginx status显示的却是已经在运行了!错误出在什么地方啊?
apache没有启动

作者: zing2046   发布时间: 2010-04-27

your error.log tell you.

this file /var/log/nginx/error.log can not be writen.please change the privileges of this file.

作者: todayhero   发布时间: 2010-04-28

日志权限。或者目录不存在。

作者: scyzxp   发布时间: 2010-04-28

回复 todayhero


    可是我确保error.log 是有777权限的,有没有可能是其他错误啊~

作者: zing2046   发布时间: 2010-04-28

回复 zing2046


now that your error.log tell you that it is this problem with your privileges.you'd better carefully inspect your the privileges of your files and directories.

作者: todayhero   发布时间: 2010-04-28

热门下载

更多