免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 13719 | 回复: 4
打印 上一主题 下一主题

[Web] nginx 启动失败?、 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-04-27 17:00 |只看该作者 |倒序浏览
本帖最后由 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没有启动

论坛徽章:
0
2 [报告]
发表于 2010-04-28 10:16 |只看该作者
your error.log tell you.

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

论坛徽章:
0
3 [报告]
发表于 2010-04-28 11:52 |只看该作者
日志权限。或者目录不存在。

论坛徽章:
0
4 [报告]
发表于 2010-04-28 14:08 |只看该作者
回复 2# todayhero


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

论坛徽章:
0
5 [报告]
发表于 2010-04-28 14:40 |只看该作者
回复 4# 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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP