HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   nginx will not start after update today (http://www.howtoforge.com/forums/showthread.php?t=60538)

rlischer 13th February 2013 02:05

nginx will not start after update today
 
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

MaddinXx 13th February 2013 02:12

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

rlischer 13th February 2013 02:26

Quote:

Originally Posted by MaddinXx (Post 291961)
It might have missed stopping nginx before upgrading. Rebooting the server may help to avoid this error.

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

onastvar 13th February 2013 09:19

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

/etc/nginx/sites-available/default

from
Code:

listen [::]:80 default_server;
to
Code:

#listen [::]:80 default_server;
restart nginx

Code:

/etc/init.d/nginx restart

rlischer 13th February 2013 14:40

That did it! Thank you!


All times are GMT +2. The time now is 20:57.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.