<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>system reboot! &#187; error</title>
	<atom:link href="http://ibnuyahya.com/tag/error/feed/" rel="self" type="application/rss+xml" />
	<link>http://ibnuyahya.com</link>
	<description>echo help::answer($question)</description>
	<lastBuildDate>Tue, 21 Feb 2012 09:26:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)</title>
		<link>http://ibnuyahya.com/nginx-emerg-bind-to-0-0-0-080-failed-98-address-already-in-use/</link>
		<comments>http://ibnuyahya.com/nginx-emerg-bind-to-0-0-0-080-failed-98-address-already-in-use/#comments</comments>
		<pubDate>Sat, 17 Dec 2011 16:44:35 +0000</pubDate>
		<dc:creator>ibnuyahya</dc:creator>
				<category><![CDATA[nginx]]></category>
		<category><![CDATA[error]]></category>

		<guid isPermaLink="false">http://ibnuyahya.com/?p=544</guid>
		<description><![CDATA[Today I&#8217;m facing the following error message after added custom module to nginx root@ibnuyahya:~# sudo /etc/init.d/nginx restart * Stopping Web Server nginx [OK] * Starting Web Server nginx nginx: [emerg] bind() to 0.0.0.0: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 0.0.0.0:80 [...]]]></description>
			<content:encoded><![CDATA[<div class="simplesocialbuttons">
<div class="simplesocialbutton ssb-button-googleplus"><!-- Google Plus One--><div class="g-plusone" data-size="medium" data-href="http://ibnuyahya.com/nginx-emerg-bind-to-0-0-0-080-failed-98-address-already-in-use/"></div></div>
<div class="simplesocialbutton ssb-button-fblike"><!-- Facebook like--><div class="fb-like" data-href="http://ibnuyahya.com/nginx-emerg-bind-to-0-0-0-080-failed-98-address-already-in-use/" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false"></div></div>
<div class="simplesocialbutton ssb-buttom-twitter"><!-- Twitter--><a href="https://twitter.com/share" class="twitter-share-button" data-text="nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)" data-url="http://ibnuyahya.com/nginx-emerg-bind-to-0-0-0-080-failed-98-address-already-in-use/" rel="nofollow"></a></div>
</div>
<p>Today I&#8217;m facing the following error message after added custom module to nginx</p>
<pre class="brush:bash">
root@ibnuyahya:~# sudo /etc/init.d/nginx restart
 * Stopping Web Server nginx [OK]
 * Starting Web Server nginx                                                                                                                                                         nginx: [emerg] bind() to 0.0.0.0: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 0.0.0.0: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 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
</pre>
<p>solution?<br />
check running pid</p>
<pre class="brush:bash">
fuser -n tcp 80
80/tcp:              26621 26622
</pre>
<p>Kill</p>
<pre class="brush:bash">
root@ibnuyahya:~# kill -9 26621
root@ibnuyahya:~# kill -9 26622
</pre>
<p>restart nginx</p>
<pre class="brush:bash">
root@ibnuyahya:~# sudo /etc/init.d/nginx restart
</pre>]]></content:encoded>
			<wfw:commentRss>http://ibnuyahya.com/nginx-emerg-bind-to-0-0-0-080-failed-98-address-already-in-use/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc (Feed is rejected)
Page Caching using apc
Database Caching 10/17 queries in 0.002 seconds using apc
Object Caching 351/359 objects using apc

Served from: _ @ 2012-02-23 10:51:15 -->
