<?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>Two Drifters &#187; eAccelerator</title>
	<atom:link href="http://blog.ideaday.de/max/tag/eaccelerator/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ideaday.de/max</link>
	<description>Off to see the world.</description>
	<lastBuildDate>Sun, 05 Feb 2012 16:48:05 +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>Apache 2 not starting</title>
		<link>http://blog.ideaday.de/max/2011/03/apache-2-not-starting/</link>
		<comments>http://blog.ideaday.de/max/2011/03/apache-2-not-starting/#comments</comments>
		<pubDate>Tue, 22 Mar 2011 17:57:32 +0000</pubDate>
		<dc:creator>Max</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[Administration]]></category>
		<category><![CDATA[Apache2]]></category>
		<category><![CDATA[eAccelerator]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[problem]]></category>

		<guid isPermaLink="false">http://blog.ideaday.de/max/2011/03/apache-2-not-starting/</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.ideaday.de/max/2011/03/apache-2-not-starting/' addthis:title='Apache 2 not starting '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>After doing a apt-get upgrade your Apache does not start / does not serve connections? Read on! somesystem.root# /etc/init.d/apache2 start Starting web server: apache2[Tue Mar 22 18:18:02 2011] (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logsfailed! Binding to adress 0.0.0.0:80 means accepting [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://blog.ideaday.de/max/2011/03/apache-2-not-starting/' addthis:title='Apache 2 not starting ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.ideaday.de/max/2011/03/apache-2-not-starting/' addthis:title='Apache 2 not starting '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div><p>After doing a apt-get upgrade your Apache does not start / does not serve connections? <strong>Read on!</strong></p>
<blockquote>
<p><strong>somesystem.root# /etc/init.d/apache2 start</strong><br />
Starting web server: apache2[Tue Mar 22 18:18:02 2011]<br />
<em>(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80<br />
no listening sockets available, shutting down<br />
Unable to open logs<br /></em>failed!</p>
</blockquote>
<p>Binding to adress <em>0.0.0.0:80</em> means accepting all connections. There is nothing wrong here, nor probably in the Apache setup files &#8211; which have been correct before.</p>
<p>The error can be caused by Apache 2 <strong>already running!</strong> Try <strong>ps awx</strong> to see all processes, look for Apache 2 and perhaps rotatelogs.</p>
<p>After killing the processes using <strong>kill -9 pid_one pid_two</strong> (replace pid_one pid_two with the appropriate process ids &#8211; you can specify multiple at once) try starting apache again (using <strong>apache2ctl -k start</strong> for instance).</p>
<p>This time Apache should start without problems. <strong>But it will not serve requests, and the Apache PID may not be written</strong>. (Thus, apache2ctl will assume that Apache is not yet running!)</p>
<p>Check your error log for the last entries. In my case the following entry was the key to fixing the problem:</p>
<blockquote>
<p><em>PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.6-1+lenny3. Rebuild it for your PHP version (5.2.6-1+lenny10) or download precompiled binaries.</em></p>
<p><em>in Unknown on line 0<br />
PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0</em></p>
</blockquote>
<p>PHP's error was blocking the whole Apache! The quick solution for this particular problem (yours may be different) was to edit <strong>/etc/php5/apache2/php.ini</strong> and comment the lines setting up eAccelerator. (You need to use ";" as comment character for this file).</p>
<p>After the fix, killing the running Apache process(es), and starting Apache again, it resumed normal operation.</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://blog.ideaday.de/max/2011/03/apache-2-not-starting/' addthis:title='Apache 2 not starting ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.ideaday.de/max/2011/03/apache-2-not-starting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Concrete5 and eAccelaror</title>
		<link>http://blog.ideaday.de/max/2010/02/concrete5-and-eaccelaror/</link>
		<comments>http://blog.ideaday.de/max/2010/02/concrete5-and-eaccelaror/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 13:10:38 +0000</pubDate>
		<dc:creator>Max</dc:creator>
				<category><![CDATA[Concrete 5]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Concrete5]]></category>
		<category><![CDATA[eAccelerator]]></category>
		<category><![CDATA[PHP error]]></category>

		<guid isPermaLink="false">http://blog.ideaday.de/max/2010/02/concrete5-and-eaccelaror/</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.ideaday.de/max/2010/02/concrete5-and-eaccelaror/' addthis:title='Concrete5 and eAccelaror '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>As of v. 5.3.3.1 the experimental eAccelerator cache does not work for me. It yields: [09-Feb-2010 14:07:34] PHP Fatal error: Call to undefined function eaccelerator_put() in /web/vhosts/0-idd-res/concrete5.3.3.1/concrete/libraries/cache/eaccelerator.php on line 60<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://blog.ideaday.de/max/2010/02/concrete5-and-eaccelaror/' addthis:title='Concrete5 and eAccelaror ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.ideaday.de/max/2010/02/concrete5-and-eaccelaror/' addthis:title='Concrete5 and eAccelaror '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div><p>As of v. 5.3.3.1 the experimental <strong>eAccelerator</strong> cache does not work for me. It yields:</p>
<blockquote>
<p>[09-Feb-2010 14:07:34] PHP Fatal error: Call to undefined function eaccelerator_put() in /web/vhosts/0-idd-res/concrete5.3.3.1/concrete/libraries/cache/eaccelerator.php on line 60</p>
</blockquote>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://blog.ideaday.de/max/2010/02/concrete5-and-eaccelaror/' addthis:title='Concrete5 and eAccelaror ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.ideaday.de/max/2010/02/concrete5-and-eaccelaror/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/32 queries in 0.016 seconds using disk: basic
Object Caching 405/470 objects using disk: basic
Content Delivery Network via ideadayblog.ideaday.netdna-cdn.com

Served from: blog.ideaday.de @ 2012-02-06 19:37:03 -->
