xarrow
V2EX  ›  问与答

ubuntu 搭建一个 nginx 反向代理,重启了下,现在 nginx 启动不了,怎么解决?

  •  
  •   xarrow · Sep 15, 2014 · 3084 views
    This topic created in 4258 days ago, the information mentioned may be changed or developed.
    PS:80,443 全都开放,用 lsof -i:80 发现nginx没有占用
    6 replies    2014-09-15 18:45:43 +08:00
    ryd994
        1
    ryd994  
       Sep 15, 2014
    看\var\log\nginx\error呢?说什么?
    一般就是忘个;的事
    alex321
        2
    alex321  
       Sep 15, 2014
    log 是你的好帮手、。
    hjc4869
        3
    hjc4869  
       Sep 15, 2014
    直接输入nginx命令启动,看看报什么错。
    rentaro
        4
    rentaro  
       Sep 15, 2014
    nginx -t

    /var/log/nginx/error
    akira
        5
    akira  
       Sep 15, 2014
    nginx -t
    tail /var/log/nginx/error
    damajia
        6
    damajia  
       Sep 15, 2014
    硬盘满了?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1132 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 115ms · UTC 18:09 · PVG 02:09 · LAX 11:09 · JFK 14:09
    ♥ Do have faith in what you're doing.