nginx in ubuntu (trusty) 14.04

Richard Ibbotson richard.ibbotson at gmail.com
Thu Mar 13 20:11:51 UTC 2014


On Thursday 13 Mar 2014 10:05:22 Jeroen Ooms wrote: 
> 2014/03/13 16:11:01 [emerg] 14625#0: bind() to 0.0.0.0:80 failed
> (98: Address already in use)
> 2014/03/13 16:11:01 [emerg] 14625#0: bind() to [::]:80 failed (98:
> Address already in use)
> 2014/03/13 16:11:01 [emerg] 14625#0: bind() to 0.0.0.0:80 failed
> (98: Address already in use)
> 2014/03/13 16:11:01 [emerg] 14625#0: bind() to [::]:80 failed (98:
> Address already in use)
> 2014/03/13 16:11:01 [emerg] 14625#0: still could not bind()
> 
> However the strange thing is that the default configuration of nginx
> on Ubuntu does not include any sites running on port 80 (because
> Apache uses this port). In previous versions of Ubuntu I have never
> seen these messages. So I don't quite understand where these errors
> are coming from.
> 
> Anyone familiar with the nginx package in Ubuntu can explain?

Not really but...  After upgrading last Friday I found something 
similar and also got "bad gateway 502" and php5-fpm segfaulted and 
crashed.  A downgrade to the Ubuntu 12.04 version of PHP5 fixed it.  
All a bit strange.  The present beta version of 14.04 would seem to be 
very wobbly just now.  I tried to build from the PHP source but that 
crashed after running make.

I think that explains where I was going wrong.  I didn't know that 
php5-fpm was broken in the 14.04 version.  Finally got some web pages 
out of NGINX the other day.  

-- 
Richard
Sheffield UK

https://twitter.com/SleepyPenguin1



More information about the nginx mailing list