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 · 6739 views
    This topic created in 4519 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
        1
    Livid  
    MOD
    PRO
       Jan 30, 2014
    你的当前用户不是 root?
    hadoop
        2
    hadoop  
       Jan 30, 2014
    nginx启动时change user失败了,说明你没有权限;用root或者sudo启动吧
    sarices
        3
    sarices  
       Jan 30, 2014
    权限问题,看看这里http://nigelzeng.iteye.com/blog/1666957 看看有没有帮助
    fire9
        4
    fire9  
       Jan 30, 2014
    要么用root检查参数是否正确,要么你普通用户有sudo权限。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2718 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 15:43 · PVG 23:43 · LAX 08:43 · JFK 11:43
    ♥ Do have faith in what you're doing.