<?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>The cPanel Admin</title>
	<atom:link href="http://www.thecpaneladmin.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thecpaneladmin.com</link>
	<description>We know stuff about cPanel.</description>
	<lastBuildDate>Mon, 21 Nov 2011 19:50:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>LFD &#8211; High CPU Usage While Sleeping</title>
		<link>http://www.thecpaneladmin.com/lfd-high-cpu-usage-while-sleeping/</link>
		<comments>http://www.thecpaneladmin.com/lfd-high-cpu-usage-while-sleeping/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 13:52:11 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[csf]]></category>
		<category><![CDATA[lfd]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=832</guid>
		<description><![CDATA[After switching several servers over from APF to CSF, my colleagues and I noticed that there are times during the day that LFD just chews away CPU, even while the process claims it&#8217;s &#8220;sleeping&#8221;: root 15785 35.6 0.1 194496 93104 ? Ss 00:00 474:54 lfd &#8211; sleeping 35.6% CPU? What is it possibly doing? In [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/skipping-whm-setup-wizard/' rel='bookmark' title='Skipping the WHM Setup Wizard on New Servers'>Skipping the WHM Setup Wizard on New Servers</a></li>
<li><a href='http://www.thecpaneladmin.com/cpanel-command-line-dns-cluster-management/' rel='bookmark' title='cPanel Command Line DNS and Cluster Management'>cPanel Command Line DNS and Cluster Management</a></li>
<li><a href='http://www.thecpaneladmin.com/fatal-write-failure-valiases/' rel='bookmark' title='Fatal! Write failure for /etc/valiases/..'>Fatal! Write failure for /etc/valiases/..</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>After switching several servers over from APF to CSF, my colleagues and I noticed that there are times during the day that LFD just chews away CPU, even while the process claims it&#8217;s &#8220;sleeping&#8221;:</p>
<p>root     15785<strong> 35.6 </strong> 0.1 194496 93104 ?        Ss   00:00 474:54 lfd &#8211; sleeping</p>
<p>35.6% CPU? What is it possibly doing?</p>
<p>In one of their <a href="http://www.configserver.com/techfaq/faqlist.php?catid=6&amp;faqid=40" target="_blank">FAQs</a>, one of the developers from ConfigServers recommended disabling the following features in the csf.conf file, one by one to help narrow it down:</p>
<p><strong>LF_DIRWATCH = &#8220;0&#8243;</strong><br />
<strong> CT_LIMIT = &#8220;0&#8243;</strong><br />
<strong> LF_HTACCESS = &#8220;0&#8243;</strong><br />
<strong> LF_MODSEC = &#8220;0&#8243;</strong><br />
<strong> LF_DIRWATCH_FILE = &#8220;0&#8243;</strong><br />
<strong> PT_LIMIT = &#8220;0&#8243;</strong></p>
<p>Now, we already had these disabled &#8211; our use of LFD is limited to the downloading of global allow/deny lists only, as we don&#8217;t wish to use CSF for login failure detection at this time.  So it was a bit puzzling at why, even with the main functionality of LFD disabled, it was using so much CPU.</p>
<p>An strace against LFD&#8217;s PID gave us the answer &#8211; it showed that LFD was continually parsing the various log files on the server, seemingly in a never-ending loop.  This appeared to correlate with the &#8220;LD_PARSE&#8221; value of 5 seconds.  When your servers are as large and busy as ours, your log files tend to be huge &#8211; and there&#8217;s no way that CSF is parsing those logs in 5 seconds or less.</p>
<p>To resolve this, we set the <strong>LF_PARSE</strong> value a bit higher to allow it to rest a bit. Since we aren&#8217;t using LFD for login failure tracking, we essentially do not have a need for it to frequently scan the server&#8217;s logs. We haven&#8217;t had a problem with LFD since.</p>
<p>&nbsp;</p>
<p><map name='google_ad_map_832_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/832?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_832_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=832&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Flfd-high-cpu-usage-while-sleeping%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=832&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/skipping-whm-setup-wizard/' rel='bookmark' title='Skipping the WHM Setup Wizard on New Servers'>Skipping the WHM Setup Wizard on New Servers</a></li>
<li><a href='http://www.thecpaneladmin.com/cpanel-command-line-dns-cluster-management/' rel='bookmark' title='cPanel Command Line DNS and Cluster Management'>cPanel Command Line DNS and Cluster Management</a></li>
<li><a href='http://www.thecpaneladmin.com/fatal-write-failure-valiases/' rel='bookmark' title='Fatal! Write failure for /etc/valiases/..'>Fatal! Write failure for /etc/valiases/..</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/lfd-high-cpu-usage-while-sleeping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using DKIM with Exim and cPanel</title>
		<link>http://www.thecpaneladmin.com/using-dkim-with-exim-and-cpanel/</link>
		<comments>http://www.thecpaneladmin.com/using-dkim-with-exim-and-cpanel/#comments</comments>
		<pubDate>Tue, 10 May 2011 20:54:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=818</guid>
		<description><![CDATA[Similar to the intentions of SPF records and DomainKeys, DKIM is intended to authenticate a sender by using a public/private key pair to digitally sign email, therefore increasing deliverability. At this point in time, while SPF records and DomainKeys are supported in cPanel, outgoing authentication with DKIM is not. That being said, please keep the [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/copy-outgoing-email-on-a-cpanel-server-with-exim/' rel='bookmark' title='Copy Outgoing Email on a cPanel Server with Exim'>Copy Outgoing Email on a cPanel Server with Exim</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-domainkeys-spf-records/' rel='bookmark' title='Installing DomainKeys and SPF Records'>Installing DomainKeys and SPF Records</a></li>
<li><a href='http://www.thecpaneladmin.com/changing-exims-sending-ip/' rel='bookmark' title='Changing Exim&#8217;s Sending IP'>Changing Exim&#8217;s Sending IP</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Similar to the intentions of SPF records and DomainKeys, DKIM is intended to authenticate a sender by using a public/private key pair to digitally sign email, therefore increasing deliverability. At this point in time, while SPF records and DomainKeys are supported in cPanel, outgoing authentication with DKIM is not. That being said, please keep the following points in mind while following this tutorial:</p>
<ol>
<li>The cPanel developers indicated that DKIM auth will be a feature in 11.32, therefore, when 11.32 is released it&#8217;s possible that a few steps in this guide will become obsolete</li>
<li>cPanel does not recommend or provide support for some of the changes this tutorial will ask you to make.  As usual, make these changes at your own risk or use our <a href="http://thecpaneladmin.com/consultation">server consultation</a> services for help</li>
</ol>
<h2>Upgrade Exim</h2>
<p>DKIM is supported in Exim 4.70 and higher &#8211; the version current at the time this article was written is 4.69. Therefore, you will need to upgrade.  Hop over to the below URL, locate the latest version of Exim 4.7x, and navigate to the folder that corresponds with your operating system to find the RPM:</p>
<p><a href="http://httpupdate.cpanel.net/exim/" target="_blank">http://httpupdate.cpanel.net/exim/</a></p>
<p>In this case, we downloaded the RPM from:</p>
<p><a href="http://httpupdate.cpanel.net/exim/4.70-4/centos/5.6/exim-4.70-4_cpanel_maildir.i386.rpm" target="_blank">http://httpupdate.cpanel.net/exim/4.70-4/centos/5.6/exim-4.70-4_cpanel_maildir.i386.rpm</a></p>
<p>On your server, run the following command (replace the URL with the one corresponding to the RPM you found)</p>
<p><code>rpm -Uvh http://httpupdate.cpanel.net/exim/4.70-4/centos/5.6/exim-4.70-4_cpanel_maildir.i386.rpm --nodeps</code></p>
<p>Now, verify the version:</p>
<blockquote><p>root@server [~]# rpm -qa |grep -i exim<br />
exim-4.70-4_cpanel_maildir</p></blockquote>
<p>You&#8217;ll also want to keep cPanel from running an Exim update and reverting the version back to 4.69:</p>
<blockquote><p>touch /etc/eximupdisable</p>
<p>&nbsp;</p></blockquote>
<p>If you have existing domains on this server, make sure to move local and remote domains files back:</p>
<blockquote><p>mv -f /etc/localdomains.rpmsave /etc/localdomains<br />
mv -f /etc/remotedomains.rpmsave /etc/remotedomains</p></blockquote>
<p>*If you have trouble installing the RPM due to fetchmail or a conflict with the previously-install Exim package, do</p>
<blockquote><p>yum remove fetchmail</p>
<p>rpm -e exim-4.69-29_cpanel_maildir (replace with the actual name of the old Exim package)</p></blockquote>
<h2>Install DomainKeys</h2>
<p>The topic of how to install DomainKeys was previously covered in <a href="http://www.thecpaneladmin.com/installing-domainkeys-spf-records/">this article</a>. Install the keys for each user, or run a loop as shown in the article to install them for all users.  The keys will be in: <strong>/var/cpanel/domain_keys/[public|private]/$domain</strong> .</p>
<p>&nbsp;</p>
<h2>Configure Exim</h2>
<p>Open <strong>/etc/exim.conf </strong>and near the top, add the following lines:</p>
<blockquote><p>DKIM_DOMAIN = ${lc:${domain:$h_from:}}<br />
DKIM_FILE = /var/cpanel/domain_keys/private/${lc:${domain:$h_from:}}<br />
DKIM_PRIVATE_KEY = ${if exists{DKIM_FILE}{DKIM_FILE}{0}}</p></blockquote>
<p>Then scroll down until you see these lines:</p>
<blockquote><p>remote_smtp:<br />
driver = smtp</p></blockquote>
<p>Replace this with:</p>
<blockquote><p>remote_smtp:<br />
driver = smtp<br />
dkim_domain = DKIM_DOMAIN<br />
dkim_selector = default<br />
dkim_private_key = DKIM_PRIVATE_KEY<br />
dkim_canon = relaxed<br />
dkim_strict = 0</p></blockquote>
<p>Now, restart Exim:</p>
<blockquote><p>service exim restart</p></blockquote>
<p>The additions to exim.conf will use a domain&#8217;s key, if the domain has one, to sign each message with DKIM.</p>
<p>Now, keep in mind that cPanel will overwrite these changes during cPanel updates. You have the following options:</p>
<ul>
<li>Run chattr +ia /etc/exim.conf, OR:</li>
<li>Copy /etc/exim.conf to /root/exim.conf and create a file called <strong>/scripts/posteximup</strong> (and chmod to 700) containing the following code:</li>
</ul>
<blockquote><p>scp -p /root/exim.conf /etc/exim.conf<br />
service exim restart</p></blockquote>
<h2>Verify</h2>
<p>The easiest way to verify the functionality of your new DKIM setup is to send an email from your server to check-auth@verifier.port25.com . You&#8217;ll get an autoresponse back letting you now that everything is working (note that with DKIM, DomainKeys are obsolete so a status of &#8220;neutral&#8221; is normal)</p>
<p><code>﻿SPF check:          pass<br />
DomainKeys check:   neutral<br />
DKIM check:         pass<br />
Sender-ID check:    pass<br />
SpamAssassin check: ham</code></p>
<p><map name='google_ad_map_818_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/818?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_818_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=818&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fusing-dkim-with-exim-and-cpanel%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=818&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/copy-outgoing-email-on-a-cpanel-server-with-exim/' rel='bookmark' title='Copy Outgoing Email on a cPanel Server with Exim'>Copy Outgoing Email on a cPanel Server with Exim</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-domainkeys-spf-records/' rel='bookmark' title='Installing DomainKeys and SPF Records'>Installing DomainKeys and SPF Records</a></li>
<li><a href='http://www.thecpaneladmin.com/changing-exims-sending-ip/' rel='bookmark' title='Changing Exim&#8217;s Sending IP'>Changing Exim&#8217;s Sending IP</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/using-dkim-with-exim-and-cpanel/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Manually Upgrading MySQL</title>
		<link>http://www.thecpaneladmin.com/manually-upgrading-mysql/</link>
		<comments>http://www.thecpaneladmin.com/manually-upgrading-mysql/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 20:22:36 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=804</guid>
		<description><![CDATA[If at all possible, you should use /scripts/mysqlup to do a MySQL upgrade, however, if you need a version of MySQL outside of what they are offering in current cPanel versions, it is possible to upgrade manually. These are the instructions for performing a manual upgrade of MySQL to 5.1.30, but this typically applies to [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/upgrading-downgrading-mysql/' rel='bookmark' title='Upgrading or Downgrading MySQL'>Upgrading or Downgrading MySQL</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-ssl-certificate-mysql/' rel='bookmark' title='Installing an SSL Certificate for MySQL'>Installing an SSL Certificate for MySQL</a></li>
<li><a href='http://www.thecpaneladmin.com/upgrading-openssh-on-centos-5/' rel='bookmark' title='Upgrading OpenSSH on CentOS 5'>Upgrading OpenSSH on CentOS 5</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If at all possible, you should use <a href="http://www.thecpaneladmin.com/upgrading-downgrading-mysql/">/scripts/mysqlup</a> to do a MySQL upgrade, however, if you need a version of MySQL outside of what they are offering in current cPanel versions, it is possible to upgrade manually.<strong><br />
</strong></p>
<p>These are the instructions for performing a manual upgrade of  MySQL to 5.1.30, but this typically applies to all versions over 4.1 and  higher. Typically it is best to upgrade to whatever the latest stable  branch of MySQL is and apply these instructions to install the RPMS.</p>
<p>If this is on a live system, make sure to make backups of the databases.</p>
<p><code><br />
mkdir /root/dbbackups</code></p>
<p><code>touch /root/dbbackups/list<br />
for db in `mysql -e 'show databases' |awk '{print $1}' | grep -v Database`<br />
</code></p>
<p><code> do </code></p>
<p><code>mysqldump --add-drop-table $db &gt; /root/dbbackups/$db.sql &amp;&amp; echo $db &gt;&gt; list<br />
</code><br />
<code> done</code><br />
<code>mkdir /root/sqllibs<br />
cp /usr/lib/libmysqlclient.* /root/sqllibs</code></p>
<p>Do a search for all installed MySQL packages to be removed:<br />
<code>rpm -qa | grep -i mysql-</code></p>
<p>This should present a list of 5 or 6 MySQL RPM&#8217;s that are installed, likely.  Uninstall them one by one with the <strong>rpm -e</strong> like so:<br />
<code>rpm -e MySQL-devel-4.1.21-0.glibc23</code></p>
<p>Some packages are dependencies of each other, so you may need to remove one before being able to remove another.</p>
<p>Download the binaries for the OS version and MySQL version you are using from the cPanel repo:<br />
<a title="http://httpupdate.cpanel.net/mysqlinstall/5.1.30-0" rel="nofollow" href="http://httpupdate.cpanel.net/mysqlinstall/5.1.30-0">http://httpupdate.cpanel.net/mysqlinstall/</a></p>
<p>execute rpm -i for each package (ex: pm -i MySQL-client-5.1.30-0.glibc23.i386.rpm)</p>
<p>Edit <strong>/var/cpanel/cpanel.config</strong> and change the MySQL version to 5.1 (or whatever version you&#8217;re running now).  Then run this command:<br />
<code>touch /etc/mysqlupdisable</code></p>
<p>This will keep cPanel from resetting or reverting back to its original MySQL version during updates.</p>
<p>Restart MySQL first to make sure that it can at least start (which it should).  Once you&#8217;ve verified this, run <strong>mysql -V</strong> to make sure that the correct version is installed.  You should see output similar as below:<br />
<code>root@server [~]# mysql -V<br />
mysql  Ver 14.13 Distrib 5.1.30-beta, for pc-linux-gnu (i686) using readline 5.0<br />
</code></p>
<p>MySQL should now be up and running, but it&#8217;s likely that trying to  log in directly as the root user will fail.  Before Following the below  steps, make sure you can do a &#8216;mysql -u root&#8217; and log in successfully.   If not, you&#8217;ll need to set the root password.  By default, MySQL has a  blank root password which will need to be set to ours&#8230;twice.<br />
Recopy the libs, but <strong>don&#8217;t</strong> overwrite any that already exist:<br />
<code>mv /root/sqllibs/libmysqlclient.* /usr/lib/mysql/</code></p>
<p>Next update cPanel&#8217;s PHP and DBD MySQL bundle for perl by executing the following:<br />
<code>/scripts/perlinstaller --force Bundle::DBD::mysql<br />
/scripts/makecpphp</code></p>
<p>Verify that phpMyAdmin and php -m load properly and without errors.</p>
<p>&nbsp;</p>
<p><map name='google_ad_map_804_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/804?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_804_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=804&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fmanually-upgrading-mysql%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=804&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/upgrading-downgrading-mysql/' rel='bookmark' title='Upgrading or Downgrading MySQL'>Upgrading or Downgrading MySQL</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-ssl-certificate-mysql/' rel='bookmark' title='Installing an SSL Certificate for MySQL'>Installing an SSL Certificate for MySQL</a></li>
<li><a href='http://www.thecpaneladmin.com/upgrading-openssh-on-centos-5/' rel='bookmark' title='Upgrading OpenSSH on CentOS 5'>Upgrading OpenSSH on CentOS 5</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/manually-upgrading-mysql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Removing WHM Disk Space Errors</title>
		<link>http://www.thecpaneladmin.com/removing-whm-disk-space-errors/</link>
		<comments>http://www.thecpaneladmin.com/removing-whm-disk-space-errors/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 17:45:01 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=801</guid>
		<description><![CDATA[If your server is approaching 99% disk space, your users may be aware of this before you are.  At the 1% free margin, the following error will pop up when accessing certain features in cPanel and WHM: Sorry for the inconvience! The filesystem mounted at / on this server is running out of disk space. [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/11-ways-to-free-up-disk-space-on-a-cpanel-server/' rel='bookmark' title='11 Ways to Free Up Disk Space on a cPanel Server'>11 Ways to Free Up Disk Space on a cPanel Server</a></li>
<li><a href='http://www.thecpaneladmin.com/disk-space-for-mysql-databases-in-cpanel-show-as-0mb/' rel='bookmark' title='Disk Space for MySQL Databases in cPanel Show as 0MB'>Disk Space for MySQL Databases in cPanel Show as 0MB</a></li>
<li><a href='http://www.thecpaneladmin.com/resolving-domain-park-wrapper-errors/' rel='bookmark' title='Resolving Domain Park Wrapper Errors'>Resolving Domain Park Wrapper Errors</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If your server is approaching 99% disk space, your users may be aware of this before you are.  At the 1% free margin, the following error will pop up when accessing certain features in cPanel and WHM:</p>
<blockquote><p>Sorry for the inconvience!<br />
The filesystem mounted at / on this server is running out of disk space.  cPanel operation has been temporarily suspended to prevent something  bad from happening. Please ask your system admin to remove any files not  in use on that partition</p></blockquote>
<p>While 99% may seem like a dangerous limit, servers nowadays are getting rather large. If you have a server with over 3T of disk space, that 1% free could be well over 100G of space &#8211; space that would seemingly become waste.</p>
<p>Until this limit is removed in a future release, you can actually trick cPanel into thinking that the server has more space available. The key is the cache files located in <strong>/root/.cpanel/datastore</strong>, specifically the file <strong>_bin_df_-P_-k_-l.</strong></p>
<p>If you edit that file and change the occurrence of 99% to a lower value, you&#8217;ll see the restricted cPanel and WHM features return to normal.  Keep in mind that the cache regenerates, so in some cases it may be appropriate to create a cron job to periodically change the file.</p>
<p>Of course, if 99% disk usage on your server leaves you with a minuscule amount of space, you&#8217;ll want to remove some files or add additional storage. The following articles may be useful:</p>
<ul>
<li><a href="http://www.thecpaneladmin.com/11-ways-to-free-up-disk-space-on-a-cpanel-server/" target="_blank">http://www.thecpaneladmin.com/11-ways-to-free-up-disk-space-on-a-cpanel-server/</a></li>
<li><a href="http://www.thecpaneladmin.com/huge-cpan-folder-home/" target="_blank">http://www.thecpaneladmin.com/huge-cpan-folder-home/</a></li>
<li><a href="http://www.thecpaneladmin.com/managing-multiple-hard-drives-cpanel/" target="_blank">http://www.thecpaneladmin.com/managing-multiple-hard-drives-cpanel/</a></li>
<li><a href="http://www.thecpaneladmin.com/manually-rearranging-accounts/" target="_blank">http://www.thecpaneladmin.com/manually-rearranging-accounts/</a></li>
</ul>
<p>&nbsp;</p>
<p>Thanks to my colleague <a href="http://happygastropod.com/" target="_blank">Lee</a> for sharing this tidbit of info</p>
<p>&nbsp;</p>
<p><map name='google_ad_map_801_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/801?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_801_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=801&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fremoving-whm-disk-space-errors%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=801&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/11-ways-to-free-up-disk-space-on-a-cpanel-server/' rel='bookmark' title='11 Ways to Free Up Disk Space on a cPanel Server'>11 Ways to Free Up Disk Space on a cPanel Server</a></li>
<li><a href='http://www.thecpaneladmin.com/disk-space-for-mysql-databases-in-cpanel-show-as-0mb/' rel='bookmark' title='Disk Space for MySQL Databases in cPanel Show as 0MB'>Disk Space for MySQL Databases in cPanel Show as 0MB</a></li>
<li><a href='http://www.thecpaneladmin.com/resolving-domain-park-wrapper-errors/' rel='bookmark' title='Resolving Domain Park Wrapper Errors'>Resolving Domain Park Wrapper Errors</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/removing-whm-disk-space-errors/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrading OpenSSH on CentOS 5</title>
		<link>http://www.thecpaneladmin.com/upgrading-openssh-on-centos-5/</link>
		<comments>http://www.thecpaneladmin.com/upgrading-openssh-on-centos-5/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 00:57:14 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=795</guid>
		<description><![CDATA[If you&#8217;ve taken a peek at your PCI scan results lately, you may have noticed that your scan provider is now requiring OpenSSH 4.5 or higher &#8211; a version that is not currently available in the CentOS 5 repositories.  A Yum update isn&#8217;t going to help you much there. You can, however, easily compile your [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/cpanel-updates-redhat-9-break-stuff/' rel='bookmark' title='cPanel Updates on Redhat 9 Can Break Stuff'>cPanel Updates on Redhat 9 Can Break Stuff</a></li>
<li><a href='http://www.thecpaneladmin.com/manually-upgrading-mysql/' rel='bookmark' title='Manually Upgrading MySQL'>Manually Upgrading MySQL</a></li>
<li><a href='http://www.thecpaneladmin.com/upgrading-downgrading-mysql/' rel='bookmark' title='Upgrading or Downgrading MySQL'>Upgrading or Downgrading MySQL</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve taken a peek at your PCI scan results lately, you may have noticed that your scan provider is now requiring OpenSSH 4.5 or higher &#8211; a version that is not currently available in the CentOS 5 repositories.  A Yum update isn&#8217;t going to help you much there.</p>
<p>You can, however, easily compile your own RPM and manually upgrade OpenSSH.  The commands below are the ones I used to install version 5.8 (the latest stable at the time of this post), but can essentially be used for any compatible version.</p>
<p>First, download the OpenSSH source tarball from the vendor and unpack it. You can find the tarballs at <a href="http://www.openssh.com/portable.html" target="_blank">http://www.openssh.com/portable.html</a></p>
<blockquote><p>wget http://mirror.mcs.anl.gov/openssh/portable/openssh-5.8p1.tar.gz</p>
<p>tar -xvzf openssh-5.8p1.tar.gz</p></blockquote>
<p>Copy the spec file and tarball:</p>
<blockquote><p>cp ./openssh-5.8p1/contrib/redhat/openssh.spec /usr/src/redhat/SPECS/</p>
<p>cp openssh-5.8p1.tar.gz /usr/src/redhat/SOURCES/</p></blockquote>
<p>Do a little magic:</p>
<blockquote><p>cd /usr/src/redhat/SPECS</p>
<p>perl -i.bak -pe &#8216;s/^(%define no_(gnome|x11)_askpass)\s+0$/$1 1/&#8217; openssh.spec</p></blockquote>
<p>&#8230;and build your RPM:</p>
<blockquote><p>rpmbuild -bb openssh.spec</p></blockquote>
<p>Now if you go back into /usr/src/redhat/RPMS/&lt;arch&gt; , you should see three RPMs. Go ahead and install them:</p>
<blockquote><p>rpm -Uvh *.rpm</p></blockquote>
<p>To verify the installed version, just type &#8216;ssh -v localhost&#8217; and you should see the banner come up, indicating the new version.</p>
<p>&nbsp;</p>
<p><map name='google_ad_map_795_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/795?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_795_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=795&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fupgrading-openssh-on-centos-5%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=795&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/cpanel-updates-redhat-9-break-stuff/' rel='bookmark' title='cPanel Updates on Redhat 9 Can Break Stuff'>cPanel Updates on Redhat 9 Can Break Stuff</a></li>
<li><a href='http://www.thecpaneladmin.com/manually-upgrading-mysql/' rel='bookmark' title='Manually Upgrading MySQL'>Manually Upgrading MySQL</a></li>
<li><a href='http://www.thecpaneladmin.com/upgrading-downgrading-mysql/' rel='bookmark' title='Upgrading or Downgrading MySQL'>Upgrading or Downgrading MySQL</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/upgrading-openssh-on-centos-5/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Enhancing Your cPanel SPAM Protection with SpamExperts</title>
		<link>http://www.thecpaneladmin.com/enhancing-your-cpanel-spam-protection-with-spamexperts/</link>
		<comments>http://www.thecpaneladmin.com/enhancing-your-cpanel-spam-protection-with-spamexperts/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 17:45:30 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[third party]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=758</guid>
		<description><![CDATA[With spam continuing to be an increasing problem, hosting providers are always looking for ways to filter out junk so their customers remain as spam free as possible.  SpamAssassin, the anti-spam software bundled with cPanel, will do a sufficient job in filtering some spam, but to truly get bragging rights as a spam-free host, you [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/new-cpanel-database-mapping-feature/' rel='bookmark' title='New cPanel Database Mapping Feature: Is it for You?'>New cPanel Database Mapping Feature: Is it for You?</a></li>
<li><a href='http://www.thecpaneladmin.com/opening-additional-exim-port/' rel='bookmark' title='Opening an Additional Exim Port'>Opening an Additional Exim Port</a></li>
<li><a href='http://www.thecpaneladmin.com/spamassassin-2010-ruleset-bug-confirmed/' rel='bookmark' title='SpamAssassin 2010 Ruleset Bug Confirmed'>SpamAssassin 2010 Ruleset Bug Confirmed</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thecpaneladmin.com/wp-content/uploads/2011/03/SpamExperts_Logo2009_RGB.png"><img class="alignright size-full wp-image-775" title="SpamExperts_Logo2009_RGB" src="http://www.thecpaneladmin.com/wp-content/uploads/2011/03/SpamExperts_Logo2009_RGB.png" alt="" width="300" height="112" /></a>With spam continuing to be an increasing problem, hosting providers are always looking for ways to filter out junk so their customers remain as spam free as possible.  SpamAssassin, the anti-spam software bundled with cPanel, will do a sufficient job in filtering <em>some</em> spam, but to truly get bragging rights as a <strong>spam-free</strong> host, you need something stronger.</p>
<p>The people over at SpamExperts provide a valuable service in protecting you from unwanted junk email.  It smoothly integrates with cPanel and communicates with the SpamExperts servers via API to  allow your users to set up and configure their own spam protection.  As with most hosted spam solutions, you will need to set up your domains&#8217; MX records to point to their servers so they can begin filtering your email:</p>
<p><img class="aligncenter size-full wp-image-760" title="se-diag" src="http://www.thecpaneladmin.com/wp-content/uploads/2011/03/se-diag1.png" border="0" alt="" width="547" height="71" /></p>
<p>Upon switching our email to use SpamExperts, we noticed that all of our &#8220;legitimate&#8221; email was delivered, and we received absolutely no spam!  Email delivery was also very fast.  Some of the features we also found useful are:</p>
<ul>
<li>Availability of raw logs tracking every email that was process by their system</li>
<li>Quarantine area, for viewing email that was captured as spam</li>
<li>Statistics</li>
<li>Ability to instantly report spam</li>
<li>Extension filtering</li>
<li>Sender and recipient blacklists and whitelists</li>
<li>API for cPanel integration</li>
</ul>
<p><a href="http://www.thecpaneladmin.com/wp-content/uploads/2011/03/se-panel.png"><br />
</a><a href="http://www.thecpaneladmin.com/wp-content/uploads/2011/03/se-panel.png"><img class="size-medium wp-image-762 aligncenter" title="se-panel" src="http://www.thecpaneladmin.com/wp-content/uploads/2011/03/se-panel-300x173.png" alt="" width="300" height="173" /></a></p>
<p>Pricing is also very reasonable to fit any hosting provider&#8217;s budget &#8211; as low as $.41USD per domain per year, with bulk purchase options available. It&#8217;s very easy to offer the additional spam protection to your customers as either a paid or free service.</p>
<h2>cPanel Integration</h2>
<p>The email firewall products come with a cPanel plugin called &#8220;ProSpamFilter2&#8243; which allow the administrator to manage the server-wide settings, as well as end users in cPanel to customize spam protection for their own domains:</p>
<p><a href="http://www.thecpaneladmin.com/wp-content/uploads/2011/03/se-cp1.png"><img class="size-full wp-image-761 aligncenter" title="se-cp1" src="http://www.thecpaneladmin.com/wp-content/uploads/2011/03/se-cp1.png" alt="" width="307" height="228" /></a></p>
<p>We at The cPanel Admin fully recommend SpamExperts as an excellent anti-spam addition to your server.  You can offer it as part of your hosting package, or as a value-add upgrade feature.</p>
<p><map name='google_ad_map_758_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/758?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_758_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=758&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fenhancing-your-cpanel-spam-protection-with-spamexperts%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=758&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/new-cpanel-database-mapping-feature/' rel='bookmark' title='New cPanel Database Mapping Feature: Is it for You?'>New cPanel Database Mapping Feature: Is it for You?</a></li>
<li><a href='http://www.thecpaneladmin.com/opening-additional-exim-port/' rel='bookmark' title='Opening an Additional Exim Port'>Opening an Additional Exim Port</a></li>
<li><a href='http://www.thecpaneladmin.com/spamassassin-2010-ruleset-bug-confirmed/' rel='bookmark' title='SpamAssassin 2010 Ruleset Bug Confirmed'>SpamAssassin 2010 Ruleset Bug Confirmed</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/enhancing-your-cpanel-spam-protection-with-spamexperts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copy Outgoing Email on a cPanel Server with Exim</title>
		<link>http://www.thecpaneladmin.com/copy-outgoing-email-on-a-cpanel-server-with-exim/</link>
		<comments>http://www.thecpaneladmin.com/copy-outgoing-email-on-a-cpanel-server-with-exim/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 17:21:37 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=755</guid>
		<description><![CDATA[A common request we get is how a user can automatically BCC outgoing email to another address. This is most often requested by law firms that need to be able to retain copies of communication. Forwarding incoming email is easy &#8211; there&#8217;s already a section in cPanel for it. However, if you want to forward [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/custom-rbls-exim-cpanel/' rel='bookmark' title='Using Custom RBL&#8217;s with Exim and cPanel'>Using Custom RBL&#8217;s with Exim and cPanel</a></li>
<li><a href='http://www.thecpaneladmin.com/changing-exims-sending-ip/' rel='bookmark' title='Changing Exim&#8217;s Sending IP'>Changing Exim&#8217;s Sending IP</a></li>
<li><a href='http://www.thecpaneladmin.com/improving-email-delivery/' rel='bookmark' title='10 Tips for Improving Email Delivery'>10 Tips for Improving Email Delivery</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A common request we get is how a user can automatically BCC outgoing email to another address. This is most often requested by law firms that need to be able to retain copies of communication. Forwarding incoming email is easy &#8211; there&#8217;s already a section in cPanel for it. However, if you want to forward outgoing email there&#8217;s a small twist.</p>
<p>First, go to <strong>WHM</strong> &gt; <strong>Exim Configuration Editor</strong>, then click &#8220;<strong>Advanced Editor</strong>&#8221; at the bottom. Don&#8217;t make any changes, just click &#8220;save&#8221;. This should create a file on the server called <em>/etc/exim.conf.local</em>.  From command line as root, you&#8217;ll need to edit <em>/etc/exim.conf.local</em> and add some options to the @CONFIG@ and @TRANSPORTSTART@ sections. The end result would look like this (plus any edits you may have already made):</p>
<p><code><br />
@AUTH@</code></p>
<p><code>@BEGINACL@</code></p>
<p><code>@CONFIG@<br />
system_filter_directory_transport = local_copy_outgoing<br />
</code><br />
<code>@DIRECTOREND@</code></p>
<p><code>@DIRECTORMIDDLE@</code></p>
<p><code>@DIRECTORSTART@</code></p>
<p><code>@ENDACL@</code></p>
<p><code>@RETRYEND@</code></p>
<p><code>@RETRYSTART@</code></p>
<p><code>@REWRITE@</code></p>
<p><code>@ROUTEREND@</code></p>
<p><code>@ROUTERSTART@</code></p>
<p><code>@TRANSPORTEND@</code></p>
<p><code>@TRANSPORTMIDDLE@</code></p>
<p><code>@TRANSPORTSTART@<br />
local_copy_outgoing:<br />
driver = appendfile<br />
delivery_date_add<br />
envelope_to_add<br />
return_path_add<br />
group = cpaneleximfilter<br />
user = cpaneleximfilter<br />
mode = 0660<br />
maildir_format = true<br />
create_directory = true</code></p>
<p>Now, make a copy of the existing system filter file to a custom location, so cPanel updates don&#8217;t mess with it:</p>
<blockquote><p>cp  /etc/cpanel_exim_system_filter /etc/cpanel_exim_system_filter_custom</p></blockquote>
<p>Edit /etc/exim.conf.localops and change the &#8220;systemfilter&#8221; option to match our new file:</p>
<p><code>systemfilter=/etc/cpanel_exim_system_filter_custom</code></p>
<p>Now, open <em>/etc/cpanel_exim_system_filter_custom</em> and add the following block of code to the end of the file:</p>
<p><code>if $header_from: contains "<span style="color: #3366ff;">@senderdomain.com</span>"<br />
then<br />
unseen deliver "<span style="color: #3366ff;">other@emailaddress</span>"<br />
endif</code></p>
<p>Replace the blue text with the sender domain (or email address)  and the email address that outgoing mail should be copied to.</p>
<p>Apply these new settings to the exim.conf and restart:</p>
<blockquote><p>/scripts/buildeximconf<br />
service exim restart</p></blockquote>
<p>Now when you send email from the email address or domain specified in the filter file, it will be copied to the other email address.</p>
<p><map name='google_ad_map_755_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/755?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_755_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=755&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fcopy-outgoing-email-on-a-cpanel-server-with-exim%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=755&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/custom-rbls-exim-cpanel/' rel='bookmark' title='Using Custom RBL&#8217;s with Exim and cPanel'>Using Custom RBL&#8217;s with Exim and cPanel</a></li>
<li><a href='http://www.thecpaneladmin.com/changing-exims-sending-ip/' rel='bookmark' title='Changing Exim&#8217;s Sending IP'>Changing Exim&#8217;s Sending IP</a></li>
<li><a href='http://www.thecpaneladmin.com/improving-email-delivery/' rel='bookmark' title='10 Tips for Improving Email Delivery'>10 Tips for Improving Email Delivery</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/copy-outgoing-email-on-a-cpanel-server-with-exim/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Do You Care About Your Customers&#8217; Data?</title>
		<link>http://www.thecpaneladmin.com/do-you-care-about-your-customers-data/</link>
		<comments>http://www.thecpaneladmin.com/do-you-care-about-your-customers-data/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 00:37:25 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[backups]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=635</guid>
		<description><![CDATA[I was working a case last week for a new client that&#8217;s been hosting local business websites for over three years. As with all of my case studies, I did a short survey of the client&#8217;s infrastructure, processes, and security. As I progressed through the survey I started to notice that every aspect of his [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/11-ways-to-free-up-disk-space-on-a-cpanel-server/' rel='bookmark' title='11 Ways to Free Up Disk Space on a cPanel Server'>11 Ways to Free Up Disk Space on a cPanel Server</a></li>
<li><a href='http://www.thecpaneladmin.com/cpanel-backup-system/' rel='bookmark' title='The cPanel Backup System'>The cPanel Backup System</a></li>
<li><a href='http://www.thecpaneladmin.com/dealing-with-hacked-sites/' rel='bookmark' title='Dealing With Hacked Sites'>Dealing With Hacked Sites</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thecpaneladmin.com/wp-content/uploads/2011/03/fake-server-crash-tshirt.jpg"><img class="size-full wp-image-750 alignright" title="fake-server-crash-tshirt" src="http://www.thecpaneladmin.com/wp-content/uploads/2011/03/fake-server-crash-tshirt.jpg" alt="" width="200" height="200" /></a>I was working a case last week for a new client that&#8217;s been hosting local business websites for over three years.  As with all of my case studies, I did a short survey of the client&#8217;s infrastructure, processes, and security. As I progressed through the survey I started to notice that every aspect of his business and network were organized and documented almost compulsively, indicative of someone who takes pride in what their business offers. I wondered &#8211; why does this guy even need me?</p>
<p>The answer to my question became clear when I got to the disaster recovery portion of the survey.  When I asked, &#8220;What backup measures do you have in place for internal and client data?&#8221;  To my dismay, he replied:</p>
<p><em>&#8220;Backups aren&#8217;t all that important right now&#8221;</em></p>
<p>OK, rewind. You&#8217;re a hosting provider, and you&#8217;re hosting data for businesses.  You&#8217;re not hosting some college kid&#8217;s basketball website, or your mom&#8217;s quilting club pictures. You&#8217;re hosting real data, for real companies that have a reasonable expectation of reliability and security.  So my next question was, &#8220;What are you going to do if one of your servers explodes?&#8221; Silence.</p>
<p>The fact that this guy was lucky to have gone three years without any sort of server disaster is a miracle. It happens to the best of us &#8211; hard drives fail, RAID controllers fault, and servers sometimes just &#8211; die.  It doesn&#8217;t matter whether you paid $500 for your server or $5000 &#8211; a failure can happen to anyone.  Would you rather wait until you <em>have</em> a disaster to start planning for it?</p>
<p>While most people agree that having a reliable backup system for their data is a concept that can go unsaid, you&#8217;d be surprised how many business <em>don&#8217;t</em> back up data at all.  Think about how much it would cost you to purchase an additional server to back up your data to. Now think about how much it would cause you if all your data suddenly disappeared.</p>
<p>&#8220;Well, it&#8217;s their responsibility to back up their own websites,&#8221; said my client.</p>
<p>I was talking about this with Vanessa today hoping that she could change the client&#8217;s mind about the importance of data backups.  This is an excerpt from her actual email:</p>
<blockquote><p>While most hosting providers would agree that it is indeed the responsibility of a site owner to retain backups of their own data, you may notice that they still back up their servers on a regular basis.  It&#8217;s a known fact that most website owners don&#8217;t back up their own sites.  Some assume you&#8217;re doing it, some think it&#8217;s not important, and others just don&#8217;t know how.  You may think it&#8217;s their fault if they lose everything, but when it comes down to it, when your server crashes and you lose all your customers&#8217; data, it&#8217;s you they are going to blame. Whether you agree or not is irrelevant &#8211; they are going to find another host.</p></blockquote>
<p>According to Vanessa, InMotion Hosting has their backup recovery plan down to a science.  They back up their customers&#8217; data on a regular basis, and have a specific recovery plan in place that allows them to restore service and data to customers within minutes in the event of an unexpected server failure.   When explaining this to my client, she said:</p>
<blockquote><p>Even if the data loss is at the hand of the customer, I can&#8217;t tell you how many times they&#8217;ve been relieved to find out that we have a backup.  It&#8217;s the difference between exceeding the customer&#8217;s expectations, and letting them down. You don&#8217;t want to let them down, do you?</p></blockquote>
<p>I&#8217;d have to agree.</p>
<p><map name='google_ad_map_635_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/635?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_635_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=635&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fdo-you-care-about-your-customers-data%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=635&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/11-ways-to-free-up-disk-space-on-a-cpanel-server/' rel='bookmark' title='11 Ways to Free Up Disk Space on a cPanel Server'>11 Ways to Free Up Disk Space on a cPanel Server</a></li>
<li><a href='http://www.thecpaneladmin.com/cpanel-backup-system/' rel='bookmark' title='The cPanel Backup System'>The cPanel Backup System</a></li>
<li><a href='http://www.thecpaneladmin.com/dealing-with-hacked-sites/' rel='bookmark' title='Dealing With Hacked Sites'>Dealing With Hacked Sites</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/do-you-care-about-your-customers-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Errors on /scripts/upcp: Undefined subroutine&#8230;</title>
		<link>http://www.thecpaneladmin.com/errors-scriptsupcp-undefined-subroutine/</link>
		<comments>http://www.thecpaneladmin.com/errors-scriptsupcp-undefined-subroutine/#comments</comments>
		<pubDate>Tue, 01 Feb 2011 22:58:25 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[fixes]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=722</guid>
		<description><![CDATA[When running a cPanel update, you may get the following error: /scripts/upcp /scripts/upcp syntax OK Running Futex Check/Fix……Done Undefined subroutine &#38;Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273. To fix this, run the following command: wget -O /root/updatenow.static http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static &#38;&#38; perl /root/updatenow.static --manual Then you can proceed running a cPanel update: /scripts/upcp --force Related posts:Fixing a Suddenly [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/fixing-suddenly-broken-cpanel-installation/' rel='bookmark' title='Fixing a Suddenly &#8220;Broken&#8221; cPanel Installation'>Fixing a Suddenly &#8220;Broken&#8221; cPanel Installation</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-perl-modules/' rel='bookmark' title='Installing Perl Modules'>Installing Perl Modules</a></li>
<li><a href='http://www.thecpaneladmin.com/quota-errors-in-exims-panic-log/' rel='bookmark' title='Quota Errors in Exim&#8217;s Panic Log'>Quota Errors in Exim&#8217;s Panic Log</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When running a cPanel update, you may get the following error:</p>
<blockquote><p>/scripts/upcp<br />
/scripts/upcp syntax OK<br />
Running Futex Check/Fix……Done<br />
Undefined subroutine &amp;Cpanel::Update::automatic_updates_enabled  called at /scripts/upcp line 273.</p></blockquote>
<p>To fix this, run the following command:</p>
<p><code>wget -O /root/updatenow.static   http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static   &amp;&amp; perl /root/updatenow.static --manual</code></p>
<p>Then you can proceed running a cPanel update:</p>
<p><code>/scripts/upcp --force</code></p>
<p><map name='google_ad_map_722_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/722?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_722_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=722&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Ferrors-scriptsupcp-undefined-subroutine%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=722&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/fixing-suddenly-broken-cpanel-installation/' rel='bookmark' title='Fixing a Suddenly &#8220;Broken&#8221; cPanel Installation'>Fixing a Suddenly &#8220;Broken&#8221; cPanel Installation</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-perl-modules/' rel='bookmark' title='Installing Perl Modules'>Installing Perl Modules</a></li>
<li><a href='http://www.thecpaneladmin.com/quota-errors-in-exims-panic-log/' rel='bookmark' title='Quota Errors in Exim&#8217;s Panic Log'>Quota Errors in Exim&#8217;s Panic Log</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/errors-scriptsupcp-undefined-subroutine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fixing Quotas on a cPanel Server</title>
		<link>http://www.thecpaneladmin.com/fixing-quotas-on-a-cpanel-server/</link>
		<comments>http://www.thecpaneladmin.com/fixing-quotas-on-a-cpanel-server/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 01:25:12 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=718</guid>
		<description><![CDATA[If you go into WHM &#62; List Accounts and all your accounts are showing an unlimited quota and 0 disk space usage, you probably have a quota problem. First thing, try running /scripts/fixquotas This&#8217;ll take a while depending on your current disk usage, but will usually fix the problem. If it doesn&#8217;t, make sure that [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/performance-tip-disable-optimizefs/' rel='bookmark' title='Performance Tip: Disable Optimizefs'>Performance Tip: Disable Optimizefs</a></li>
<li><a href='http://www.thecpaneladmin.com/managing-multiple-hard-drives-cpanel/' rel='bookmark' title='Managing Multiple Hard Drives with cPanel'>Managing Multiple Hard Drives with cPanel</a></li>
<li><a href='http://www.thecpaneladmin.com/11-ways-to-free-up-disk-space-on-a-cpanel-server/' rel='bookmark' title='11 Ways to Free Up Disk Space on a cPanel Server'>11 Ways to Free Up Disk Space on a cPanel Server</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you go into <em>WHM</em> &gt; <em>List Accounts</em> and all your accounts are showing an unlimited quota and 0 disk space usage, you probably have a quota problem.</p>
<p>First thing, try running</p>
<blockquote><p>/scripts/fixquotas</p></blockquote>
<p>This&#8217;ll take a while depending on your current disk usage, but will usually fix the problem. If it doesn&#8217;t, make sure that quotas are on for your filesystem.  Look at /etc/fstab, and in the fourth column (the options column), make sure that &#8216;usrquota&#8217; is specified for the file system that contains your user home folders.  For example, this is how ours looks:</p>
<p><code>LABEL=/     /           ext3    defaults,noatime,usrquota 0  0<br />
LABEL=/home    /home          ext3    defaults,noatime,usrquota 0  0</code></p>
<p>If /home is part of the / partition, then the quotas need to be applied to / .</p>
<p>Now, remount the partitions with new options.  For the root ( / ) partition for example, you&#8217;d run the following command:</p>
<blockquote><p>mount -o remount /</p></blockquote>
<p>Then run the following command to update quotas:</p>
<blockquote><p>/scripts/initquotas</p></blockquote>
<p>If the problem indicates a problem writing to /aquota.user or similar, make sure the file isn&#8217;t set to immutable:</p>
<blockquote><p>chattr -ia /aquota.user</p></blockquote>
<p>After following these steps, if you&#8217;re still having a problem feel free to submit a support ticket and we&#8217;ll help you out!</p>
<p><map name='google_ad_map_718_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/718?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_718_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=718&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Ffixing-quotas-on-a-cpanel-server%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=718&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/performance-tip-disable-optimizefs/' rel='bookmark' title='Performance Tip: Disable Optimizefs'>Performance Tip: Disable Optimizefs</a></li>
<li><a href='http://www.thecpaneladmin.com/managing-multiple-hard-drives-cpanel/' rel='bookmark' title='Managing Multiple Hard Drives with cPanel'>Managing Multiple Hard Drives with cPanel</a></li>
<li><a href='http://www.thecpaneladmin.com/11-ways-to-free-up-disk-space-on-a-cpanel-server/' rel='bookmark' title='11 Ways to Free Up Disk Space on a cPanel Server'>11 Ways to Free Up Disk Space on a cPanel Server</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/fixing-quotas-on-a-cpanel-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

