<?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; cPanel + cPanel scripts</title>
	<atom:link href="http://www.theperfectarts.com/category/cpanel-scripts/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>phpMyAdmin showing the foreach() error</title>
		<link>http://www.theperfectarts.com/2012/02/phpmyadmin-showing-the-foreach-error/</link>
		<comments>http://www.theperfectarts.com/2012/02/phpmyadmin-showing-the-foreach-error/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 17:18:43 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[cPanel + cPanel scripts]]></category>
		<category><![CDATA[Mysql + phpmyadmin]]></category>
		<category><![CDATA[output_buffering error]]></category>
		<category><![CDATA[phpmyadmin session error message]]></category>
		<category><![CDATA[phpMyAdmin showing the foreach() error]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1900</guid>
		<description><![CDATA[After upgrading the cPanel version, the following error is occur when we are browsing the phpMyAdmin. Warning: Invalid argument supplied for foreach() in /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php on line 52 Warning: Invalid argument supplied for foreach() in /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php on line 155 Warning: Cannot modify header information &#8211; headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php:52) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/common.lib.php on [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* Big images */ google_ad_slot = "0185136902"; google_ad_width = 336; google_ad_height = 280;
// ]]&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[
 google_ad_client = "ca-pub-1685490665026631"; /* Big images */ google_ad_slot = "0185136902"; google_ad_width = 336; google_ad_height = 280;
// ]]&gt;</script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script><br />
After upgrading the cPanel version, the following error is occur when we are browsing the phpMyAdmin.</p>
<p><strong>Warning: Invalid argument supplied for foreach() in /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php on line 52</strong></p>
<p>Warning: Invalid argument supplied for foreach() in /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php on line 155</p>
<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php:52) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/common.lib.php on line 1154<strong></strong></p>
<p>To resolve the above error, we can simply enable the output_buffering in the following file.</p>
<p><strong>/usr/local/cpanel/3rdparty/lib/php.ini</strong></p>
<p>Change the <strong>&#8220;output_buffering&#8221;</strong> from <strong>Off to On</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/2012/02/phpmyadmin-showing-the-foreach-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server wide permission issue after enabling suphp</title>
		<link>http://www.theperfectarts.com/2012/01/server-wide-permission-issue-after-enabling-suphp/</link>
		<comments>http://www.theperfectarts.com/2012/01/server-wide-permission-issue-after-enabling-suphp/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 09:24:01 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[cPanel + cPanel scripts]]></category>
		<category><![CDATA[Dedicated Server Issue]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[Linux Permissions]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[resolve 500 Internal Server Error]]></category>
		<category><![CDATA[scrip to correct ownership]]></category>
		<category><![CDATA[script to correct permission]]></category>
		<category><![CDATA[script to correct server wide permission]]></category>
		<category><![CDATA[script to correct user ownership]]></category>
		<category><![CDATA[script to resolve 500 internal server error]]></category>
		<category><![CDATA[script to resolve suphp issue]]></category>
		<category><![CDATA[Server wide .htacces php value issue]]></category>
		<category><![CDATA[Server wide ownership issue]]></category>
		<category><![CDATA[Server wide permission issue]]></category>
		<category><![CDATA[Server wide solution script]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1877</guid>
		<description><![CDATA[After enabling the suphp on the server,many time 500 Internal Server Error occur due to the incorrect permission,ownership and incorrect php module defined in the .htaccess file and we can&#8217;t make the changes manually therefore we can use the following script to make the all the changes server. Login into the server as a root user [...]]]></description>
			<content:encoded><![CDATA[<p><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><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><br />
<script type="text/javascript">// <![CDATA[
            var _gaq = _gaq || [];   _gaq.push(['_setAccount', 'UA-27772211-1']);   _gaq.push(['_trackPageview']);   </p>
<p>(function() {     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;     ga.src = </p>
<p>('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';     var s = </p>
<p>document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);   })();
// ]]&gt;</script><br />
After enabling the suphp on the server,many time 500 Internal Server Error occur due to the incorrect permission,ownership and incorrect php module defined in the .htaccess file and we can&#8217;t make the changes manually therefore we can use the following script to make the all the changes server.</p>
<p>Login into the server as a root user and follow the followings steps.</p>
<blockquote><p>
<strong>linux7802@server[~]#cat /root/suphppermission.sh</strong></p>
<p><strong>#!/bin/bash</strong></p>
<p><strong># Reset the directory permissions.</strong><br />
<strong>chmod 755 /opt/suphp</strong><br />
<strong>find /opt/suphp -type d -exec chmod 755 {} \;</strong></p>
<p><strong># Reset permission,ownership for cPanel user</strong><br />
<strong>for user in `/bin/ls /var/cpanel/users`; do</strong></p>
<p><strong>chown -R ${user}:${user} /home/${user}/public_html</strong><br />
<strong> chmod 755 /home/${user}/public_html</strong><br />
<strong> find /home/${user}/public_html -type f -exec chmod 644 {} \;</strong><br />
<strong> find /home/${user}/public_html -type d -exec chmod 755 {} \;</strong></p>
<p><strong># Remove <strong>php_values in the .htaccess file</strong>.</strong><br />
<strong> find /home/${user}/public_html -name &#8216;.htaccess&#8217; -exec sed -ie &#8216;s/php_value/#php_value/&#8217; {} \;</strong><br />
<strong> find /home/${user}/public_html -name &#8216;.htaccess&#8217; -exec sed -ie &#8216;s/php_flag/#php_flag/&#8217; {} \;</strong><br />
<strong>done</strong></p></blockquote>
<p>If you have any issue to copy the above content the download the script from following URL<br />
<a title="scr" href="http://theperfectarts.com/permission.txt" target="_blank">scr</a></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/2012/01/server-wide-permission-issue-after-enabling-suphp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>cPanel log to check when hosting created and deleted</title>
		<link>http://www.theperfectarts.com/2012/01/cpanel-log-to-check-when-hosting-created-and-deleted/</link>
		<comments>http://www.theperfectarts.com/2012/01/cpanel-log-to-check-when-hosting-created-and-deleted/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 13:28:55 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[cPanel + cPanel scripts]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[accounting.log]]></category>
		<category><![CDATA[accounting.log for security]]></category>
		<category><![CDATA[check hosting account loghs]]></category>
		<category><![CDATA[cpanel accounting.log]]></category>
		<category><![CDATA[delete logs]]></category>
		<category><![CDATA[modify logs]]></category>
		<category><![CDATA[remove logs]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1867</guid>
		<description><![CDATA[In the recent days, we all are facing the hacking issue at that time, we always see problem like account termination from the serve at that time, we can use the following log file to investigate the issue as its providing when hosting account was created, owner changed or account deleted from the server. For [...]]]></description>
			<content:encoded><![CDATA[<p>In the recent days, we all are facing the hacking issue at that time, we always see problem like account termination from the serve at that time, we can use the following log file to investigate the issue as its providing when hosting account was created, owner changed or account deleted from the server.<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[// ]]&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>For example we are checking logs for the domain test123.com and as per the following logs the hosting account for domain test123.com is created by using the root owner on dated <strong>Wed Jan 11 08:19:40 2012 </strong>and onwership is under root</p>
<p><strong>root@linux7802 [~]# cat /var/cpanel/accounting.log | grep test123.com</strong><br />
<strong>Wed Jan 11 08:19:40 2012:CREATE:root:root:test123.com:115.124.103.126:admin111</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><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[// ]]&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>Now we have changed the ownership for the domain test123.com hosting account to linux780 reseller ownership therefore check the following logs</p>
<p><strong>root@linux7802 [~]# cat /var/cpanel/accounting.log | grep test123.com </strong><br />
<strong>Wed Jan 11 08:22:51 2012:CHANGEOWNER:root:root:test123.com:admin111:root:linux780</strong><br />
<!-- Place this tag where you want the +1 button to render --><br />
<g:plusone annotation="inline"></g:plusone></p>
<p><!-- Place this render call where appropriate --><br />
<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>Now we have terminated the hosting account for the domain test123.com by using the root user and its also recorded in the accounting.log</p>
<p><strong>root@linux7802 [~]# cat /var/cpanel/accounting.log | grep test123.com</strong><br />
<strong>Wed Jan 11 08:25:14 2012:REMOVE:root:root:test123.com:admin111</strong></p>
<p>So we can similarly check the logs for all the domains when they have created/modified or removed from the server and its always to better to maintain the accounting.log for future reference.</p>
<p><strong><br />
</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/2012/01/cpanel-log-to-check-when-hosting-created-and-deleted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cPanel file manager giving 404 not found error</title>
		<link>http://www.theperfectarts.com/2012/01/cpanel-file-manager-giving-404-not-found-error/</link>
		<comments>http://www.theperfectarts.com/2012/01/cpanel-file-manager-giving-404-not-found-error/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 16:28:00 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[cPanel + cPanel scripts]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[404 error message in file manager]]></category>
		<category><![CDATA[cpanel 404 error message]]></category>
		<category><![CDATA[cPanel file manager giving 404]]></category>
		<category><![CDATA[resolve 404 error message]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1852</guid>
		<description><![CDATA[While browsing the file manager from the cPanel the 404 not found error message is occur. Not Found The server was not able to find the document (./frontend/x3/index.html) you requested. Please check the url and try again. You might also want to report this error to your web hosting provider. whostmgrd/11.25 As per above error [...]]]></description>
			<content:encoded><![CDATA[<p>While browsing the file manager from the cPanel the 404 not found error message is occur.<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><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>
<blockquote><p><strong>Not Found</strong></p>
<p>The server was not able to find the document (./frontend/x3/index.html) you requested.<br />
Please check the url and try again. You might also want to report this<br />
error to your web hosting provider.</p>
<p>whostmgrd/11.25</p></blockquote>
<p>As per above error message x3 theme is causing the problem therefore simply move the x3 theme and resinstall it by running the upcp, you can rename the theme under which you are facing the problem.<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><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><br />
<strong>linux@server[~]#cd /usr/local/cpanel/base/frontend</strong></p>
<p><strong>linux@server[~]#mv -v x3 x3-corrupt</strong></p>
<p><strong>linux@server[~]#/scripts/upcp &#8211;force</strong></p>
<p>Now browse the file manager, it will work properly.</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/2012/01/cpanel-file-manager-giving-404-not-found-error/feed/</wfw:commentRss>
		<slash:comments>0</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>How to install the imagick on cPanel server and Plesk server</title>
		<link>http://www.theperfectarts.com/2011/11/how-to-install-the-imagick/</link>
		<comments>http://www.theperfectarts.com/2011/11/how-to-install-the-imagick/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 01:05:18 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[cPanel + cPanel scripts]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[cpanel imagick installation]]></category>
		<category><![CDATA[cpanel plesk imagick]]></category>
		<category><![CDATA[Enter your zip code here]]></category>
		<category><![CDATA[imagick configuration on cPanel server]]></category>
		<category><![CDATA[imagick configuration on Plesk server]]></category>
		<category><![CDATA[imagick installation on cpanel]]></category>
		<category><![CDATA[imagick installation on plesk]]></category>
		<category><![CDATA[imagick on cpanel server]]></category>
		<category><![CDATA[imagick on plesk server]]></category>
		<category><![CDATA[imagick with cpanel]]></category>
		<category><![CDATA[install imagick]]></category>
		<category><![CDATA[Install imagick on cPanel server and Plesk server]]></category>
		<category><![CDATA[install imagick on plesk server.imagick on cpanel server]]></category>
		<category><![CDATA[plesk server imagick istallation]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1587</guid>
		<description><![CDATA[We can install the imagick on the server by using the following command from the shell. Login in to the server as root user and run the commands one by one and if you have any problem then let us know.. server@root[~]# cd /usr/local/src server@root[/usr/local/src]#wget http://pecl.php.net/get/imagick-2.2.0.tgz server@root[/usr/local/src]#tar -zxvf imagick-2.2.0.tgz server@root[/usr/local/src]#cd imagick-2.2.0 server@root[/usr/local/src/imagick-2.2.0]#phpize server@root[/usr/local/src/imagick-2.2.0]#./configure server@root[/usr/local/src/imagick-2.2.0]#make server@root[/usr/local/src/imagick-2.2.0]#make [...]]]></description>
			<content:encoded><![CDATA[<p>We can install the imagick on the server by using the following command from the shell.</p>
<p>Login in to the server as root user and run the commands one by one and if you have any problem then let us know..</p>
<blockquote><p><strong>server@root[~]# cd /usr/local/src</strong></p>
<p><strong>server@root[<strong><strong><strong>/usr/local/</strong></strong>src</strong>]#wget http://pecl.php.net/get/imagick-2.2.0.tgz</strong></p>
<p><strong>server@root[<strong>/usr/local/src</strong>]#tar -zxvf imagick-2.2.0.tgz</strong></p>
<p><strong>server@root[<strong>/usr/local/src</strong>]#cd imagick-2.2.0</strong></p>
<p><strong>server@root[<strong>/usr/local/src/</strong><strong>imagick-2.2.0</strong>]#phpize</strong></p>
<p><strong>server@root[<strong><strong>/usr/local/src/</strong><strong>imagick-2.2.0</strong></strong>]#./configure</strong></p>
<p><strong>server@root[<strong><strong>/usr/local/src/</strong><strong>imagick-2.2.0</strong></strong>]#make</strong></p>
<p><strong>server@root[<strong><strong>/usr/local/src/</strong><strong>imagick-2.2.0</strong></strong>]#make install</strong></p></blockquote>
<p><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><br />
If you are installing the imagick on the Plesk server then refer to the following steps.</p>
<blockquote><p><strong>server@root[~]# cd /usr/local/src</strong></p>
<p><strong>server@root[<strong><strong>/usr/local/src</strong><strong></strong></strong>]#wget http://pecl.php.net/get/imagick-2.2.0.tgz</strong></p>
<p><strong>server@root[<strong><strong>/usr/local/src</strong><strong></strong></strong>]#tar -zxvf imagick-2.2.0.tgz</strong></p>
<p><strong>server@root[<strong><strong>/usr/local/src</strong><strong></strong></strong>]#cd imagick-2.2.0</strong></p>
<p><strong>server@root[<strong><strong>/usr/local/src/</strong><strong>imagick-2.2.0</strong></strong>]#yum install php-devel</strong></p>
<p><strong>server@root[<strong><strong>/usr/local/src/</strong><strong>imagick-2.2.0</strong></strong>]#phpize</strong></p>
<p><strong>server@root[<strong><strong>/usr/local/src/</strong><strong>imagick-2.2.0</strong></strong>]#./configure</strong></p>
<p><strong>server@root[<strong><strong>/usr/local/src/</strong><strong>imagick-2.2.0</strong></strong>]#make</strong></p>
<p><strong>server@root[<strong><strong>/usr/local/src/</strong><strong>imagick-2.2.0</strong></strong>]#make install</strong></p></blockquote>
<p>Now create the phpinfo page and check the imagick module installed correctly or not&#8230;.</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/11/how-to-install-the-imagick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nameserver IPs not showing in WHM?</title>
		<link>http://www.theperfectarts.com/2011/06/nameserver-ips-not-showing-in-whm/</link>
		<comments>http://www.theperfectarts.com/2011/06/nameserver-ips-not-showing-in-whm/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 10:23:11 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[cPanel + cPanel scripts]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[check name server]]></category>
		<category><![CDATA[check name servers]]></category>
		<category><![CDATA[cpanel dns]]></category>
		<category><![CDATA[dns check]]></category>
		<category><![CDATA[dns failover]]></category>
		<category><![CDATA[dns name]]></category>
		<category><![CDATA[dns name servers]]></category>
		<category><![CDATA[dns server]]></category>
		<category><![CDATA[dns servers]]></category>
		<category><![CDATA[dns services]]></category>
		<category><![CDATA[ip missing from WHM]]></category>
		<category><![CDATA[IPS not showing in WHM]]></category>
		<category><![CDATA[linux name server]]></category>
		<category><![CDATA[name server check]]></category>
		<category><![CDATA[nameserver ips issue]]></category>
		<category><![CDATA[Nameserver IPs not working]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1260</guid>
		<description><![CDATA[In recent cPanel version &#8220;Nameserver IPs&#8221; section won&#8217;t show ips. All ips are present in /etc/nameserverips file but still ips missing. root@root[~]# cat /etc/nameserverips 198.168.0.1=ns1.test.com 198.168.0.2=ns2.test.com In that case correct ips entry in the following /var/cpanel/nameserverips.yaml file. root@root [~]# cat /var/cpanel/nameserverips.yaml &#8212; ns1.test.com: &#8220;198.168.0.1&#8243;: 1 count: 1 zones: test.com ns2,.test.com: 198.168.0.2: 1 count: 1 zones: [...]]]></description>
			<content:encoded><![CDATA[<p>In recent cPanel version &#8220;Nameserver IPs&#8221; section won&#8217;t show ips. All ips are present in /etc/nameserverips file but still ips missing.</p>
<p><strong>root@root[~]# cat /etc/nameserverips<br />
198.168.0.1=ns1.test.com<br />
198.168.0.2=ns2.test.com</strong></p>
<p>In that case correct ips entry in the following /var/cpanel/nameserverips.yaml file.</p>
<p><strong>root@root [~]# cat /var/cpanel/nameserverips.yaml<br />
&#8212;<br />
ns1.test.com:<br />
  &#8220;198.168.0.1&#8243;: 1<br />
  count: 1<br />
  zones: test.com<br />
ns2,.test.com:<br />
  198.168.0.2: 1<br />
  count: 1<br />
  zones: test.com</strong></p>
<p>Now check nameserver ips in WHM >>  Main >> DNS Functions >> Nameserver IPs.<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1685490665026631";
/* images */
google_ad_slot = "1433358698";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</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/2011/06/nameserver-ips-not-showing-in-whm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rename package names on cPanel server.</title>
		<link>http://www.theperfectarts.com/2010/10/rename-package-names-on-cpanel-server/</link>
		<comments>http://www.theperfectarts.com/2010/10/rename-package-names-on-cpanel-server/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 20:57:04 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[cPanel + cPanel scripts]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[change package name]]></category>
		<category><![CDATA[cpanel hosting account package rename]]></category>
		<category><![CDATA[cPanel package]]></category>
		<category><![CDATA[cpanel package issue]]></category>
		<category><![CDATA[cPanel package name issue]]></category>
		<category><![CDATA[cPanel package rename from shell]]></category>
		<category><![CDATA[how to change cpanel package name]]></category>
		<category><![CDATA[name change for package in cpanel]]></category>
		<category><![CDATA[name package]]></category>
		<category><![CDATA[package name]]></category>
		<category><![CDATA[package name chane]]></category>
		<category><![CDATA[package rename]]></category>
		<category><![CDATA[rename package name. hosting accounrt plan renam]]></category>
		<category><![CDATA[rename user package name]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1192</guid>
		<description><![CDATA[Many time we like to rename package name for our hosting accounts but as hosting account is assigned to large number of user and we can&#8217;t reassign package one by one to all users as its time consuming process at that time we can refer following steps to secure time. First login in to shell [...]]]></description>
			<content:encoded><![CDATA[<p>Many time we like to rename package name for our hosting accounts but as hosting account is assigned to large number of user and we can&#8217;t reassign package one by one to all users as its time consuming process at that time we can refer following steps to secure time.</p>
<p>First login in to shell as root user.</p>
<p><strong>root@server [~]# cd /var/cpanel/packages/</strong></p>
<p>Now rename package for test purpose, we are renaming test_test package to test_support package.</p>
<p><strong>root@server [/var/cpanel/packages]# mv test_test test_support</strong></p>
<p>Now make sure that you reassign package to your users who are currently using test_test package.</p>
<p><strong>root@server [/var/cpanel/packages]# cd /var/cpanel/users</strong></p>
<p>Now search users who are currently using test_test package.</p>
<p><strong>root@server [/var/cpanel/users]# grep test_test * -R<br />
admin12:PLAN=test_test<br />
test12:PLAN=test_test</strong></p>
<p>Now simply run following command to replace all instance for test_test package in users file with new package name test_support</p>
<p><strong>root@server[/var/cpanel/users]#grep test_test * -R -l &gt; rename-packages</strong></p>
<p>The above command will store all users name who currently using test_test package in rename-packages file.</p>
<p><strong>root@server [/var/cpanel/users]# cat rename-packages<br />
admin12<br />
test12</strong></p>
<p>Now create new file packages.sh with the following code.</p>
<p><strong>root@server [/var/cpanel/users]# pico packages.sh</strong></p>
<p><strong>#!/bin/sh<br />
dir=&#8221;/var/cpanel/users/&#8221;<br />
fstr=&#8221;test_test&#8221;<br />
rstr=&#8221;test_support&#8221;<br />
exec 3&lt;&amp;0<br />
exec 0&lt;&#8221;/var/cpanel/users/rename-packages&#8221;<br />
while read LINE ; do<br />
sed -i &#8220;s/$fstr/$rstr/&#8221; &#8220;$LINE&#8221;<br />
done</strong></p>
<p>Set executable permission to file packages.sh file.</p>
<p><strong>root@server [/var/cpanel/users]#chmod 755 packages.sh</strong></p>
<p>Before running packages.sh file check one of the users file and check package name.</p>
<p><strong>root@server [/var/cpanel/users]# cat admin12<br />
# cPanel &#8212; If you edit this file directly you must run /scripts/updateuserdomains afterwards to rebuild the system caches<br />
BWLIMIT=unlimited<br />
CONTACTEMAIL=<br />
CONTACTEMAIL2=<br />
DEMO=0<br />
DNS=server.com<br />
FEATURELIST=default<br />
HASCGI=1<br />
IP=xx.xx.xx.xx<br />
LANG=english<br />
LOCALE=en<br />
MAXADDON=5<br />
MAXFTP=0<br />
MAXLST=0<br />
MAXPARK=0<br />
MAXPOP=0<br />
MAXSQL=0<br />
MAXSUB=0<br />
MTIME=1283914039<br />
MXCHECK-server.com=0<br />
OWNER=root<br />
<strong>PLAN=test_test</strong><br />
RS=x3<br />
STARTDATE=1269778722<br />
USER=admin12</strong></p>
<p>Now run file packages.sh</p>
<p><strong>root@server [/var/cpanel/users]#./packages.sh</strong></p>
<p>After running packages.sh file you can check user file name and found out that package name is changed.</p>
<p><strong>root@server [/var/cpanel/users]# cat admin12<br />
# cPanel &#8212; If you edit this file directly you must run /scripts/updateuserdomains afterwards to rebuild the system caches<br />
BWLIMIT=unlimited<br />
CONTACTEMAIL=<br />
CONTACTEMAIL2=<br />
DEMO=0<br />
DNS=server.com<br />
FEATURELIST=default<br />
HASCGI=1<br />
IP=xx.xx.xx.xx<br />
LANG=english<br />
LOCALE=en<br />
MAXADDON=5<br />
MAXFTP=0<br />
MAXLST=0<br />
MAXPARK=0<br />
MAXPOP=0<br />
MAXSQL=0<br />
MAXSUB=0<br />
MTIME=1283914039<br />
MXCHECK-server.com=0<br />
OWNER=root<br />
<strong>PLAN=test_support</strong><br />
RS=x3<br />
STARTDATE=1269778722<br />
USER=admin12</strong></p>
<p>Note : The above steps useful to rename packages for users , it will not change any value like addon , parked domain limit etc.<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1685490665026631";
/* images */
google_ad_slot = "1433358698";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</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/10/rename-package-names-on-cpanel-server/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>Internal Server Error &#8220;cPanel user&#8221; is over quota.</title>
		<link>http://www.theperfectarts.com/2010/05/internal-server-error-cpanel-user-is-over-quota/</link>
		<comments>http://www.theperfectarts.com/2010/05/internal-server-error-cpanel-user-is-over-quota/#comments</comments>
		<pubDate>Wed, 19 May 2010 19:27:27 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[cPanel + cPanel scripts]]></category>
		<category><![CDATA[/var/cpanel/overquota/]]></category>
		<category><![CDATA[cpanel quota issue]]></category>
		<category><![CDATA[cpanel user 500 internal server error]]></category>
		<category><![CDATA[cpanel user over quota file]]></category>
		<category><![CDATA[cpanel user quota]]></category>
		<category><![CDATA[delete cpanel user over quota file]]></category>
		<category><![CDATA[delete the over quota fle]]></category>
		<category><![CDATA[find over quota path]]></category>
		<category><![CDATA[Internal Server Error "cPanel user" is over quota.]]></category>
		<category><![CDATA[issue with quota]]></category>
		<category><![CDATA[over quota file path]]></category>
		<category><![CDATA[over quota file remove]]></category>
		<category><![CDATA[quota issue]]></category>
		<category><![CDATA[resolve quota issue with the cpanel user]]></category>
		<category><![CDATA[solve quota issue]]></category>
		<category><![CDATA[solve webmail 500 internal error]]></category>
		<category><![CDATA[webmail issue due to the quota]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1047</guid>
		<description><![CDATA[Some time we receive following error message while browsing webmail etc. To resolve above error refer following steps. root@server[~]#cd /var/cpanel/overquota/ root@server [/var/cpanel/overquota]#ll &#124; grep your_cpanel_user_name Once you found out file for your cPanel user name either remove the file or rename it like cpanel_user_name-back etc. And now browse your webmail but make sure that you [...]]]></description>
			<content:encoded><![CDATA[<input type="hidden" name="IL_RELATED_TAGS" value="1" />
<p>Some time we receive following error message while browsing webmail etc.</p>
<input type="hidden" name="IL_RELATED_TAGS" value="1" /> <a href="http://www.theperfectarts.com/wp-content/uploads/2010/05/quota.jpg"><img class="aligncenter size-full wp-image-1048" title="quota" src="http://www.theperfectarts.com/wp-content/uploads/2010/05/quota.jpg" alt="" width="820" height="250" /></a>To resolve above error refer following steps.<br />
root@server[~]#cd /var/cpanel/overquota/</p>
<p>root@server [/var/cpanel/overquota]#ll | grep your_cpanel_user_name<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><br />
Once you found out file for your cPanel user name either remove the file or rename it like cpanel_user_name-back etc.</p>
<p>And now browse your webmail but make sure that you have increased disk space for your domain if its really exceeded.</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/internal-server-error-cpanel-user-is-over-quota/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

