<?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>Wed, 25 Apr 2012 09:31:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</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 style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fibnuyahya.com%2Fnginx-emerg-bind-to-0-0-0-080-failed-98-address-already-in-use%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe></div>
					<div style="float:left; width:50px; padding-left:10px;" class="really_simple_share_facebook_like_send">
					<fb:send href="http://ibnuyahya.com/nginx-emerg-bind-to-0-0-0-080-failed-98-address-already-in-use/" font=""></fb:send></div><div class="really_simple_share_google1" style="width:80px;"><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="really_simple_share_twitter" style="width:100px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						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/" 
						data-via=""  ></a></div><div class="really_simple_share_linkedin" style="width:100px;"><script type="IN/Share" data-counter="right" data-url="http://ibnuyahya.com/nginx-emerg-bind-to-0-0-0-080-failed-98-address-already-in-use/"></script></div><div class="really_simple_share_digg" style="width:100px;"><script type="text/javascript" src="http://widgets.digg.com/buttons.js"></script>
					<a class="DiggThisButton DiggCompact" href="http://digg.com/submit?url=http://ibnuyahya.com/nginx-emerg-bind-to-0-0-0-080-failed-98-address-already-in-use/&amp;title=nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)"></a></div></div>
		<div style="clear:both;"></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>5</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 4/20 queries in 0.004 seconds using apc
Object Caching 381/392 objects using apc

Served from: _ @ 2012-05-20 05:20:52 -->
