<?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 &#187; tips</title>
	<atom:link href="http://www.thecpaneladmin.com/tag/tips/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>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>10 Tips for Improving Email Delivery</title>
		<link>http://www.thecpaneladmin.com/improving-email-delivery/</link>
		<comments>http://www.thecpaneladmin.com/improving-email-delivery/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 17:32:48 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=654</guid>
		<description><![CDATA[One of the most common problems that hosting providers face is the issue of user email not being delivered to other mail servers.  Not only does it annoy the end user, but it&#8217;s extremely frustrating for the server administrator to deal with since there&#8217;s not always a clear indication of why email doesn&#8217;t get delivered [...]


Related posts:<ol><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/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/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>One of the most common problems that hosting providers face is the issue of user email not being delivered to other mail servers.  Not only does it annoy the end user, but it&#8217;s extremely frustrating for the server administrator to deal with since there&#8217;s not always a clear indication of why email doesn&#8217;t get delivered successfully.   In this post I&#8217;ll explain a few tips for helping improve the reliability of your mail server, and some tips you can give to your end users that send mailing lists.&#8217;</p>
<p><strong>Note:</strong> You can&#8217;t control the incoming email policies of remote mail servers or RBL&#8217;s. However, most email providers will not intentionally inconvenience their own users by blocking legitimate email, so if you continue to have problems, I&#8217;d recommend contacting the email administrator of the remote server.</p>
<p><strong>1. Do you look like a spammer?</strong></p>
<p>First of all, if you&#8217;re sending out massive mailing lists, whether you consider it spam or not, you&#8217;re asking for it.  Out of a list of 100,000 people, you can expect that a couple hundred of them are going to prompt spam complaints to your email provider, especially of the emails are of a &#8220;spammy&#8221; nature.  If you&#8217;re not sure where you sit on the line between spam and email marketing, take a look at <a href="http://www.v-nessa.net/2010/06/03/the-fine-line-between-spam-and-email-marketing" target="_blank">this post</a>.</p>
<p><strong>2. Practice proper mailing list etiquette </strong></p>
<p>As a mailing list grows, you&#8217;re occasionally going to have email addresses that become invalid, or users that no longer want to receive your email.  Don&#8217;t think that by hiding your opt-out link, you&#8217;re going to keep a subscriber. The recipient is more likely to mark your email as spam than hunt around for a way to remove their email address from your list, so make things easier by putting your opt-out link at the top with a reminder of why you are sending the email. For example:</p>
<blockquote><p>You are receiving this newsletter because you purchased a product on mywebsite.com and requested to receive notifications. If you no longer want to be part of this mailing list, please click &lt;here&gt;</p></blockquote>
<p>That being said, it&#8217;s extremely important that you promptly honor opt-out requests, and regularly check for bounced email for addresses that may no longer exist.</p>
<p>In addition to this, when sending email locally, your SMTP hostname should simply be &#8220;localhost&#8221;.</p>
<p><strong>3. Limit outgoing email</strong></p>
<p>If you&#8217;re a hosting provider and aren&#8217;t specifically catering to users  that do bulk mailing, you may want to limit how much email each users  can send, and advise users with large mailing lists to use services like  Constant Contact.  Tweaking a mail server to effectively send huge amounts of email without issue can be very difficult, and isn&#8217;t something I&#8217;d recommend even offering for shared hosting platforms.  In a shared environment where the actions of one user can affect many, outgoing email should be limited and then allowed on a per-case basis. There are two simple ways to do this:</p>
<ul>
<li>In WHM &gt; Tweak Settings, set the outgoing mail limit . You can specifically allow domains to send more by adding them to <strong>/var/cpanel/maxemails </strong>on versions 11.26 and lower, or adding a <strong>MAX_EMAIL_PER_HOUR</strong> option to /var/cpanel/users/$user for cpanel 11.28 and higher.</li>
<li>In exim.conf, set the following options:</li>
</ul>
<blockquote><p>recipients_max_reject = true</p>
<p>recipients_max = 50</p></blockquote>
<p>The best way to do this so the change is retained over cPanel and Exim updates is to add the options in <strong>/etc/exim.conf.local</strong> under <strong>@CONFIG@</strong>, then run <strong>/scripts/buildeximconf</strong></p>
<p>Exim considers each email as one email, regardless of how many  recipients are in it.  This may be an inconvenience to some users, but  in reality any mailing list should be sent as one recipient per email.  For larger organizations that use mailing lists for discussion, a listserv software like Mailman is a better solution.</p>
<p><strong>4. Tighten up your mail server<br />
</strong></p>
<p>If you&#8217;ve ever wanted to be the target of a spam hack, allowing PHP nobody mail is the best way to accomplish this.  Hopefully by now you&#8217;re running suPHP, but if you&#8217;re still running PHP as a DSO, whenever a PHP script uses the mail() function to send email it&#8217;s going to do so as the user &#8220;nobody&#8221;, or whatever user that Apache runs as.  Since the user &#8220;nobody&#8221; is a system user, it bypasses mailing limitations that you may have already set up via cPanel or exim.conf. This means that a rogue mailing script on your server can send out unlimited amounts of email and cause your server to get blacklisted. You can adjust this setting in WHM &gt; Tweak Settings.</p>
<p>You&#8217;ll also want to make sure that <a href="http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/TweakMail" target="_blank">SMTP Tweak</a> is turned on:</p>
<blockquote><p>/scripts/smtpmailgidonly on</p></blockquote>
<p>It&#8217;s also a good idea to require sender verification, which can be enabled in WHM &gt; Exim Configuration Editor</p>
<p><strong>5. Always use SMTP</strong></p>
<p>Similarly, mailing list software should be configured to use SMTP with a valid email address, username, and password. Don&#8217;t rely on sendmail or the php/perl mail functions &#8211; you need to send as a valid authenticated user.  Most mailing list software supports the use of SMTP, and using PHP or perl it&#8217;s very easy to incorporate SMTP authentication.</p>
<p><strong>6. Use DomainKeys and SPF records</strong></p>
<p>You want other mail servers to know that when they get mail from you, it&#8217;s actually from your server and not spoofed.  Consider using DKIM and SPF records to allow remote mail servers to authenticate your email. You&#8217;ll find that this may instantly improve your email delivery to services like Yahoo, MSN, and Hotmail.</p>
<p>See: <a href="http://www.thecpaneladmin.com/installing-domainkeys-spf-records/" target="_blank">Installing DomainKeys and SPF Records</a></p>
<p><strong>7. Subscribe to Feedback loops</strong></p>
<p>It&#8217;s very important for email administrators and hosting provides to subscribe to feedback loops.  Many remote mail and blacklist providers offer them, and they can be a very useful tool for identifying possible spammers on your network, as well as preemptively resolving issues with mailing lists.  If you don&#8217;t have an Abuse contact set up your domain and IP addresses, you should do that now &#8211; and register your IP(s).   AOL, Hotmail, Yahoo, and Spamcop are excellent ones to be on.  It&#8217;s also important to have your abuse@domain.com address set up so people can contact you if they want to report spam from your server or network.</p>
<p><strong>8. Monitor your IPs</strong></p>
<p>As easy as it is to get blacklisted on the various RBL&#8217;s out there, you&#8217;ll want to be checking if your IPs may be listed and therefore causing your email to bounce.  <a href="http://rblmon.com" target="_blank">RBLmon.com</a> is a good way to get started, or you can implement <a href="http://www.v-nessa.net/2010/07/16/simple-php-script-for-rbl-checking" target="_blank">blacklist checking</a> into your existing monitoring solution.  The goal is to know when your IPs are blacklisted as soon as possible.</p>
<p><strong>9. Use different IPs for email</strong></p>
<p>By default, when you send email your email will go out on the main IP of the server. For sites that send large amounts of email, consider putting them on separate IPs so that they don&#8217;t affect the mail delivery of other users on the server, or the network in general.</p>
<p>See: <a href="http://www.thecpaneladmin.com/changing-exims-sending-ip/" target="_blank">Changing Exim&#8217;s Sending IP</a></p>
<p><strong>10. Set up your DNS properly<br />
</strong></p>
<p>It should go without saying that whatever IP you use to send mail should have a proper reverse DNS record, and the forward DNS of that PTR should match. For example, if your mail server is named mail.mydomain.com and points to 5.6.7.8, then the PTR for 5.6.7.8 should also be mail.mydomain.com.  Ideally these records should match the EHLO/HELO name given by your MTA (Exim). This name can be altered in <strong>/etc/mailhelo </strong>if you have this option checked in WHM &gt; Exim Configuration Editor.</p>
<p><map name='google_ad_map_654_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/654?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_654_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=654&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fimproving-email-delivery%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=654&type=feed" alt="" />

<p>Related posts:<ol><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/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/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/improving-email-delivery/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Skipping the WHM Setup Wizard on New Servers</title>
		<link>http://www.thecpaneladmin.com/skipping-whm-setup-wizard/</link>
		<comments>http://www.thecpaneladmin.com/skipping-whm-setup-wizard/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 14:26:43 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[whm]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=600</guid>
		<description><![CDATA[If you have a fully automated cPanel/WHM setup method used to deploy a large number of servers, you&#8217;ve probably found it to be annoying that upon loading WHM for the first time, you&#8217;re greeted with a setup wizard that you have to click through.  To skip this wizard, all you need to do is touch [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/assign-ip-multiple-cpanel-accounts/' rel='bookmark' title='How to Assign an IP To Multiple cPanel Accounts'>How to Assign an IP To Multiple cPanel Accounts</a></li>
<li><a href='http://www.thecpaneladmin.com/rebuild-cpanel-bandwidth-graphs/' rel='bookmark' title='How to Rebuild cPanel Bandwidth Graphs'>How to Rebuild cPanel Bandwidth Graphs</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>If you have a fully automated cPanel/WHM setup method used to deploy a large number of servers, you&#8217;ve probably found it to be annoying that upon loading WHM for the first time, you&#8217;re greeted with a setup wizard that you have to click through.  To skip this wizard, all you need to do is touch a file:</p>
<blockquote><p>touch /etc/.whostmgrft</p></blockquote>
<p>This will tell WHM to skip the setup wizard altogether. However, if you haven&#8217;t already, you&#8217;ll want to add the following pieces to your automation which are usually configured in the setup wizard:</p>
<ul>
<li>IMAP &#8211; /scripts/setupmailserver (courier | dovecot  | disabled)</li>
<li>DNS &#8211; /scripts/setupnameserver (bind | nsd | disabled)</li>
<li>FTP &#8211; /scripts/setupftpserver (pure-ftpd | proftpd | disabled)</li>
</ul>
<p>You should also create the <strong>/etc/wwwacct.conf </strong>file, with the following contents:</p>
<p><code>ADDR 123.456.789.123<br />
CONTACTEMAIL your@emailaddress<br />
CONTACTPAGER<br />
DEFMOD x3<br />
ETHDEV eth0<br />
FTPTYPE pureftp<br />
HOMEDIR /home<br />
HOMEMATCH home<br />
HOST server.domain.com<br />
LOGSTYLE combined<br />
MINUID<br />
NS ns1.yourdomain.com<br />
NS2 ns2.yourdomain.com<br />
NS3<br />
NS4<br />
NSTTL 86400<br />
SCRIPTALIAS y<br />
TTL 14400</code></p>
<p>Derived from : <a href="http://www.cpanel.net/blog/integration/2010/05/skipping-the-whm-getting-started-wizard.html" target="_blank">http://www.cpanel.net/blog/integration/2010/05/skipping-the-whm-getting-started-wizard.html</a></p>
<p><map name='google_ad_map_600_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/600?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_600_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=600&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fskipping-whm-setup-wizard%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=600&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/assign-ip-multiple-cpanel-accounts/' rel='bookmark' title='How to Assign an IP To Multiple cPanel Accounts'>How to Assign an IP To Multiple cPanel Accounts</a></li>
<li><a href='http://www.thecpaneladmin.com/rebuild-cpanel-bandwidth-graphs/' rel='bookmark' title='How to Rebuild cPanel Bandwidth Graphs'>How to Rebuild cPanel Bandwidth Graphs</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/skipping-whm-setup-wizard/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Allowing Users to Customize AwStats</title>
		<link>http://www.thecpaneladmin.com/users-customize-awstats/</link>
		<comments>http://www.thecpaneladmin.com/users-customize-awstats/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 15:39:48 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=505</guid>
		<description><![CDATA[You can allow users to use their own configuration file for AwStats in case they are in need of customizations not provided by the server&#8217;s main config.  To enable this option, add the following to /etc/stats.conf: allow_awstats_include=1 Alternatively, you can go to WHM &#62; Statistics Software Configuration, and click on Allow Awstats configuration Include file [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/statistics-management/' rel='bookmark' title='Statistics Management'>Statistics Management</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-and-configuring-dovecot/' rel='bookmark' title='Installing and Configuring Dovecot'>Installing and Configuring Dovecot</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>You can allow users to use their own configuration file for AwStats in case they are in need of customizations not provided by the server&#8217;s main config.  To enable this option, add the following to /etc/stats.conf:</p>
<blockquote><p>allow_awstats_include=1</p></blockquote>
<p>Alternatively, you can go to <em>WHM</em> &gt; <em>Statistics Software Configuration</em>, and click on Allow <strong>Awstats configuration Include file</strong></p>
<p>This will allow users to have an <strong>awstats.conf.include </strong>file in /home/$username/tmp/awstats, which can be used to override settings from the main AwStats configuration for the server.</p>
<p><map name='google_ad_map_505_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/505?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_505_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=505&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fusers-customize-awstats%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=505&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/statistics-management/' rel='bookmark' title='Statistics Management'>Statistics Management</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-and-configuring-dovecot/' rel='bookmark' title='Installing and Configuring Dovecot'>Installing and Configuring Dovecot</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/users-customize-awstats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manually Rearranging Accounts</title>
		<link>http://www.thecpaneladmin.com/manually-rearranging-accounts/</link>
		<comments>http://www.thecpaneladmin.com/manually-rearranging-accounts/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 19:42:07 +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=594</guid>
		<description><![CDATA[There was a situation today where I had to mass-move a bunch of accounts from one partition to another.  WHM&#8217;s Rearrange an Account function does this one account at a time, but to move over 50 of them, a more scripted solution was necessary.  Here&#8217;s how I did it on a live server without causing [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/assign-ip-multiple-cpanel-accounts/' rel='bookmark' title='How to Assign an IP To Multiple cPanel Accounts'>How to Assign an IP To Multiple cPanel Accounts</a></li>
<li><a href='http://www.thecpaneladmin.com/changing-sites-ip-address/' rel='bookmark' title='Changing a Site&#8217;s IP Address'>Changing a Site&#8217;s IP Address</a></li>
<li><a href='http://www.thecpaneladmin.com/manually-upgrading-mysql/' rel='bookmark' title='Manually Upgrading MySQL'>Manually Upgrading MySQL</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>There was a situation today where I had to mass-move a bunch of accounts from one partition to another.  WHM&#8217;s <em>Rearrange an Account</em> function does this one account at a time, but to move over 50 of them, a more scripted solution was necessary.  Here&#8217;s how I did it on a live server without causing any downtime:</p>
<p><strong>Scenario</strong>: Moving over 50 cPanel accounts from /home4 to /home3 on a live dedicated server</p>
<p><strong>Step 1: Grab the list of users</strong></p>
<p>Done with a simple one-liner:</p>
<p><code>for user in `cat /etc/passwd | grep /home/ | cut -d: -f1` ; do echo $user &gt;&gt; /root/users ; done</code></p>
<p><strong>Step 1: Rsync all the data over</strong></p>
<p>This part can be fairly CPU-intensive, so you may want to bandwidth-limit or renice the rsync which will slow the transfer, even if done locally. You need to copy the data on one disk to the other:</p>
<p><code>for user in `cat users` ; do rsync -av --bwlimit=8000 --delete /home4/$user /home3 ; done</code></p>
<p>You may want to run this command a few times depending on how much data is being moved over.</p>
<p><strong>Step 3: Update configuration</strong></p>
<p>Paste the following commands into a file (replacing the partition names with the ones pertaining to your server), chmod 755, and run:</p>
<blockquote><p>for user in `cat users` ;  do</p>
<p>replace /home4/ /home3/ &#8212; /var/cpanel/userdata/$user/*<br />
replace /home4/ /home3/ &#8212; /etc/proftpd/$user<br />
replace /home4/$user /home3/$user &#8212; /etc/passwd<br />
ln -s /home3/$user /home4/$user<br />
replace /home4/$user /home3/$user &#8212; /home3/$user/etc/*/passwd</p>
<p>done</p></blockquote>
<p>Now, run:</p>
<blockquote><p>/scripts/rebuildhttpconf &amp;&amp; service httpd restart</p>
<p>service pure-ftpd restart (or proftp)</p></blockquote>
<p>When you&#8217;re sure that everything is moved over, you can remove all the user data from the old partition.</p>
<p><map name='google_ad_map_594_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/594?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_594_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=594&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fmanually-rearranging-accounts%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=594&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/assign-ip-multiple-cpanel-accounts/' rel='bookmark' title='How to Assign an IP To Multiple cPanel Accounts'>How to Assign an IP To Multiple cPanel Accounts</a></li>
<li><a href='http://www.thecpaneladmin.com/changing-sites-ip-address/' rel='bookmark' title='Changing a Site&#8217;s IP Address'>Changing a Site&#8217;s IP Address</a></li>
<li><a href='http://www.thecpaneladmin.com/manually-upgrading-mysql/' rel='bookmark' title='Manually Upgrading MySQL'>Manually Upgrading MySQL</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/manually-rearranging-accounts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Performance Tip: Disable Optimizefs</title>
		<link>http://www.thecpaneladmin.com/performance-tip-disable-optimizefs/</link>
		<comments>http://www.thecpaneladmin.com/performance-tip-disable-optimizefs/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 13:21:29 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=572</guid>
		<description><![CDATA[CPanel utilizes a script called &#8220;optimizefs&#8221; that removes the atime attribute from certain files on the system. For larger servers, this can create a lot of i/o load for a problem that can be fixed simply by mounting your file systems with the noatime flag if your file system is ext2 or higher. The atime [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/fixing-quotas-on-a-cpanel-server/' rel='bookmark' title='Fixing Quotas on a cPanel Server'>Fixing Quotas on a cPanel Server</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>CPanel utilizes a script called &#8220;optimizefs&#8221; that removes the atime attribute from certain files on the system. For larger servers, this can create a lot of i/o load for a problem that can be fixed simply by mounting your file systems with the noatime flag if your file system is ext2 or higher.</p>
<p>The atime attribute is used by Linux to mark when a file was last accessed, and is understood to be a resource drain when enabled for an entire filesystem.  cPanel attempts to address this by removing atime attributes from a specific list of files.  You may see a command like this in your root crontab:</p>
<p><code>45 */8 * * * /usr/bin/test -x /usr/local/cpanel/bin/optimizefs &amp;&amp; /usr/local/cpanel/bin/optimizefs</code></p>
<p>This cron basically applies the following command to a number of files and directories:</p>
<blockquote><p>chattr +A /path/to/file/or/directory</p></blockquote>
<p>Instead of using cPanel&#8217;s band-aid fix, it&#8217;s preferred to remove the atime attribute from the filesystem altogether. To do this, add <strong>noatime</strong> to the file system properties for each usable partition listed in /etc/fstab. For example:</p>
<p><code>LABEL=/ /  ext3    defaults,usrquota,<strong>noatime</strong> 0 0<br />
/tmp /var/tmp ext3    defaults,usrquota,bind,noauto,<strong>noatime</strong> 0 0</code></p>
<p>Then remount each file system. For the example above using the root partition ( / ):</p>
<blockquote><p>mount -o remount /</p></blockquote>
<p>*In some cases, a reboot may be necessary</p>
<p>Now, you can remove the cron job and still get the same benefits of not having your operating system record file access times:</p>
<blockquote><p>sed &#8216;/optimizefs/d&#8217; -i /var/spool/cron/root &amp;&amp; service crond reload</p></blockquote>
<p>Additional Resources:</p>
<p><a href="http://www.faqs.org/docs/securing/chap6sec73.html" target="_blank">http://www.faqs.org/docs/securing/chap6sec73.html</a></p>
<p><map name='google_ad_map_572_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/572?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_572_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=572&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fperformance-tip-disable-optimizefs%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=572&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/fixing-quotas-on-a-cpanel-server/' rel='bookmark' title='Fixing Quotas on a cPanel Server'>Fixing Quotas on a cPanel Server</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/performance-tip-disable-optimizefs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Tips to Reduce Your Customer Support Costs</title>
		<link>http://www.thecpaneladmin.com/reduce-customer-support-costs/</link>
		<comments>http://www.thecpaneladmin.com/reduce-customer-support-costs/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 01:05:06 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=558</guid>
		<description><![CDATA[When hosting websites, whether as a mainstream hosting provider, a hobby, or to supplement another service, it&#8217;s your job to make sure your customers have access to technical support in case they need help.  Customer support is one of the highest expenses that a web host can encounter.  Just my making a few small changes, [...]


Related posts:<ol><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>
<li><a href='http://www.thecpaneladmin.com/the-cpanel-whm-autofixer/' rel='bookmark' title='The cPanel/WHM Autofixer'>The cPanel/WHM Autofixer</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>When hosting websites, whether as a mainstream hosting provider, a hobby, or to supplement another service, it&#8217;s your job to make sure your customers have access to technical support in case they need help.  Customer support is one of the highest expenses that a web host can encounter.  Just my making a few small changes, you can reduce the amount of customers that contact you for help, and increase your profit margin.</p>
<p><strong>Revamp your &#8220;Welcome&#8221; documentation</strong></p>
<p>The welcome documentation is usually an email that is sent to a new client containing server and account access information. It&#8217;s important to cover your bases to avoid ending up with confused users that have no other avenue but to ask you for help &#8211; something that tends to be frustrating for a new user.  Your welcome email should not be wordy, but rather bulleted and easy to read, and separated into sections.  It should contain any information your users needs to access their account and server, steps to get started, and how to find help.</p>
<p><strong>Use video tutorials</strong></p>
<p>Sites like <a href="http://www.demodemo.com/affiliate/b.php?rid=2069&amp;linkid=1&amp;adid=" target="_blank">Demo Demo</a> provide flash tutorials for common control panel software, that can be branded to your company and used in your support center. Making it known to your customers that flash tutorials are available to explain the procedures for common tasks may prevent them from contacting you.</p>
<p><strong>Establish a knowledge base</strong></p>
<p>A knowledge base is generally used by hosting providers to provide information to address common questions and problems encountered by customers.  If you&#8217;re seeing a common question being risen by your users, consider making the answer to that question more visible by adding it to a knowledge base full of FAQs, or adding it to your welcome documentation.</p>
<p><strong>Don&#8217;t do anything that provokes a response</strong></p>
<p>It should be expected that changes and upgrades will need to take place during the life of a user&#8217;s account.  However, unless you&#8217;ve planned for the worse, don&#8217;t make changes that your customers will notice and likely contact you about unless you&#8217;ve notified them first.  If you&#8217;re making a change that may affect users, make sure your users know how the change can affect them and what steps to take if they have a problem.  It&#8217;s not recommended to play fast and loose with items that will attract user attention in a negative light, so plan your upgrades and changes accordingly.</p>
<p><strong>Be open</strong></p>
<p>Set up a blog or status site that your customers will know to check if they are experiencing a problem.  For example, Dreamhost has a <a href="http://www.dreamhoststatus.com/" target="_blank">website</a> their customers can access to find out about outages or problems, thus preventing them from contacting the customer support center to find out what&#8217;s going on.  Customers tend to appreciate more transparency  when it comes to problems that can affect their site.</p>
<p><strong>Test, test, test</strong></p>
<p>It should go without saying that you should not deploy changes on your hosting servers without thoroughly testing them first.<strong><br />
</strong></p>
<p><strong>Keep an eye out</strong></p>
<p>If you are not monitoring your network, you&#8217;re a step behind from even the worst of the hosting providers out there.  You should be monitoring anything that could cause an interruption in service, as your customers should not know about downtime before you do.  Knowing when a problem will happen before it does will easily prevent  problems that can result in thousands of dollars in losses and customer support costs.</p>
<p><strong>Be responsive</strong></p>
<p>If you see a problem that is continually affecting multiple clients, do something about it.  Sites getting hacked? Consider implementing a solution to block the attacks and issuing an advisor so your customers know you are looking out for them.  Hosting servers are in constant need of maintenance to make sure they are running quickly and securely.</p>
<p><strong>Get it right the first time</strong></p>
<p>Anyone that manages a support center will know that each response, phone call, chat, and email costs money.  Addressing your customers&#8217; requests and problems correctly and thoroughly the first time will limit your follow ups.</p>
<p><map name='google_ad_map_558_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/558?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_558_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=558&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Freduce-customer-support-costs%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=558&type=feed" alt="" />

<p>Related posts:<ol><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>
<li><a href='http://www.thecpaneladmin.com/the-cpanel-whm-autofixer/' rel='bookmark' title='The cPanel/WHM Autofixer'>The cPanel/WHM Autofixer</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/reduce-customer-support-costs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Free Monitoring Solutions to Consider</title>
		<link>http://www.thecpaneladmin.com/10-free-monitoring-solutions/</link>
		<comments>http://www.thecpaneladmin.com/10-free-monitoring-solutions/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 21:54:39 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=159</guid>
		<description><![CDATA[Server and network monitoring can be crucial to a host's success. I mean, how embarrassing is it when your customers are aware of downtime before you are? You don't have to pay big bucks or spend loads of time setting up monitoring for your server. We've compiled a list of free monitoring solutions you can use to guarantee minimal downtime for your users, and show customers how reliable your service is!


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/adding-services-to-chksrvd-for-monitoring/' rel='bookmark' title='Adding Services to Chksrvd for Monitoring'>Adding Services to Chksrvd for Monitoring</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>
<li><a href='http://www.thecpaneladmin.com/adding-new-feature-groups-cpanel-theme/' rel='bookmark' title='Adding New Feature Groups for a cPanel Theme'>Adding New Feature Groups for a cPanel Theme</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Server and network monitoring can be crucial to a host&#8217;s success. I mean, how embarrassing is it when your customers are aware of downtime before you are? You don&#8217;t have to pay big bucks or spend loads of time setting up monitoring for your server. We&#8217;ve compiled a list of free monitoring solutions you can use to guarantee minimal downtime for your users, and show customers how reliable your service is!</p>
<p><span id="more-159"></span></p>
<h2>Monitoring Software</h2>
<p>With a software option, you&#8217;d basically be setting up a server to act as a monitor, or installing software on your PC. Here are some free and open-source software solutions that we&#8217;ve used:</p>
<p><a href="http://nagios.org" target="_blank">Nagios</a></p>
<p>Nagios is considered one of the best free server/network monitoring tools in the industry. It&#8217;s highly customizable and hundreds of plugins are available for it, not to mention that you can easily write your own plugins as well. The only downfall is that the setup can be tricky, and for most setups you need to install the nagios client (NRPE) on the monitored server.</p>
<p><a href="http://munin.projects.linpro.no/" target="_blank">Munin</a></p>
<p>Munin is a plug and play monitoring software mostly for network performance analysis. On a cPanel server, you can install this easily via WHM &gt; Plugins.</p>
<p><a href="http://monitorix.org" target="_blank">Monitorix</a></p>
<p>Monitorix is a free, lightweight monitoring application similar to Nagios and Munin</p>
<p><a href="http://sourceforge.net/projects/phpservermon/" target="_blank">PHP ServerMon</a></p>
<p>Monitors multiple services across multiple servers, allowing each to have its own custom notification settings.</p>
<p><a href="http://www.sourcecodeonline.com/details/server_monitor.html" target="_blank">Server Monitor</a></p>
<p>PHP-based monitoring software allowing monitoring for multiple ports on a server, and provides details uptime reports</p>
<p>Here is a nice list of a few more: <a href="http://sixrevisions.com/tools/10-free-server-network-monitoring-tools-that-kick-ass/" target="_blank">http://sixrevisions.com/tools/10-free-server-network-monitoring-tools-that-kick-ass/</a></p>
<p style="text-align: center;"><a href="http://www.internetuptimemonitor.com/?user-redirect=551"><img class="aligncenter" src="http://www.internetuptimemonitor.com/images/banners/inetuptimemonitor-468x60.gif" border="0" alt="" /></a></p>
<h2>Hosted Solutions</h2>
<p>A hosted monitoring solution is a service offered and maintained by another provider, so you don&#8217;t have any software to install or configure. You&#8217;d generally sign up with the provider and use their control panel to manage your monitored sites. Here are the ones we&#8217;ve tested and recommend:</p>
<p><a href="http://mon.itor.us" target="_blank">mon.itor.us</a></p>
<p>Mon.itor.us is a relatively new monitoring service that promises FREE monitoring forever, for external and internal hosts. When you sign up, you get free access to reports and uptime statistics, as well as widgets you can add to your site. At the time this article was written, this service is still in beta but is rapidly improving and is considered very reliable.</p>
<p><a href="www.247webmonitoring.com" target="_blank">247WebMonitoring</a></p>
<p>This is a 100% free monitoring service that provides a wide range of flexible features for up to 5 sites at intervals of 15, 30, and 60 minutes. Features include content monitoring, pie charts, email/SMS notifications, maintenance mode, and an easy to use control panel. Site also includes a demo showing the service&#8217;s easy of use.</p>
<p><a href="http://www.SiteUptime.com/?aff=10784" target="_blank">SiteUptime</a></p>
<p>The free plan provides monitoring for one site at 30 or 60-minute intervals for HTTP, POP3, SMTP, and FTP, from multiple locations. Low-cost upgrade options are also available: <a href="http://www.SiteUptime.com/?aff=10784" target="_blank">http://www.siteuptime.com/compare.php</a></p>
<p><a href="http://pingdom.com" target="_blank">Pingdom</a></p>
<p>The free plan includes monitoring for one site and up to 20 SMS alerts, with free unlimited email alerts.</p>
<p><a href="http://uptimespy.com" target="_blank">Uptime Spy</a></p>
<p>A more advanced monitoring service that will monitor an unlimited number of resources from several geographic locations at 1,5,15,30, and 60-minute intervals. Features include advanced reporting and statistics, and unlimited notifications.</p>
<p><map name='google_ad_map_159_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/159?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_159_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=159&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2F10-free-monitoring-solutions%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=159&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/adding-services-to-chksrvd-for-monitoring/' rel='bookmark' title='Adding Services to Chksrvd for Monitoring'>Adding Services to Chksrvd for Monitoring</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>
<li><a href='http://www.thecpaneladmin.com/adding-new-feature-groups-cpanel-theme/' rel='bookmark' title='Adding New Feature Groups for a cPanel Theme'>Adding New Feature Groups for a cPanel Theme</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/10-free-monitoring-solutions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>11 Ways to Free Up Disk Space on a cPanel Server</title>
		<link>http://www.thecpaneladmin.com/11-ways-to-free-up-disk-space-on-a-cpanel-server/</link>
		<comments>http://www.thecpaneladmin.com/11-ways-to-free-up-disk-space-on-a-cpanel-server/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 19:05:00 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=146</guid>
		<description><![CDATA[I'm sure that most of you have been to the point where one or more of your servers start to fill up as you get more customers. The server's performing just fine, but there's one problem...you're out of disk space! Here are a few simple tricks to freeing up disk space on your cPanel server to help maximize your server's potential.


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/removing-whm-disk-space-errors/' rel='bookmark' title='Removing WHM Disk Space Errors'>Removing WHM Disk Space Errors</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/cpanel-backup-system/' rel='bookmark' title='The cPanel Backup System'>The cPanel Backup System</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure that most of you have been to the point where one or more of your servers start to fill up as you get more customers. The server&#8217;s performing just fine, but there&#8217;s one problem&#8230;you&#8217;re out of disk space! Here are a few simple tricks to freeing up disk space on your cPanel server to help maximize your server&#8217;s potential.</p>
<p><strong>1) Delete user cPanel and Fantastsico backups</strong></p>
<p>If you have the backup feature in cPanel enabled, chances are your users are storing the backups on the server instead of downloading and removing them. On larger servers, this can account for a lot of disk space usage. You may want to consider warning your users ahead of time that backups will automatically be removed from the server after a certain period of time or on certain dates.  You can mass-delete all user cPanel backups on the server with this command:</p>
<blockquote><p>for user in `/bin/ls -A /var/cpanel/users` ; do rm -fv /home/$user/backup-*$user.tar.gz ; done</p></blockquote>
<p>To remove Fantastico backups:</p>
<blockquote><p>rm -rfv /home/*/fantastico_backups</p></blockquote>
<p><strong>2) Move your backups offsite</strong></p>
<p>Similarly to above, if you&#8217;re using <a href="http://www.thecpaneladmin.com/cpanel-backup-system/" target="_self">the cPanel Backup</a> System and are storing your backups locally on the server, you could be using twice as much space as you need to. Consider mounting a backup server to your hosting server and storing the backups there (there is an option to mount external media in WHM &gt; Configure Backups) or using an alternate method of backing up your server that doesn&#8217;t involve storing the backups locally. While local backups may be convenient at times, they tend to be useless when a server failure occurs.</p>
<p><strong>3) Delete cPanel File Manager temp files</strong></p>
<p>When users upload files in File Manager within cPanel, File Manager creates a temp file that may or may not get removed upon upload. You can remove these files using this command:</p>
<blockquote><p>rm -fv /home/*/tmp/Cpanel_*</p></blockquote>
<p><strong>4) Move or archive logs </strong></p>
<p>Most of the server&#8217;s logs are stored in /var/log, which can get rather large on more populated servers. You can change the length of time and frequency of the log rotation in /etc/logrotate.conf, and enable compression to save additional space (at the expense of CPU when the logs are being gzipped). If you want older logs, consider creating a cron job to periodically transfer them to a backup or log server so they aren&#8217;t taking up space on your hosting server.</p>
<p><strong>5) Remove cPanel update archives</strong></p>
<p>Cpanel and EasyApache updates tend to leave behind files that you probably don&#8217;t need. The following can be deleted or moved to a backup server to free up a little bit of space:</p>
<blockquote><p>/usr/local/apache.backup*</p>
<p>/home/cpeasyapache (actual name may vary depending on cpanel version)</p></blockquote>
<p><strong>6) Clean up Yum files</strong></p>
<p>Yum updates leave package cache files on the server. You can clean up all unneeded yum files by running:</p>
<blockquote><p>yum clean all</p></blockquote>
<p><strong>7) Remove pure-ftp partials</strong></p>
<p>When your users upload files to the server via FTP when your server runs pureFTP as an FTP daemon, the FTP server creates temporary files starting with .pureftpd-upload* that get renamed the the actual filename when the upload completes. If the upload doesn&#8217;t complete, these files are left on the server. You can find and delete these by running:</p>
<blockquote><p>locate .pureftpd-upload | xargs rm -fv</p></blockquote>
<p>*If you don&#8217;t run an updatedb regularly, you might want to do so before running this command</p>
<p><strong>8) Decrease the reserved disk space </strong></p>
<p>By default, Linux reserves 5% of the disk space from each partition for the root user, so root can still log in even if the disk is full. You may have noticed when running a df that you may be using 900GB out of a 1TB drive, but only have 50GB available&#8230;that&#8217;s because the other 50GB is reserved.</p>
<p>For larger drives, you really don&#8217;t need the whole 5%. I would recommend setting this value down to 2500 blocks so you can utilize more of the disk space. You can do this with tune2fs:</p>
<blockquote><p>tune2fs -r 2500 /dev/sda1</p></blockquote>
<p>You&#8217;ll want to probably <a href="http://linux.die.net/man/8/tune2fs" target="_blank">man the tune2fs</a> command before you use it for other options on setting the reserved space for your partitions.</p>
<p><strong>9) Remove unneeded accounts</strong></p>
<p>If you have a larger churn rate you probably have some user accounts laying around on your server that you don&#8217;t need. Check out WHM &gt; List Suspended Accounts (or ls /var/cpanel/suspended) and look for suspended accounts that you may be able to remove from the server to free up space. You can terminate accounts in WHM &gt; Terminate an Account or using the command <em>/scripts/killacct &lt;user&gt; &lt;y/n&gt;</em> (y/n indicating whether to save the DNS records)</p>
<p><strong>10) Check for contrabands</strong></p>
<p>As a hosting provider you should have a Terms of Service that specifically tells your customers what they can (or rather cannot) store on your server. Most hosts have specific rules about the hosting of non-website-related backups and copyrighted material, but don&#8217;t pro actively scan their servers for it.  It wouldn&#8217;t hurt to run a few locate commands to find common files associated with copyright violations, like .mp3, .avi, .exe, etc, and have your customers remove them from the server. I once cleared over 300Gb of space on a server just by having customers remove contraband files from the server. On top of that, you&#8217;re also preserving the integrity of your business from a legal standpoint.</p>
<p><strong>11) Consider a larger server</strong></p>
<p>Some of your customers may have a legitimate need for large amount of disk space, and therefore you may be unable to keep the disk space usage on your server at a reasonable level. A lot of hosting providers have alternate servers that are more &#8220;low key&#8221; but have huge disk storage volumes to accommodate customers that have larger sites. You might want to consider investing in a server that will be less populated and only the users that occupy a large amount of space.</p>
<p><map name='google_ad_map_146_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/146?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_146_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=146&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2F11-ways-to-free-up-disk-space-on-a-cpanel-server%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=146&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/removing-whm-disk-space-errors/' rel='bookmark' title='Removing WHM Disk Space Errors'>Removing WHM Disk Space Errors</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/cpanel-backup-system/' rel='bookmark' title='The cPanel Backup System'>The cPanel Backup System</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/11-ways-to-free-up-disk-space-on-a-cpanel-server/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

