nginx will not start after update today

Discussion in 'Installation/Configuration' started by rlischer, Feb 13, 2013.

  1. rlischer

    rlischer Member HowtoForge Supporter

    Running Debian Squeeze perfect server with nginx.

    After an routhine update that must have came out today I get this on boot up now:

    restarting nginx: nginx nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)

    Any ideas?

    thank you
     
  2. MaddinXx

    MaddinXx Member HowtoForge Supporter

    It might have missed stopping nginx before upgrading. Rebooting the server may help to avoid this error.
     
  3. rlischer

    rlischer Member HowtoForge Supporter

    I rebooted several times and still get the error. I don't know what the update was, is there a way to remove it?
     
  4. onastvar

    onastvar Member

    I had same issue. I commented out line below from:

    /etc/nginx/sites-available/default

    from
    Code:
    listen [::]:80 default_server;
    to
    Code:
    [COLOR="Red"]#[/COLOR]listen [::]:80 default_server;
    restart nginx

    Code:
    /etc/init.d/nginx restart
     
  5. rlischer

    rlischer Member HowtoForge Supporter

    That did it! Thank you!
     

Share This Page