› NGINX
› NGINX Trac
› 3rd Party Modules
› Security Advisories
› CHANGES
› OpenResty
› ngx_lua
› Tengine
在线学习资源
› NGINX 开发从入门到精通
NGINX Modules
› ngx_echo
o618
V2EX  ›  NGINX

还是nginx的问题?

  •  
  •   o618 · Jan 30, 2014 · 6973 views
    This topic created in 4662 days ago, the information mentioned may be changed or developed.
    配置好后用nginx -t,提示the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1,怎么办?
    4 replies  •  1970-01-01 08:00:00 +08:00
    Livid
    Livid
    MOD
    PRO
    Jan 30, 2014
    1
    你的当前用户不是 root?
    hadoop
    hadoop
    Jan 30, 2014
    2
    nginx启动时change user失败了,说明你没有权限;用root或者sudo启动吧
    sarices
    sarices
    Jan 30, 2014
    3
    权限问题,看看这里http://nigelzeng.iteye.com/blog/1666957 看看有没有帮助
    fire9
    fire9
    Jan 30, 2014
    4
    要么用root检查参数是否正确,要么你普通用户有sudo权限。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1282 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 19:58 · PVG 03:58 · LAX 11:58 · JFK 14:58
    ♥ Do have faith in what you're doing.