<?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>cPanel Admins &#187; EasyApache</title>
	<atom:link href="http://www.cpaneladmins.com/category/apache/easyapache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cpaneladmins.com</link>
	<description>Random Notes for cPanel Admins</description>
	<lastBuildDate>Tue, 01 Feb 2011 02:22:57 +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>info [rebuildhttpdconf] User &#8216;username&#8217; data set has no &#8216;main_domain&#8217; key.</title>
		<link>http://www.cpaneladmins.com/info-rebuildhttpdconf-user-username-data-set-has-no-main_domain-key-2/</link>
		<comments>http://www.cpaneladmins.com/info-rebuildhttpdconf-user-username-data-set-has-no-main_domain-key-2/#comments</comments>
		<pubDate>Sat, 22 May 2010 05:32:31 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[EasyApache]]></category>
		<category><![CDATA[main_domain]]></category>
		<category><![CDATA[userdata]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=313</guid>
		<description><![CDATA[Error: info [rebuildhttpdconf] User &#8216;username&#8217; data set has no &#8216;main_domain&#8217; key. Solution: Check to see if there is a file called &#8220;main&#8221; for the user(s) affected users in /var/cpanel/userdata/username. If it&#8217;s not present, verify the domain exists in httpd.conf, and run /usr/local/cpanel/bin/userdata_update to recreate the &#8220;main&#8221; file based off the apache configuration.]]></description>
			<content:encoded><![CDATA[<p><strong>Error: </strong>info [rebuildhttpdconf] User &#8216;username&#8217; data set has no &#8216;main_domain&#8217; key.</p>
<p><strong>Solution: </strong>Check to see if there is a file called &#8220;main&#8221; for the user(s) affected users in /var/cpanel/userdata/username.</p>
<p>If it&#8217;s not present, verify the domain exists in httpd.conf, and run /usr/local/cpanel/bin/userdata_update to recreate the &#8220;main&#8221; file based off the apache configuration.  </p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.cpaneladmins.com%2Finfo-rebuildhttpdconf-user-username-data-set-has-no-main_domain-key-2%2F&amp;title=info%20%5Brebuildhttpdconf%5D%20User%20%26%238216%3Busername%26%238217%3B%20data%20set%20has%20no%20%26%238216%3Bmain_domain%26%238217%3B%20key." id="wpa2a_2"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/info-rebuildhttpdconf-user-username-data-set-has-no-main_domain-key-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install EAccelerator, IonCube, Zend Optimizer, SourceGuardian, and SuHosin outside of EasyApache</title>
		<link>http://www.cpaneladmins.com/how-to-install-eaccelerator-zend-optimizer-ioncube-on-cpanelr/</link>
		<comments>http://www.cpaneladmins.com/how-to-install-eaccelerator-zend-optimizer-ioncube-on-cpanelr/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 03:41:23 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[EasyApache]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=205</guid>
		<description><![CDATA[Many don&#8217;t know that you don&#8217;t need to run EasyApache to install EAccelerator, IonCube Loader, Zend Optimizer, SourceGuardian, or SuHosin. Why waste your time? You can use /scripts/phpextensionmgr to install or uninstall these modules! # /scripts/phpextensionmgr list Available Extensions: EAccelerator IonCubeLoader Zendopt SourceGuardian PHPSuHosin So, if you wanted to install Zend Optimizer, you&#8217;d run: # [...]]]></description>
			<content:encoded><![CDATA[<p>Many don&#8217;t know that you don&#8217;t need to run EasyApache to install EAccelerator, IonCube Loader, Zend Optimizer, SourceGuardian, or SuHosin.  Why waste your time? </p>
<p>You can use /scripts/phpextensionmgr to install or uninstall these modules!</p>
<p><code># /scripts/phpextensionmgr list<br />
Available Extensions:<br />
EAccelerator<br />
IonCubeLoader<br />
Zendopt<br />
SourceGuardian<br />
PHPSuHosin<br />
</code></p>
<p>So, if you wanted to install Zend Optimizer, you&#8217;d run:</p>
<p><code># /scripts/phpextensionmgr install Zendopt<br />
Installing Zendopt<br />
Determining PHP version<br />
Installing Zend Optimizer binary<br />
Activating Zend Optimizer in /usr/local/lib/php.ini<br />
Zend Optimizer activated<br />
Skipping install to /usr/local/php4, missing php.ini</code></p>
<p>Easy peasy. <img src='http://www.cpaneladmins.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.cpaneladmins.com%2Fhow-to-install-eaccelerator-zend-optimizer-ioncube-on-cpanelr%2F&amp;title=How%20to%20Install%20EAccelerator%2C%20IonCube%2C%20Zend%20Optimizer%2C%20SourceGuardian%2C%20and%20SuHosin%20outside%20of%20EasyApache" id="wpa2a_4"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/how-to-install-eaccelerator-zend-optimizer-ioncube-on-cpanelr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>configure: error: Problem with libXpm.(a&#124;so) or libX11.(a&#124;so)</title>
		<link>http://www.cpaneladmins.com/configure-error-problem-with-libxpm-aso-or-libx11-aso/</link>
		<comments>http://www.cpaneladmins.com/configure-error-problem-with-libxpm-aso-or-libx11-aso/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 05:15:14 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[EasyApache]]></category>
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=141</guid>
		<description><![CDATA[Error: configure: error: Problem with libXpm.(a&#124;so) or libX11.(a&#124;so) This happens most times when compiling with gd enabled for the first time. Reinstall X11 libraries and try again: cd /usr/ports/x11/libX11/ make deinstall make install]]></description>
			<content:encoded><![CDATA[<p>Error: configure: error: Problem with libXpm.(a|so) or libX11.(a|so)</p>
<p>This happens most times when compiling with gd enabled for the first time. Reinstall X11 libraries and try again:<br />
</code><br />
cd /usr/ports/x11/libX11/<br />
make deinstall<br />
make install<br />
</code></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.cpaneladmins.com%2Fconfigure-error-problem-with-libxpm-aso-or-libx11-aso%2F&amp;title=configure%3A%20error%3A%20Problem%20with%20libXpm.%28a%7Cso%29%20or%20libX11.%28a%7Cso%29" id="wpa2a_6"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/configure-error-problem-with-libxpm-aso-or-libx11-aso/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EasyApache Fails Due to YUM Failing</title>
		<link>http://www.cpaneladmins.com/easyapache-fails-due-to-yum-failing/</link>
		<comments>http://www.cpaneladmins.com/easyapache-fails-due-to-yum-failing/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 14:06:49 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[EasyApache]]></category>
		<category><![CDATA[RPM]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=113</guid>
		<description><![CDATA[EasyApache requires a working package manager to be able to run properly, as it needs to confirm several RPMs are up to date before proceeding with the build. !! The server's system package manager, 'YUM', failed. !! !! This is the command that failed: yum --exclude=kernel* -y install aspell aspell-devel automake19 gettext libstdc++.x86_64 libpng-devel openssl [...]]]></description>
			<content:encoded><![CDATA[<p>EasyApache requires a working package manager to be able to run properly, as it needs to confirm several RPMs are up to date before proceeding with the build.</p>
<pre lang=”LANGUAGE” line=”1″ file=”download.txt” colla=”+”>
!! The server's system package manager, 'YUM', failed. !!
!!
This is the command that failed:
	yum --exclude=kernel* -y install aspell aspell-devel automake19 gettext
libstdc++.x86_64 libpng-devel openssl libpng-dev zlib-devel autoconf261
libidn-devel gmake libidn libXpm openssl-devel automake coreutils patch
libltdl3-devel libltdl libopenssl0.9.7-static-devel libtool-ltdl-devel
libXpm-devel sed libXpm-dev lsof krb5-dev flex glibc-dev expat-dev krb5-devel
pspell-devel libstdc++-devel.x64_64 xorg-x11-devel libtool-ltdl libssl-dev
pam-devel libopenssl0-devel zlib1-devel expat-devel pspell libopenssl0-dev
expat glibc-devel gcc-c++ zlib bison libjpeg-devel libtool-libltdl-devel
libtool openssl-dev libopenssl0 libz-devel libjpeg-dev pam-dev fileutils
libltdl-devel libopenssl0.9.7-devel e2fsprogs-devel make libstdc++-dev.x86_64
libX11-devel gd cpp xorg-x11-dev gcc ssl-dev autoconf lex
!!
!!
Since EasyApache was unable to resolve it automatically you should:
	1) Manually run the failed YUM command (shown above) via SSH
        2) See if your particular error is addressed at 

http://www.cpanel.net/support/could_not_ensurepkgs.htm

	3) Resolve the YUM problem manually
	4) Re-run EasyApache
!!
!! Please visit 

http://www.cpanel.net/support/could_not_ensurepkgs.htm

 for help with this error. !!

!! Restoring original working apache !!
</pre>
<p>First things first.  Try running &#8216;yum -y update&#8217; and see if it completes.  You may see the following when running yum update.</p>
<pre lang=”LANGUAGE” line=”1″ file=”download.txt” colla=”+”>
error: rpmdbNextIterator: skipping h#      27 region trailer: BAD, tag 1507328 type 1507328 offset -1507328 count 1507328
error: rpmdbNextIterator: skipping h#      65 region trailer: BAD, tag 724250418 type 825833527 offset -740320047 count 842150704
error: rpmdbNextIterator: skipping h#      69 region trailer: BAD, tag 942410249 type 1952543335 offset -1702113073 count 842610488
error: rpmdbNextIterator: skipping h#      99 region trailer: BAD, tag 1814980474 type 4544080 offset -1598245200 count 1212502623
</pre>
<p>and so on and so on&#8230;.</p>
<p>Then it&#8217;ll actually show packages that require updates, and experience a segmentation fault.</p>
<pre lang=”LANGUAGE” line=”1″ file=”download.txt” colla=”+”>
---> Package hotplug.x86_64 3:2004_04_01-7.10 set to be updated
---> Package fetchmail.x86_64 0:6.2.5-6.0.1.el4_8.1 set to be updated
--> Running transaction check
Segmentation fault
[root@vps ~]#
</pre>
<p>This means that your RPM database is corrupt, which is easily fixed with the following:</p>
<pre lang=”LANGUAGE” line=”1″ file=”download.txt” colla=”+”>
[root@vps ~]#rm -f /var/lib/rpm/__db.*
[root@vps ~]#rpm -vv --rebuilddb
</pre>
<p>Once that finishes, run &#8216;yum update&#8217; again, and it should complete successfully.  If so, you&#8217;re all set.  Go ahead and retry your easyapache build.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.cpaneladmins.com%2Feasyapache-fails-due-to-yum-failing%2F&amp;title=EasyApache%20Fails%20Due%20to%20YUM%20Failing" id="wpa2a_8"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/easyapache-fails-due-to-yum-failing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

