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没有启动
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.
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权限的,有没有可能是其他错误啊~
可是我确保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.
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
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28