还是nginx的问题?

2014-01-30 14:26:41 +08:00
 o618
配置好后用nginx -t,提示the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1,怎么办?
6081 次点击
所在节点    NGINX
4 条回复
Livid
2014-01-30 15:18:42 +08:00
你的当前用户不是 root?
hadoop
2014-01-30 15:24:21 +08:00
nginx启动时change user失败了,说明你没有权限;用root或者sudo启动吧
sarices
2014-01-30 15:36:58 +08:00
权限问题,看看这里http://nigelzeng.iteye.com/blog/1666957 看看有没有帮助
fire9
2014-01-30 19:09:57 +08:00
要么用root检查参数是否正确,要么你普通用户有sudo权限。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/98694

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX