<?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>OpenKB::Server Technical Papers &#187; CPANEL</title>
	<atom:link href="http://www.openkb.org/category/cpanel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.openkb.org</link>
	<description>Computer , server issues and solutions</description>
	<lastBuildDate>Sat, 17 Jul 2010 21:16:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>PHP upload: Files are assigned to nobody</title>
		<link>http://www.openkb.org/php-upload-files-are-assigned-to-nobody/</link>
		<comments>http://www.openkb.org/php-upload-files-are-assigned-to-nobody/#comments</comments>
		<pubDate>Tue, 11 May 2010 10:09:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CPANEL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=784</guid>
		<description><![CDATA[PHP uploaded files will generally get uploaded with the user nobody when using mod_php. This is the apache module for PHP which means the file will be uploaded with the apache user. In order to work around this you can modify your code to chown the file to the appropriate ftp user. The best option [...]]]></description>
			<content:encoded><![CDATA[<p>PHP uploaded files will generally get uploaded with the user nobody when using mod_php. This is the apache module for PHP which means the file will be uploaded with the apache user. In order to work around this you can modify your code to chown the file to the appropriate ftp user. The best option is to use PHP in FCGI mode or install SuPHP. This will ensure the files will always upload using the folder owner id. </p>
<p>Using cpanel this can be installed using the easyapache tool. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/php-upload-files-are-assigned-to-nobody/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Couldn’t load Template::Stash::XS 2.20</title>
		<link>http://www.openkb.org/couldn%e2%80%99t-load-templatestashxs-2-20/</link>
		<comments>http://www.openkb.org/couldn%e2%80%99t-load-templatestashxs-2-20/#comments</comments>
		<pubDate>Mon, 10 May 2010 10:07:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CPANEL]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=782</guid>
		<description><![CDATA[error: Can’t locate loadable object for module Template::Stash::XS in @INC (@INC contains: /usr/local/cpanel /scripts /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.8.8/i686-linux/DynaLoader.pm l ===========solution ===== Delete source file of perl module “XS.pm”located at /usr/lib/perl5/site_perl/5.8.8/Template/Stash/ Absolute path should be /usr/lib/perl5/site_perl/5.8.8/Template/Stash/XS.pm Then install perl module by cPanel script /scripts/perlinstaller /scripts/perlinstaller Template::Stash:XS.pm. It can also [...]]]></description>
			<content:encoded><![CDATA[<p>error:<br />
Can’t locate loadable object for module Template::Stash::XS in @INC (@INC contains: /usr/local/cpanel /scripts /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.8.8/i686-linux/DynaLoader.pm l</p>
<p>===========solution =====</p>
<p>Delete source file of perl module “XS.pm”located at /usr/lib/perl5/site_perl/5.8.8/Template/Stash/<br />
Absolute path should be /usr/lib/perl5/site_perl/5.8.8/Template/Stash/XS.pm<br />
Then install perl module by cPanel script /scripts/perlinstaller<br />
/scripts/perlinstaller Template::Stash:XS.pm. It can also install from the WHM<br />
Once it install just update cPanel by using command /scripts/upcp –force</p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/couldn%e2%80%99t-load-templatestashxs-2-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cpanel &#124; php 5.3/mysql5 issues</title>
		<link>http://www.openkb.org/cpanel-php-5-3mysql5-issues/</link>
		<comments>http://www.openkb.org/cpanel-php-5-3mysql5-issues/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 02:11:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CPANEL]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=755</guid>
		<description><![CDATA[Issues found after upgrading cpanel/php to version 5.3 -Zend optimizer is not currently supported * Sucks -The mysql Script /usr/bin/mysql_fix_privilege_tables need to be ran -modec can not access the database anymore error: etc/cron.hourly/modsecparse.pl: DBI connect(&#8216;modsec:localhost&#8217;,'modsec&#8217;,&#8230;) failed: Access denied for user &#8216;modsec&#8217;@'localhost&#8217; (using password: YES) at /etc/cron.hourly/modsecparse.pl line 19 fix: nano /etc/cron.hourly/modsecparse.pl phpMyAdmin click Privileges > [...]]]></description>
			<content:encoded><![CDATA[<p>Issues found after upgrading cpanel/php to version 5.3 </p>
<p>-Zend optimizer is not currently supported * Sucks<br />
-The mysql Script<br />
/usr/bin/mysql_fix_privilege_tables   need to be ran </p>
<p>-modec can not access the database anymore<br />
error:<br />
etc/cron.hourly/modsecparse.pl:</p>
<p>DBI connect(&#8216;modsec:localhost&#8217;,'modsec&#8217;,&#8230;) failed: Access denied for user &#8216;modsec&#8217;@'localhost&#8217; (using password: YES) at /etc/cron.hourly/modsecparse.pl line 19</p>
<p>fix:<br />
nano /etc/cron.hourly/modsecparse.pl<br />
phpMyAdmin click Privileges > M > and edit the user Modsec. Change the password to whatever the password was in the aforementioned modsecparse.pl. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/cpanel-php-5-3mysql5-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cpanel: boxtrapper error Invalid zero length lock file</title>
		<link>http://www.openkb.org/cpanel-boxtrapper-error-invalid-zero-length-lock-file/</link>
		<comments>http://www.openkb.org/cpanel-boxtrapper-error-invalid-zero-length-lock-file/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 18:27:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CPANEL]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=640</guid>
		<description><![CDATA[error: Invalid zero length lock file /home/emailne/etc/email.net/user/.boxtrapper/loopprotect.lock detected. at /usr/local/cpanel/Cpanel/SafeFile.pm line 162 Solution: Disable the boxtrapper for the user and make sure the user has enough storage available. Then renable  the user. We have seen this mostly on cpanel servers.]]></description>
			<content:encoded><![CDATA[<p>error: Invalid zero length lock file /home/emailne/etc/email.net/user/.boxtrapper/loopprotect.lock detected. at /usr/local/cpanel/Cpanel/SafeFile.pm line 162</p>
<p>Solution: Disable the boxtrapper for the user and make sure the user has enough storage available. Then renable  the user.</p>
<p>We have seen this mostly on cpanel servers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/cpanel-boxtrapper-error-invalid-zero-length-lock-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cpanel: change outgoing mail ip address</title>
		<link>http://www.openkb.org/cpanel-change-outgoing-mail-ip-address/</link>
		<comments>http://www.openkb.org/cpanel-change-outgoing-mail-ip-address/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 18:08:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CPANEL]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=615</guid>
		<description><![CDATA[/etc/mailips domain2.tld: #.#.#.2 sub.domain2.tld: #.#.#.2 addondomain.tld: #.#.#.2 other.domain3.tld: #.#.#.3 *: #.#.#.1]]></description>
			<content:encoded><![CDATA[<p>/etc/mailips</p>
<pre style="border: 1px inset; margin: 0px; padding: 0px; overflow: auto; width: 300px; height: 98px; text-align: left;" dir="ltr">domain2.tld: #.#.#.2
sub.domain2.tld: #.#.#.2
addondomain.tld: #.#.#.2
other.domain3.tld: #.#.#.3
*: #.#.#.1</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/cpanel-change-outgoing-mail-ip-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: installing magicwand</title>
		<link>http://www.openkb.org/php-installing-magicwand/</link>
		<comments>http://www.openkb.org/php-installing-magicwand/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 15:24:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CPANEL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=324</guid>
		<description><![CDATA[** REQUIRED ** ImageMagick version :: 6.3.5-9 Last-known-good ImageMagick version :: 6.3.5-9 1.) Check out the latest version from magicwand servers svn co https://www.imagemagick.org/subversion/MagickWandForPHP/branches/MagickWandForPHP-1.0.7 MagickWandForPHP-1.0.7 I would recommend going to http://magickwand.org/ to verify the latest version , at the time of the post the latest was 1.0.7 2.) untar the compressed file using tar xvzf [...]]]></description>
			<content:encoded><![CDATA[<p>** REQUIRED ** ImageMagick version :: 6.3.5-9<br />
Last-known-good ImageMagick version :: 6.3.5-9</p>
<p>1.) Check out the latest version from magicwand servers</p>
<p>svn co https://www.imagemagick.org/subversion/MagickWandForPHP/branches/MagickWandForPHP-1.0.7 MagickWandForPHP-1.0.7</p>
<p>I would recommend going to http://magickwand.org/ to verify the latest version , at the time of the post the latest was 1.0.7</p>
<p>2.) untar the compressed file using tar xvzf filename.tar.gz</p>
<p>3.) cd into the new folder and run phpize<br />
4.) run ./configure<br />
5.) make<br />
6.) make test<br />
7.) make install<br />
8.) make clean</p>
<p>note * on cpanel the make install will install the extension in /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ *<br />
for all other distros you will need to move the magickwand.so to your extension folder. you can locate your current ext_dir by issuing the following command php-config &#8211;extension-dir</p>
<p>or added the following to your php.ini file<br />
9) add extension=magickwand.so  ** you may need to note the dir location of the module such as =/folder/magickwand.so<br />
<a href="http://magickwand.org/"> Magicwand </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/php-installing-magicwand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cpanel: change Default page</title>
		<link>http://www.openkb.org/cpanel-change-default-page/</link>
		<comments>http://www.openkb.org/cpanel-change-default-page/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 00:55:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CPANEL]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=288</guid>
		<description><![CDATA[The default page is located at /usr/local/apache/htdocs/ I would not recommend change the docroot within the httpd.conf file as this may get reset during apache updates.]]></description>
			<content:encoded><![CDATA[<p>The default page is located at /usr/local/apache/htdocs/</p>
<p>I would not recommend change the docroot within the httpd.conf file as this may get reset during apache updates. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/cpanel-change-default-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cpanel: lowest numbered MX record points to local host</title>
		<link>http://www.openkb.org/cpanel-lowest-numbered-mx-record-points-to-local-host/</link>
		<comments>http://www.openkb.org/cpanel-lowest-numbered-mx-record-points-to-local-host/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 17:47:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CPANEL]]></category>

		<guid isPermaLink="false">http://blog.masadmin1.com/?p=177</guid>
		<description><![CDATA[error using a remote mail server while being hosted on a cpanel server. you will need to remove the domain from the localdomains file. You will then need to add the same domain to the remotedomains file. or rejected RCPT &#60;user@domain.com&#62;: lowest numbered MX record points to local host or error 451 solution make sure [...]]]></description>
			<content:encoded><![CDATA[<p>error<br />
using a remote mail server while being hosted on a cpanel server. you will need to remove the domain from the localdomains file. You will then need to add the same domain to the remotedomains file.<br />
or<br />
rejected RCPT &lt;user@domain.com&gt;: lowest numbered MX record points to local host or error 451</p>
<p>solution</p>
<p>make sure the domain exist in /etc/localdomains  if it does not , adding the domain should fix this error</p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/cpanel-lowest-numbered-mx-record-points-to-local-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cpanel:  Account Creation Status: failed (Unable to add group</title>
		<link>http://www.openkb.org/cpanel-account-creation-status-failed-unable-to-add-group/</link>
		<comments>http://www.openkb.org/cpanel-account-creation-status-failed-unable-to-add-group/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 00:14:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CPANEL]]></category>

		<guid isPermaLink="false">http://blog.masadmin1.com/?p=131</guid>
		<description><![CDATA[Error: Account Creation Status: failed (Unable to add group Solution: Uninstall ncsd using the following commmand rpm -e ncsd Then remove any locked under /etc rm -f *.lock you may have a ptmp file under /etc also this will need to be removed or renamed. Restart the server and try to create the account again [...]]]></description>
			<content:encoded><![CDATA[<p>Error:<br />
Account Creation Status: failed (Unable to add group</p>
<p>Solution:</p>
<p>Uninstall ncsd using the following commmand </p>
<p>rpm -e ncsd </p>
<p>Then remove any locked under /etc<br />
rm -f *.lock</p>
<p>you may have a ptmp file under /etc also this will need to be removed or renamed. </p>
<p>Restart the server and try to create the account again </p>
<p>NCSD is caching the passwd file and cpanel is unable to write to it . </p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/cpanel-account-creation-status-failed-unable-to-add-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fantastico: Premature end of script headers</title>
		<link>http://www.openkb.org/fantastico-premature-end-of-script-headers/</link>
		<comments>http://www.openkb.org/fantastico-premature-end-of-script-headers/#comments</comments>
		<pubDate>Tue, 27 May 2008 00:54:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CPANEL]]></category>

		<guid isPermaLink="false">http://blog.masadmin1.com/?p=126</guid>
		<description><![CDATA[Premature end of script headers: /usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi: Please check /usr/local/cpanel/logs/error_log for the exact error. Solution: run /scripts/checkperlmodules This is caused due to missing perl modules Also run if the above does not work 2) Upgrade YAML::Syck and File::Copy::Recursive: 1) /scripts/realperlinstaller YAML::Syck 2) /scripts/realperlinstaller File::Copy::Recursive]]></description>
			<content:encoded><![CDATA[<p>Premature end of script headers: /usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi: Please check /usr/local/cpanel/logs/error_log for the exact error.</p>
<p>Solution:<br />
run /scripts/checkperlmodules</p>
<p>This is caused due to missing perl modules<br />
Also run if the above does not work<br />
2) Upgrade YAML::Syck and File::Copy::Recursive:<br />
1) /scripts/realperlinstaller YAML::Syck<br />
2) /scripts/realperlinstaller File::Copy::Recursive</p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/fantastico-premature-end-of-script-headers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
