<?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>Linux Servers cPanel webhosting blog &#187; Common errors</title>
	<atom:link href="http://www.theperfectarts.com/category/all-common-errors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theperfectarts.com</link>
	<description>Basics cPanel tutorials / issue,mysql,php errors etc</description>
	<lastBuildDate>Wed, 08 Feb 2012 05:58:30 +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>Mysql tuner to tune mysql service</title>
		<link>http://www.theperfectarts.com/2011/12/mysql-tuner-to-tune-mysql-service/</link>
		<comments>http://www.theperfectarts.com/2011/12/mysql-tuner-to-tune-mysql-service/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 05:42:46 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Common errors]]></category>
		<category><![CDATA[Dedicated Server Issue]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1783</guid>
		<description><![CDATA[Install the mysql tuner to tune the mysql service to avoid any memory usage due to incorrect settings in the /etc/my.cnf file. Login in to the server as root user and download the mysqltuner.pl file root@linux7802 [~]# cd /usr/local/src/ root@linux7802 [/usr/local/src]# wget -O mysqltuner.pl mysqltuner.pl root@linux7802 [/usr/local/src]# perl mysqltuner.pl Above command will give you the [...]]]></description>
			<content:encoded><![CDATA[<p>Install the mysql tuner to tune the mysql service to avoid any memory usage due to incorrect settings in the /etc/my.cnf file.</p>
<p>Login in to the server as root user and download the mysqltuner.pl file</p>
<p><strong>root@linux7802 [~]# cd /usr/local/src/</strong></p>
<p><strong>root@linux7802 [/usr/local/src]# wget -O mysqltuner.pl mysqltuner.pl</strong></p>
<p><strong>root@linux7802 [/usr/local/src]# perl mysqltuner.pl</strong></p>
<p>Above command will give you the statistics as well as recommendations to improve the server perfomance</p>
<p>Refer to the following image to example of statistics</p>
<p><a href="http://www.theperfectarts.com/wp-content/uploads/2011/12/mysqltune.png"><img class="size-medium wp-image-1784 alignleft" title="mysqltune" src="http://www.theperfectarts.com/wp-content/uploads/2011/12/mysqltune-300x153.png" alt="statistics" width="300" height="153" /></a></p>
<p><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script><br />
<script type="text/javascript">// <![CDATA[
      var _gaq = _gaq || [];   _gaq.push(['_setAccount', 'UA-27772211-1']);   _gaq.push(['_trackPageview']);   (function() {     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);   })();
// ]]&gt;</script></p>
<p>For recommendations example refer to the following image and made the necessary changes in the /etc/my.cnf file and retest the script to check, if issue resolved or not&#8230;&#8230;</p>
<div id="attachment_1789" class="wp-caption alignleft" style="width: 310px"><a href="http://www.theperfectarts.com/wp-content/uploads/2011/12/recommendations1.png"><img class="size-medium wp-image-1789" title="recommendations" src="http://www.theperfectarts.com/wp-content/uploads/2011/12/recommendations1-300x153.png" alt="recommendations" width="300" height="153" /></a><p class="wp-caption-text">Its an example for recommendations</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Note : Most of the time it recommend to optimize the mysql at that time use the following command but make sure that you have talen backup for the /var/lib/mysql directory to avoid any problem.</p>
<p><strong>mysqlcheck &#8211;optimize -A</strong></p>
<p>&nbsp;</p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2011/12/mysql-tuner-to-tune-mysql-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable mod gzip  and mod deflate module</title>
		<link>http://www.theperfectarts.com/2011/12/enable-mod-gzip-and-mod-deflate-module/</link>
		<comments>http://www.theperfectarts.com/2011/12/enable-mod-gzip-and-mod-deflate-module/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 05:51:34 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Common errors]]></category>
		<category><![CDATA[Install server side software / script]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1754</guid>
		<description><![CDATA[The server load is normal but web pages are loading very slow due to heavy web size therefore at that time, we can enable the web page compression for the hosting account. To enable the compress make sure that mod_deflate module. To install the mod_deflate module refer the following setps. Login in to the server [...]]]></description>
			<content:encoded><![CDATA[<p>The server load is normal but web pages are loading very slow due to heavy web size therefore at that time, we can enable the web page compression for the hosting account. To enable the compress make sure that mod_deflate module.</p>
<p>To install the mod_deflate module refer the following setps.</p>
<p>Login in to the server as root user and run /scripts/easyapache script to recompile the Apache web server.</p>
<p><strong>root@linux7802 [~]# /scripts/easyapache</strong></p>
<p>Select the <strong>&#8220;Deflate&#8221;</strong> option available under the<strong> &#8220;Apache Built-in Modules&#8221;</strong> as soon as Apache recompiled login in to domain hosting account under which you are facing the problem.</p>
<p>For example the linux7802.com domain having the slow web page loading issue therefore we can create the new .htaccess file or edit the existing .htaccess file and add the following code.</p>
<blockquote><p><strong>#compress all text &amp; html:</strong><br />
<strong>AddOutputFilterByType DEFLATE text/html text/plain text/xml</strong><br />
<strong># Or, compress certain file types by extension:</strong><br />
<strong>&lt;Files *.html&gt;</strong><br />
<strong>SetOutputFilter DEFLATE</strong><br />
<strong>&lt;/Files&gt;</strong></p></blockquote>
<p><script type="text/javascript">// <![CDATA[
    google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p><script type="text/javascript">// <![CDATA[
   var _gaq = _gaq || [];   _gaq.push(['_setAccount', 'UA-27772211-1']);   _gaq.push(['_trackPageview']);   (function() {     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);   })();
// ]]&gt;</script><br />
Check the following file</p>
<p><strong>root@linux7802 [/home/linux780/public_html]# cat .htaccess</strong><br />
<strong> #compress all text &amp; html:</strong><br />
<strong> AddOutputFilterByType DEFLATE text/html text/plain text/xml</strong><br />
<strong> # Or, compress certain file types by extension:</strong><br />
<strong> &lt;Files *.html&gt;</strong><br />
<strong> SetOutputFilter DEFLATE</strong><br />
<strong> &lt;/Files&gt;</strong></p>
<p>We can also use the following code in the .htaccess file</p>
<blockquote><p><strong>#compress all text &amp; html:</strong><br />
<strong>AddOutputFilterByType DEFLATE text/html text/plain text/xml</strong><br />
<strong># Or, compress certain file types by extension:</strong><br />
<strong>&lt;FilesMatch &#8220;\\.(js|css|html|htm|php|xml)$&#8221;&gt;</strong><br />
<strong>SetOutputFilter DEFLATE</strong><br />
<strong>&lt;/Files&gt;</strong></p></blockquote>
<p>After adding the above check the web page compression by using the following URL</p>
<p><strong>http://www.gidnetwork.com/tools/gzip-test.php</strong></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2011/12/enable-mod-gzip-and-mod-deflate-module/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Update the webalizer logs manually</title>
		<link>http://www.theperfectarts.com/2011/12/update-the-webalizer-logs-manually/</link>
		<comments>http://www.theperfectarts.com/2011/12/update-the-webalizer-logs-manually/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 10:22:19 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Common errors]]></category>
		<category><![CDATA[cPanel + cPanel scripts]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[cpanel webalizer logs update]]></category>
		<category><![CDATA[recover webalizer logs]]></category>
		<category><![CDATA[resolve probem for webalizer on cPanel server]]></category>
		<category><![CDATA[resolve webalizer issue]]></category>
		<category><![CDATA[run webalizer logs]]></category>
		<category><![CDATA[Update the webalizer]]></category>
		<category><![CDATA[update the webalizer logs for the single domain]]></category>
		<category><![CDATA[webalizer manully update]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1744</guid>
		<description><![CDATA[To update the webalizer for the single domain refer the following steps, for your kind information if domlogs are rotated on the server then it could be possible that you will miss the existing stats therefore run the command after taking all the essential files backups. root@server [~]#/usr/local/cpanel/3rdparty/bin/webalizer /usr/local/apache/domlogs/DomainName -n DomainName For example we are [...]]]></description>
			<content:encoded><![CDATA[<p>To update the webalizer for the single domain refer the following steps, for your kind information if domlogs are rotated on the server then it could be possible that you will miss the existing stats therefore run the command after taking all the essential files backups.</p>
<p><strong>root@server [~]#/usr/local/cpanel/3rdparty/bin/webalizer /usr/local/apache/domlogs/DomainName -n DomainName</strong></p>
<p>For example we are runnning the webalizer for the theperfectarts.com domain<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1685490665026631";
/* Big images */
google_ad_slot = "0185136902";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p><script type="text/javascript">// <![CDATA[
     var _gaq = _gaq || [];   _gaq.push(['_setAccount', 'UA-27772211-1']);   _gaq.push(['_trackPageview']);   (function() {     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);   })();
// ]]&gt;</script></p>
<p><strong>root@server [~]#/usr/local/cpanel/3rdparty/bin/webalizer /usr/local/apache/domlogs/theperfectarts.com -n theperfectarts.com</strong></p>
<p>Once above command run successfuly run the following command</p>
<p><strong>root@server [~]#/usr/local/cpanel/startup</strong></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2011/12/update-the-webalizer-logs-manually/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redirect loop and LimitInternalRecursion error message.</title>
		<link>http://www.theperfectarts.com/2010/09/redirect-loop-and-limitinternalrecursion-error-message/</link>
		<comments>http://www.theperfectarts.com/2010/09/redirect-loop-and-limitinternalrecursion-error-message/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 11:06:37 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Common errors]]></category>
		<category><![CDATA[.htaccess file]]></category>
		<category><![CDATA[apache error redirect loop]]></category>
		<category><![CDATA[increase the limit of redirect]]></category>
		<category><![CDATA[loop error message]]></category>
		<category><![CDATA[Redirect loop]]></category>
		<category><![CDATA[Redirect loop message]]></category>
		<category><![CDATA[redirect not working]]></category>
		<category><![CDATA[Request exceeded the limit of 10 internal redirects]]></category>
		<category><![CDATA[Use 'LimitInternalRecursion']]></category>
		<category><![CDATA[Use 'LogLevel debug' to get a backtrace]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1167</guid>
		<description><![CDATA[Most of the time we receive following redirect loop error message. Request exceeded the limit of 10 internal redirects due to probable configuration error. Use &#8216;LimitInternalRecursion&#8217; to increase the limit if necessary. Use &#8216;LogLevel debug&#8217; to get a backtrace To avoid above error message simply use following code in .htaccess file. RewriteCond %{ENV:REDIRECT_STATUS} 100 RewriteRule [...]]]></description>
			<content:encoded><![CDATA[<p>Most of the time we receive following redirect loop error message.</p>
<input type="hidden" name="IL_RELATED_TAGS" value="1"/>
<p><strong>Request exceeded the limit of 10 internal redirects due to probable configuration error. Use &#8216;LimitInternalRecursion&#8217; to increase the limit if necessary. Use &#8216;LogLevel debug&#8217; to get a backtrace</strong><br />
To avoid above error message simply use following code in .htaccess file.</p>
<p>RewriteCond %{ENV:REDIRECT_STATUS} 100</p>
<blockquote>
<pre>RewriteRule .* - [L]</pre>
</blockquote>
<p><strong><br />
</strong></p>
<input type="hidden" name="IL_RELATED_TAGS" value="1"/>
    <script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/09/redirect-loop-and-limitinternalrecursion-error-message/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Horde Failed to connect to localhost:25 error message</title>
		<link>http://www.theperfectarts.com/2010/08/horde-failed-to-connect-to-localhost25-error-message/</link>
		<comments>http://www.theperfectarts.com/2010/08/horde-failed-to-connect-to-localhost25-error-message/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 06:02:26 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Common errors]]></category>
		<category><![CDATA[E-mails issue]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[/usr/local/cpanel/base/horde/imp/config]]></category>
		<category><![CDATA[block smtpport 25 port]]></category>
		<category><![CDATA[change SMTP port from 25 to new SMTP port]]></category>
		<category><![CDATA[change smtpport]]></category>
		<category><![CDATA[enable secondary port for exim]]></category>
		<category><![CDATA[exim conf]]></category>
		<category><![CDATA[hoarde config file]]></category>
		<category><![CDATA[Hoarde Failed to connect to localhost:25]]></category>
		<category><![CDATA[hoarde smtpport issue]]></category>
		<category><![CDATA[Hoarde webmail SMTP: Invalid response code received from server (code: 421]]></category>
		<category><![CDATA[Hoarde webmailerror sending your message]]></category>
		<category><![CDATA[how to enable smtpport]]></category>
		<category><![CDATA[open another smtp for Squirrelmail]]></category>
		<category><![CDATA[open another smtp port]]></category>
		<category><![CDATA[response: Too many concurrent SMTP connections; please try again later]]></category>
		<category><![CDATA[servers.php for hoarde]]></category>
		<category><![CDATA[smtpport]]></category>
		<category><![CDATA[Squirrelmail]]></category>
		<category><![CDATA[Squirrelmail error]]></category>
		<category><![CDATA[Squirrelmail issue]]></category>
		<category><![CDATA[Squirrelmail mail issue]]></category>
		<category><![CDATA[Squirrelmail not able to send mail]]></category>
		<category><![CDATA[Squirrelmail port 25 block]]></category>
		<category><![CDATA[what is smtpport]]></category>
		<category><![CDATA[why smtpport 25 connectoin error]]></category>
		<category><![CDATA[why smtpport block]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1111</guid>
		<description><![CDATA[On Shared server as well  as on Dedicated server some time we are facing large connection issue to SMTP port 25 at that time mostly we disable SMTP port 25 and enable any other port for SMTP but after changing SMTP port mostly we receive following error message in Horde webmail. There was an error [...]]]></description>
			<content:encoded><![CDATA[<p>On Shared server as well  as on Dedicated server some time we are facing large connection issue to SMTP port 25 at that time mostly we disable SMTP port 25 and enable any other port for SMTP but after changing SMTP port mostly we receive following error message in Horde webmail.</p>
<blockquote><p><span style="color: #800080;">There was an error sending your message: Failed to connect  to localhost:25 [SMTP: Invalid response code received from server (code: 421,  response: Too many concurrent SMTP connections; please try again  later.)]</span></p></blockquote>
<p>To resolve above error simply change SMTP port from 25 to new SMTP port  in following file.</p>
<p><strong>root@server [/usr/local/cpanel/base/horde/imp/config</strong><strong>]# Pico servers.php</strong></p>
<p><strong>And change following line</strong></p>
<p><strong>From</strong></p>
<p><strong>&#8216;smtpport&#8217; =&gt; 25,</strong></p>
<p><strong>To</strong></p>
<p><strong>&#8216;smtpport&#8217; =&gt; 26,</strong></p>
<p>We have taken new port as 26 for example you can use any port as per your requirement.</p>
<p>Similar problem with<strong> &#8220;Squirrelmail</strong>&#8221; then refer following steps.</p>
<p><strong>root@server [/usr/local/cpanel/base/3rdparty/squirrelmail/config]#pico c</strong><strong>onfig_default.php</strong></p>
<p><strong>Change following line </strong></p>
<p><strong>From</strong></p>
<p><strong>$smtpPort = 25;</strong></p>
<p><strong>To </strong></p>
<p><strong>$smtpPort = 26;</strong></p>
<p>Save file and exit and now open the webmail.</p>
<p><strong><br />
</strong><br />
<script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/08/horde-failed-to-connect-to-localhost25-error-message/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New subdomain missing cgi-bin directory.</title>
		<link>http://www.theperfectarts.com/2010/07/new-subdomain-missing-cgi-bin-directory/</link>
		<comments>http://www.theperfectarts.com/2010/07/new-subdomain-missing-cgi-bin-directory/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 02:32:23 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Common errors]]></category>
		<category><![CDATA[cPanel + cPanel scripts]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[Account Functions]]></category>
		<category><![CDATA[Basic cPanel/WHM Setup]]></category>
		<category><![CDATA[CGI Script Alias section]]></category>
		<category><![CDATA[Modify An Account]]></category>
		<category><![CDATA[New subdomain missing cgi-bin directory]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1085</guid>
		<description><![CDATA[While creating new subdomain from cPanel we are missing cgi-bin directory. At that time refer following steps. Login in to WHM and check the domains hosting account package allow &#8220;CGI Privilege&#8221; or not. If not then enable &#8220;CGI Privilege&#8221; by editing packages. WHM &#62;&#62; Account Functions &#62;&#62; Modify An Account and select the user from [...]]]></description>
			<content:encoded><![CDATA[<p>While creating new subdomain from cPanel we are missing cgi-bin directory. At that time refer following steps.</p>
<p>Login in to WHM and check the domains hosting account package allow &#8220;CGI Privilege&#8221; or not. If not then enable &#8220;CGI Privilege&#8221; by editing packages.</p>
<p><strong>WHM &gt;&gt; Account Functions &gt;&gt; Modify An Account and select the user from list and check box following option.</strong></p>
<p>CGI Privilege</p>
<p>And save the package. Now you will able to creaet subdomain with the cgi-bin directory.</p>
<p><strong>Note : As well as plesae set &#8220;Y&#8221; in WHM &gt;&gt;  Main &gt;&gt; Server Configuration &gt;&gt; Basic cPanel/WHM Setup  &gt;&gt;CGI Script Alias section.</strong><br />
<script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><strong>CGI Script Alias</strong> <span>*</span> Automatically create a cgi-bin script alias. This setting can be individually overridden during account creation.</p>
<ul>
<li>y &#8211; Yes</li>
<li>n &#8211; No</li>
</ul>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/07/new-subdomain-missing-cgi-bin-directory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SuExec server permission issue?</title>
		<link>http://www.theperfectarts.com/2010/07/suexec-server-permission-issue/</link>
		<comments>http://www.theperfectarts.com/2010/07/suexec-server-permission-issue/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 21:56:09 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Common errors]]></category>
		<category><![CDATA[Linux Permissions]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[/etc/trueuserdomains file]]></category>
		<category><![CDATA[500 Internal Server Error]]></category>
		<category><![CDATA[cat /etc/trueuserdomains file]]></category>
		<category><![CDATA[cPanel users files/directories ownership]]></category>
		<category><![CDATA[files directories ownership]]></category>
		<category><![CDATA[permission issue]]></category>
		<category><![CDATA[set 644 permission]]></category>
		<category><![CDATA[set 755 permission]]></category>
		<category><![CDATA[set default permission for files/directories]]></category>
		<category><![CDATA[SuExec server permission issue]]></category>
		<category><![CDATA[trueuserdomains]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1077</guid>
		<description><![CDATA[After enabling SuExec on server most users getting &#8220;500 Internal Server Error&#8221; at that time refer following steps. 1st)  Correct cPanel users files/directories ownership. —— for i  in `cat /etc/trueuserdomains   &#124; awk ‘{print $2}’` do chown $i.$i /home/$i -R; chown $i.mail /home/$i/etc -R; chown $i.nobody /home/$i/public_html; done; —– 2nd) Correct permission for files and directories [...]]]></description>
			<content:encoded><![CDATA[<p>After enabling SuExec on server most users getting &#8220;500 Internal Server Error&#8221; at that time refer following steps.</p>
<p>1st)  Correct cPanel users files/directories ownership.</p>
<p>——</p>
<p><strong>for i  in `cat /etc/trueuserdomains   | awk ‘{print $2}’`<br />
do<br />
chown $i.$i /home/$i -R;<br />
chown $i.mail /home/$i/etc -R;<br />
chown $i.nobody /home/$i/public_html;<br />
done;</strong></p>
<p>—–</p>
<p>2nd) Correct permission for files and directories for cPanel users from shell but make sure that you logged in as root user and running following command in /home partition.</p>
<p><strong>—–</strong></p>
<p><strong>find . -type d  -perm 777 -exec chmod 755 {} \;</strong></p>
<p><strong>find . -type  f  -perm 644 -exec chmod 755 {} \;</strong></p>
<p><strong>—–</strong></p>
<p><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/07/suexec-server-permission-issue/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JoomlaFCK editor is not working?</title>
		<link>http://www.theperfectarts.com/2010/05/joomlafck-editor-is-not-working/</link>
		<comments>http://www.theperfectarts.com/2010/05/joomlafck-editor-is-not-working/#comments</comments>
		<pubDate>Mon, 17 May 2010 20:34:00 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Common errors]]></category>
		<category><![CDATA[Third party script issue]]></category>
		<category><![CDATA[joomla editor]]></category>
		<category><![CDATA[JoomlaFCK]]></category>
		<category><![CDATA[JoomlaFCK not working]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1037</guid>
		<description><![CDATA[Some time JoomlaFCK editor is not allowing to add any text after installing Joomla. Refer following steps to sort out the JoomlaFCK problems. Open configuration.php file and replace following line From var $live_site = &#8216;http://domain.com&#8217;; To var $live_site = &#8216;http://www.domain.com&#8217;; &#169;2012 Linux Servers cPanel webhosting blog. All Rights Reserved..]]></description>
			<content:encoded><![CDATA[<p>Some time JoomlaFCK editor is not allowing to add any text after installing Joomla. Refer following steps to sort out the JoomlaFCK problems.</p>
<p>Open configuration.php file and replace following line</p>
<p>From</p>
<p><strong>var $live_site = &#8216;http://domain.com&#8217;;</strong><br />
<script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>To</p>
<p><strong>var $live_site = &#8216;http://www.domain.com&#8217;;</strong></p>
<input type="hidden" name="IL_RELATED_TAGS" value="1" />
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/05/joomlafck-editor-is-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ownership wrong for cPanel users.</title>
		<link>http://www.theperfectarts.com/2010/04/ownership-wrong-for-cpanel-users/</link>
		<comments>http://www.theperfectarts.com/2010/04/ownership-wrong-for-cpanel-users/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 04:53:53 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Common errors]]></category>
		<category><![CDATA[cPanel + cPanel scripts]]></category>
		<category><![CDATA[cpanel user]]></category>
		<category><![CDATA[nobody]]></category>
		<category><![CDATA[Ownership]]></category>
		<category><![CDATA[pid wrong]]></category>
		<category><![CDATA[trueuserdomains]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1003</guid>
		<description><![CDATA[Sometime when we migrate the servers by using rsync we face ownership problems for cPanel users files/directories. At that time we can use following command from shell to resolve issue within few minutes. &#8212;&#8212; for i  in `cat /etc/trueuserdomains   &#124; awk &#8216;{print $2}&#8217;` do chown $i.$i /home/$i -R; chown $i.mail /home/$i/etc -R; chown $i.nobody /home/$i/public_html; [...]]]></description>
			<content:encoded><![CDATA[<p>Sometime when we migrate the servers by using rsync we face ownership problems for cPanel users files/directories. At that time we can use following command from shell to resolve issue within few minutes.</p>
<p>&#8212;&#8212;</p>
<p><strong>for i  in `cat /etc/trueuserdomains   | awk &#8216;{print $2}&#8217;`<br />
do<br />
chown $i.$i /home/$i -R;<br />
chown $i.mail /home/$i/etc -R;<br />
chown $i.nobody /home/$i/public_html;<br />
done;</strong></p>
<input type="hidden" name="IL_RELATED_TAGS" value="1"/>
&#8212;&#8211;</p>
<p>Make sure that you are using root login details to run above command.<br />
<script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/04/ownership-wrong-for-cpanel-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maximum file limit reach while starting Apache?</title>
		<link>http://www.theperfectarts.com/2009/12/maximum-file-limit-reach-while-starting-apache/</link>
		<comments>http://www.theperfectarts.com/2009/12/maximum-file-limit-reach-while-starting-apache/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 11:35:34 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Common errors]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=792</guid>
		<description><![CDATA[Maximum file limit reach error is occur while we are starting the Apache server at that time you can fix the issue by using root login details. root@gunjan[~]#pico /etc/sysctl.conf Add following line as fs.file-max = 22992 Save and exit from the file. You need to run following command from shell to active changes. root@gunjan[~]#sysctl -p [...]]]></description>
			<content:encoded><![CDATA[<p>Maximum file limit reach error is occur while we are starting the Apache server at that time you can fix the issue by using root login details.</p>
<p><span style="color: #800000;">root@gunjan[~]#pico  /etc/sysctl.conf</span><br />
Add following line as</p>
<p><span style="color: #800000;">fs.file-max = 22992</span></p>
<p>Save and exit from the file.</p>
<p>You need to run following command from shell to active changes.</p>
<p><span style="color: #800000;">root@gunjan[~]#sysctl -p</span><br />
It will increase the maximum number of open files for your Server.</p>
<p><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/12/maximum-file-limit-reach-while-starting-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

