<?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>Web Hosting Tutorials &#187; Cpanel</title>
	<atom:link href="http://www.webhostingbyte.com/category/cpanel/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webhostingbyte.com</link>
	<description>Web Hosting Tips and Tutorials</description>
	<lastBuildDate>Mon, 22 Feb 2010 11:46:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Missing Accounts From WHM</title>
		<link>http://www.webhostingbyte.com/missing-accounts-from-whm-70.html</link>
		<comments>http://www.webhostingbyte.com/missing-accounts-from-whm-70.html#comments</comments>
		<pubDate>Mon, 22 Feb 2010 11:46:57 +0000</pubDate>
		<dc:creator>Rui Soares</dc:creator>
				<category><![CDATA[Apache Administration]]></category>
		<category><![CDATA[Cpanel]]></category>

		<guid isPermaLink="false">http://www.webhostingbyte.com/?p=70</guid>
		<description><![CDATA[If you list accounts and one of your accounts is missing, run this command in the shell:

/scripts/rebuildcpusers

]]></description>
			<content:encoded><![CDATA[<p>If you list accounts and one of your accounts is missing, run this command in the shell:</p>
<pre class="brush: php">
/scripts/rebuildcpusers
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.webhostingbyte.com/missing-accounts-from-whm-70.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable Mod_Security In .htaccess</title>
		<link>http://www.webhostingbyte.com/disable-mod_security-in-htaccess-68.html</link>
		<comments>http://www.webhostingbyte.com/disable-mod_security-in-htaccess-68.html#comments</comments>
		<pubDate>Fri, 20 Nov 2009 15:49:06 +0000</pubDate>
		<dc:creator>Rui Soares</dc:creator>
				<category><![CDATA[Apache Administration]]></category>
		<category><![CDATA[Cpanel]]></category>

		<guid isPermaLink="false">http://www.webhostingbyte.com/?p=68</guid>
		<description><![CDATA[This post adresses the issue of disabling mod_security on a per account basis. Just add this code to a .htaccess file:

SecFilterEngine Off
SecFilterScanPOST Off

]]></description>
			<content:encoded><![CDATA[<p>This post adresses the issue of disabling mod_security on a per account basis. Just add this code to a .htaccess file:</p>
<pre class="brush: php">
SecFilterEngine Off
SecFilterScanPOST Off
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.webhostingbyte.com/disable-mod_security-in-htaccess-68.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wrong Datatype Error In Fantastico</title>
		<link>http://www.webhostingbyte.com/wrong-datatype-error-in-fantastico-65.html</link>
		<comments>http://www.webhostingbyte.com/wrong-datatype-error-in-fantastico-65.html#comments</comments>
		<pubDate>Thu, 05 Nov 2009 14:16:59 +0000</pubDate>
		<dc:creator>Rui Soares</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Fantastico Administration]]></category>
		<category><![CDATA[ioncube loader]]></category>

		<guid isPermaLink="false">http://www.webhostingbyte.com/?p=65</guid>
		<description><![CDATA[Fix for the Wrong Datatype Error in Fantastico.]]></description>
			<content:encoded><![CDATA[<p>If you receive a Wrong Datatype in /tmp/ message in your fantastico, here&#8217;s the fix:</p>
<p>Login to WHM and check in Tweak Settings if Ioncube PHP Loader is selected. It should be.</p>
<p>If that solved the issue, Goodbye. If it didn&#8217;t, Hello! </p>
<p>SSH to your server as root and run this command:</p>
<pre class="brush: php">
/scripts/makecpphp
</pre>
<p>That should fix your problem. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhostingbyte.com/wrong-datatype-error-in-fantastico-65.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Correct Permission Problem In Suphp</title>
		<link>http://www.webhostingbyte.com/correct-permission-suphp-60.html</link>
		<comments>http://www.webhostingbyte.com/correct-permission-suphp-60.html#comments</comments>
		<pubDate>Tue, 03 Nov 2009 16:06:51 +0000</pubDate>
		<dc:creator>Rui Soares</dc:creator>
				<category><![CDATA[Apache Administration]]></category>
		<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[suphp]]></category>

		<guid isPermaLink="false">http://www.webhostingbyte.com/?p=60</guid>
		<description><![CDATA[An easy fix to the internal server error message, in Suphp, when you have files and folders with permission over 755.]]></description>
			<content:encoded><![CDATA[<p>With Suphp, you can&#8217;t have any files or folders with permissions greater than 755. Otherwise, you will get a Internal Server Error. There could be other reasons for that error. You must check the apache error_log. In Centos, you will find that file in /usr/local/apache/logs/error_log.</p>
<p>Confirmed the permission problem, a easy fix is to ssh to the server. Access the public_html folder of the account. And run these commands:</p>
<pre class="brush: php">
find . -type f -exec chmod 644 &#039;{}&#039; \;
find . -type d -exec chmod 755 &#039;{}&#039; \;
</pre>
<p>If you don&#8217;t have ssh access to your shared hosting account, upload a php file to the public_html directory and call the file in the browser. Include this code in the php file:</p>
<pre class="brush: php">
&lt;?
shell_exec(&quot;find . -type d -exec chmod 755 {} \\;&quot;);
shell_exec(&quot;find . -type f -name &#039;*.php&#039; -exec chmod 644 {} \\;&quot;);
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.webhostingbyte.com/correct-permission-suphp-60.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Expired License</title>
		<link>http://www.webhostingbyte.com/expired-license-44.html</link>
		<comments>http://www.webhostingbyte.com/expired-license-44.html#comments</comments>
		<pubDate>Sun, 01 Nov 2009 22:16:55 +0000</pubDate>
		<dc:creator>Rui Soares</dc:creator>
				<category><![CDATA[Cpanel]]></category>

		<guid isPermaLink="false">http://www.webhostingbyte.com/?p=44</guid>
		<description><![CDATA[How to deal with the expired license error in Cpanel and Web Host Manager?]]></description>
			<content:encoded><![CDATA[<p>Have you ever logged into cpanel or whm and found a Expired License message?Why and how to deal with this message?</p>
<p>One of the reasons for the display of this message could be that your cpanel license has expired. Check if that is the case. Cpanel has a tool for you to <a title="Cpanel License Verification System" href="http://www.cpanel.net/apps/verify/" target="_blank">verify if your cpanel license is valid</a>.</p>
<p>Your server&#8217;s main IP address could be different than the licensed IP address or your server could be experiencing problems perfoming dns lookups. SSH to your server and run the following command:</p>
<pre class="brush: php">

curl http://www.cPanel.net/showip.cgi
</pre>
<p>If your main IP is not licensed, you must update your cpanel&#8217;s license information. If you get an error, after running this command, you must check your /etc/hosts and /etc/resolv.conf files.</p>
<p>Also check if your hostname is properly configured. It should have this format: subdomain.domain.com.</p>
<p>Finally, try this command:</p>
<pre class="brush: php">

/usr/local/cpanel/cpkeyclt
</pre>
<p>It will just try to validate the license with cpanel&#8217;s servers. Sometimes, the expired license message is due to temporary connection problems with cpanel&#8217;s servers and the license is not validated. This command will resolve that issue. If you receive an error, you must check why your server is unable to connect with cpanel&#8217;s servers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhostingbyte.com/expired-license-44.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Round Cube Perfomance</title>
		<link>http://www.webhostingbyte.com/round-cube-perfomance-42.html</link>
		<comments>http://www.webhostingbyte.com/round-cube-perfomance-42.html#comments</comments>
		<pubDate>Sun, 01 Nov 2009 22:02:09 +0000</pubDate>
		<dc:creator>Rui Soares</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Email Administration]]></category>
		<category><![CDATA[Round Cube]]></category>

		<guid isPermaLink="false">http://www.webhostingbyte.com/?p=42</guid>
		<description><![CDATA[Cpanel is adding changes to it's Beta Builder to enhance the perfomance of Round Cube. These changes should be published in the Edge Build soon.]]></description>
			<content:encoded><![CDATA[<p>Cpanel has announced a few changes that will <a title="Round Cube Perfomance" href="http://forums.cpanel.net/f5/upcoming-roundcube-performance-enhancement-132629.html" target="_blank">increase the perfomance of Round Cube</a>, dealing with a growing number of reports regarding excessive CPU usage.  The changes have been applied to the Beta Build. And Cpanel will publish these changes to the Edge Build soon.</p>
<p>Round Cube is a very attractive webmail software, due to it&#8217;s AJAX features. I hope they can optimize it&#8217;s resource usage. You can&#8217;t rely on a webmail software that undermines the server&#8217;s perfomance.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhostingbyte.com/round-cube-perfomance-42.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Limit Number Of Emails Per Hour Per Account</title>
		<link>http://www.webhostingbyte.com/number-of-emails-per-account-26.html</link>
		<comments>http://www.webhostingbyte.com/number-of-emails-per-account-26.html#comments</comments>
		<pubDate>Fri, 30 Oct 2009 14:43:29 +0000</pubDate>
		<dc:creator>Rui Soares</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Email Administration]]></category>
		<category><![CDATA[number of emails per hour]]></category>

		<guid isPermaLink="false">http://www.webhostingbyte.com/?p=26</guid>
		<description><![CDATA[How to assign a different limit for a certain account than the limit assigned in Tweak Setting for the number of emails a account can send per hour.]]></description>
			<content:encoded><![CDATA[<p>As you know, you can limit the number of emails any account can send, per hour, in WHM. Just click Tweak Settins, below Server Configuration. But, how do you assign a different value for an individual account, different fro the value assigned to everyother account? You might want to give a certain account a greater limit. Or even restrict that account&#8217;s hability to send emails.</p>
<p>SSH to your server. And open the file /var/cpanel/maxemails. Then just add the code:</p>
<p>domain.com=100</p>
<p>This value will override the default value for this domain. So, if you assigned a 2000 limit in Tweak Settings, domain.com would have a limit of 100.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhostingbyte.com/number-of-emails-per-account-26.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unlimited Disk Space</title>
		<link>http://www.webhostingbyte.com/unlimited-disk-space-15.html</link>
		<comments>http://www.webhostingbyte.com/unlimited-disk-space-15.html#comments</comments>
		<pubDate>Thu, 29 Oct 2009 20:36:34 +0000</pubDate>
		<dc:creator>Rui Soares</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Disk Space Administration]]></category>

		<guid isPermaLink="false">http://www.webhostingbyte.com/?p=15</guid>
		<description><![CDATA[When the disk limit for each account in WHM is unlimited, there's any easy fix. by running with of cpanel's scripts. Learn how to do this.]]></description>
			<content:encoded><![CDATA[<p>Sometimes, you list accounts in WHM and the disk limit of each account is unlimited. That&#8217;s obviously a problem, because you wont be able to limit disk space usage. The fix is normally an easy fix. Just login to your server with ssh and run this command</p>
<pre class="brush: php">
/scripts/fixquotas
</pre>
<p>Usually this script will fix this problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhostingbyte.com/unlimited-disk-space-15.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>/usr Partition Full</title>
		<link>http://www.webhostingbyte.com/usr-partition-full-12.html</link>
		<comments>http://www.webhostingbyte.com/usr-partition-full-12.html#comments</comments>
		<pubDate>Thu, 29 Oct 2009 20:26:50 +0000</pubDate>
		<dc:creator>Rui Soares</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Disk Space Administration]]></category>

		<guid isPermaLink="false">http://www.webhostingbyte.com/?p=12</guid>
		<description><![CDATA[How to free space in the /usr partition. Simple procedures that will help you fix this problem.]]></description>
			<content:encoded><![CDATA[<p>Is your /usr partition full? Or almost full? That could be a problem. Here&#8217;s a way to fix it.</p>
<p>Run:</p>
<pre class="brush: php">
cd /usr/local/apache/logs/
</pre>
<p>List the contents of that directory with ll. Are there any big files? Empty those files. Here&#8217;s an example. If you want to empty error_log for example, just run:</p>
<pre class="brush: php">
echo &gt; error_log
</pre>
<p>You can repeat this procedure in /usr/local/cpanel/logs/. Just empty any large files.</p>
<p>Then go to /usr/local/apache/domlogs/. And list the biggest 10 or 20 files. For the top 10, run:</p>
<pre class="brush: php">
ls -al -SR | head -10 —&gt;
</pre>
<p>Are there any big files? Running awstats for that domain should clear the file. Just run:</p>
<pre class="brush: php">
/scripts/runweblogs user
</pre>
<p>Login to WHM. Check if log rotation is active for apache and cpanel logs.  For apache, click Service Configuration -> Apache Configuration -> Log Rotation. For cpanel, click Service Configuration -> cPanel Log Rotation Configuration.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhostingbyte.com/usr-partition-full-12.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Empty MySQL Backup &#8211; 20 bytes</title>
		<link>http://www.webhostingbyte.com/empty-mysql-backup-3.html</link>
		<comments>http://www.webhostingbyte.com/empty-mysql-backup-3.html#comments</comments>
		<pubDate>Thu, 29 Oct 2009 16:12:29 +0000</pubDate>
		<dc:creator>Rui Soares</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[MySQL Administration]]></category>
		<category><![CDATA[cpanel mysql backup]]></category>

		<guid isPermaLink="false">http://webhostingbyte.com/?p=3</guid>
		<description><![CDATA[Does your cpanel mysql backup generate an empty file? Here's a solution to that problem. ]]></description>
			<content:encoded><![CDATA[<p>If you login to cpanel, download a mysql backup and the backup is empty, try this:</p>
<p>Go to your home directory. You can use cpanel&#8217;s File Manager. Or you can access your home directory through ftp. Find a file called my.cnf. Rename it to my.cnf.backup.</p>
<p>What will happen? You probably changed your cpanel password. The new password was not updated in my.cnf. By deleting this file, the next time you login to cpanel, it will have to recreate it with your new password. And that will solve your mysql backup problem.</p>
<p>The mysql backup process uses that file to access the mysql databases. If the password is incorrect, the cpanel process will be denied access to those databases. You will not see any error, because it&#8217;s not logged in your cpanel interface. But you will get an empty database backup instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhostingbyte.com/empty-mysql-backup-3.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
