xarrow
V2EX  ›  问与答

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

  •  
  •   xarrow · Sep 15, 2014 · 3471 views
    This topic created in 4433 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
    ryd994
    Sep 15, 2014
    1
    看\var\log\nginx\error呢?说什么?
    一般就是忘个;的事
    alex321
    alex321
    Sep 15, 2014
    2
    log 是你的好帮手、。
    hjc4869
    hjc4869
    Sep 15, 2014
    3
    直接输入nginx命令启动,看看报什么错。
    rentaro
    rentaro
    Sep 15, 2014
    4
    nginx -t

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