Nginx 1.2.8 has been released with 4 bugfixes. See the full Changelog for more details.
As a consequence, Dotdeb’s packages of Nginx 1.2.8 are now available for Debian 6.0 “Squeeze” (amd64/i386) with the following changes :
- The config of the default vhost is now ok by default (see [Edit]).
- The X-rid header module has been added to all the Nginx flavors.
- The
chunkin-nginx-module,headers-more-nginx-module,nginx-cache-purge,nginx-echo,nginx-lua,nginx-push-stream-moduleandngx_http_substitution_filter_modulemodules have been updated.
As usual, if you want to know which module has been included in each Nginx flavor, you just have to look at this document.
[Edit] A minor update ( 1.2.8-1~dotdeb.2) has been published :
- it now displays errors at startup, if any
- the
ipv6onlytypo has been fixed, the default vhost now works perfectly.
On upgrade (nginx-full) I got the same error as Cronner.
Three other problems.
Everything looks fine now so tried a restart and now I am getting:
/etc/init.d/nginx restart [….] Restarting nginx: nginxnginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] still could not bind()
Did fuser -n tcp 80 and found 4 running processes so I tried a nginx stop. Output said it stopped but it didn’t so I did a kill -9 for each pid and then a nginx restart and everything was fine.
Not really sure why this happened but at least I found a fix for it. Credit to http://ibnuyahya.com/nginx-emerg-bind-to-0-0-0-080-failed-98-address-already-in-use/
Terry
I’ve also got nginx -v 1.2.7
apt-get dist-upgrade fixed it.