<?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>UNIXy &#187; cPanel</title>
	<atom:link href="http://blog.unixy.net/tag/cpanel/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.unixy.net</link>
	<description>Fully Managed Dedicated Servers</description>
	<lastBuildDate>Thu, 09 Sep 2010 07:08:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>cPanel spamd resource consumption high</title>
		<link>http://blog.unixy.net/2010/04/cpanel-spamd-resource-consumption-high/</link>
		<comments>http://blog.unixy.net/2010/04/cpanel-spamd-resource-consumption-high/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 05:18:34 +0000</pubDate>
		<dc:creator>UNIXy</dc:creator>
				<category><![CDATA[Crash Course]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[high]]></category>
		<category><![CDATA[memory usage]]></category>
		<category><![CDATA[spamd]]></category>

		<guid isPermaLink="false">http://blog.unixy.net/?p=299</guid>
		<description><![CDATA[Spamd is one the highest resource consumer on a cPanel server. It allocates a lot of memory from the get-go and holds on to it throughout. There is a way to limit the number of spamd processes that are spawned. On a cPanel server, which is what this guide covers, there is a configuration file [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.unixy.net%2F2010%2F04%2Fcpanel-spamd-resource-consumption-high%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.unixy.net%2F2010%2F04%2Fcpanel-spamd-resource-consumption-high%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Spamd is one the highest resource consumer on a cPanel server. It allocates a lot of memory from the get-go and holds on to it throughout. There is a way to limit the number of spamd processes that are spawned. On a cPanel server, which is what this guide covers, there is a configuration file called /etc/cpspamd.conf with the following lines:</p>
<blockquote><p><code>maxspare=1<br />
maxchildren=3</code></p></blockquote>
<p>For a leaner server. we recommend dropping maxchildren to 1 and maxspare to 1. This will save a good hundred of megs of memory. Don&#8217;t forget to restart exim for these changes to take effect.</p>
<p>I hope this tip is useful. That&#8217;s all folks!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.unixy.net/2010/04/cpanel-spamd-resource-consumption-high/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPS Failover Challenge w/ cPanel</title>
		<link>http://blog.unixy.net/2009/12/vps-failover-challenge-w-cpanel/</link>
		<comments>http://blog.unixy.net/2009/12/vps-failover-challenge-w-cpanel/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 04:36:24 +0000</pubDate>
		<dc:creator>UNIXy</dc:creator>
				<category><![CDATA[Challenge]]></category>
		<category><![CDATA[100% uptime]]></category>
		<category><![CDATA[99.99% uptime]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[failover]]></category>
		<category><![CDATA[VPS failover]]></category>

		<guid isPermaLink="false">http://blog.unixy.net/?p=132</guid>
		<description><![CDATA[We are well ahead of target to achieve a 99.99% uptime using our geographical failover solution. We have put our failover solution live online for the whole world to see. Do pay a visit to the website when you get a chance! It is located here: http://www.cpanelfailover.net Cheers!]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.unixy.net%2F2009%2F12%2Fvps-failover-challenge-w-cpanel%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.unixy.net%2F2009%2F12%2Fvps-failover-challenge-w-cpanel%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>We are well ahead of target to achieve a 99.99% uptime using our geographical failover solution. We have put our failover solution live online for the whole world to see. Do pay a visit to the website when you get a chance! It is located here:</p>
<p><a title="cPanel Failover VPS Challenge" href="http://www.cpanelfailover.net" target="_blank">http://www.cpanelfailover.net</a></p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.unixy.net/2009/12/vps-failover-challenge-w-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSL Errors With Apache</title>
		<link>http://blog.unixy.net/2009/10/ssl-errors-with-apache/</link>
		<comments>http://blog.unixy.net/2009/10/ssl-errors-with-apache/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 06:00:47 +0000</pubDate>
		<dc:creator>UNIXy</dc:creator>
				<category><![CDATA[Break-Fix]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Apache SSL error]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[rebuildhttpconf]]></category>
		<category><![CDATA[received a record]]></category>

		<guid isPermaLink="false">http://blog.unixy.net/?p=58</guid>
		<description><![CDATA[If you receive one of the following errors, it&#8217;s very possible the Apache process is listening on port 443 but is not responding using the SSL protocol routines. In brief it is a protocol mismatch. Here&#8217;s a list of possible errors: Firefox error: SSL received a record that exceeded the maximum permissible length Apache error [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.unixy.net%2F2009%2F10%2Fssl-errors-with-apache%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.unixy.net%2F2009%2F10%2Fssl-errors-with-apache%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>If you receive one of the following errors, it&#8217;s very possible the Apache process is listening on port 443 but is not responding using the SSL protocol routines. In brief it is a protocol mismatch. Here&#8217;s a list of possible errors:</p>
<p><strong>Firefox error</strong>: <code>SSL received a record that exceeded the maximum permissible length</code></p>
<p><strong>Apache error log</strong>: <code>\x80d\x01\x03\x01</code></p>
<p><strong>Curl CLI error</strong>: <code>curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol </code></p>
<p>The fastest way to recover from such error is to restore the most recent Apache configuration file from backup. If you do not have a backup copy, you will need to look at your virtualhost section associated with the domain and SSL port combination. Chances are it does not exist. In cPanel, this issue can be corrected with a simple run of the script rebuildhttpdconf as such:</p>
<p><code>/scripts/rebuildhttpdconf</code></p>
<p>After making the necessary changes, and whether you are running cPanel or not, you will need to stop Apache then restart it.</p>
<p>That&#8217;s all folks!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.unixy.net/2009/10/ssl-errors-with-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPS Auto Failover Challenge</title>
		<link>http://blog.unixy.net/2009/09/vps-auto-failover-challenge/</link>
		<comments>http://blog.unixy.net/2009/09/vps-auto-failover-challenge/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 02:54:24 +0000</pubDate>
		<dc:creator>UNIXy</dc:creator>
				<category><![CDATA[Interesting]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[redundant hosting]]></category>
		<category><![CDATA[remote data center failover]]></category>
		<category><![CDATA[self healing]]></category>
		<category><![CDATA[VPS failover]]></category>

		<guid isPermaLink="false">http://blog.unixy.net/?p=26</guid>
		<description><![CDATA[As some of you know, UNIXy has engineered a cross data center failover solution for Virtual Private Servers. The solution consists of two mirrored VPS nodes running in two distant and independent data center facilities with separate power grids, network, and management personnel. The benefit of such setup is that a website can be reachable [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.unixy.net%2F2009%2F09%2Fvps-auto-failover-challenge%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.unixy.net%2F2009%2F09%2Fvps-auto-failover-challenge%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>As some of you know, UNIXy has engineered a cross data center failover solution for Virtual Private Servers. The solution consists of two mirrored VPS nodes running in two distant and independent data center facilities with separate power grids, network, and management personnel. The benefit of such setup is that a website can be reachable at anytime, rain or shine, regardless of outages. The idea is that the chance of two independent data center facilities being down at the same time is almost zero. No single facility can ever achieve such uptime!</p>
<p>The amount of interest this solution has generated is amazing! Today, we have decided to show the world that this solution simply works. We are announcing the cPanel VPS auto failover challenge! This is our way of eating our own dog food. Over the next few days, we will be communicating the full details of the challenge including the domain name and content that shall live and shine forver.</p>
<p>The event will be announced on <a href="http://www.cpanelfailover.com">http://www.cpanelfailover.com</a></p>
<p>Stay tuned! <img src='http://blog.unixy.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.unixy.net/2009/09/vps-auto-failover-challenge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outlook SSL Certificate Issues After Changing Servers</title>
		<link>http://blog.unixy.net/2009/08/outlook-ssl-certificate-issues-after-changing-servers/</link>
		<comments>http://blog.unixy.net/2009/08/outlook-ssl-certificate-issues-after-changing-servers/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 02:51:43 +0000</pubDate>
		<dc:creator>UNIXy</dc:creator>
				<category><![CDATA[Break-Fix]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[SSL certificate]]></category>

		<guid isPermaLink="false">http://blog.unixy.net/?p=24</guid>
		<description><![CDATA[Outlook fails to login or retrieve emails after a server move. This is due to the SSL certificate on the new server confusing Outlook. This is especially important when the mail server name used in Outlook doesn&#8217;t change during the move. The solution is to reset or regenerate the email services certificates on the new [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.unixy.net%2F2009%2F08%2Foutlook-ssl-certificate-issues-after-changing-servers%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.unixy.net%2F2009%2F08%2Foutlook-ssl-certificate-issues-after-changing-servers%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Outlook fails to login or retrieve emails after a server move. This is due to the SSL certificate on the new server confusing Outlook. This is especially important when the mail server name used in Outlook doesn&#8217;t change during the move. The solution is to reset or regenerate the email services certificates on the new server then restart outlook. Or you could also delete the certificate pertaining to the host name used in outlook (ex: mail.vpslux.com). If you are using cPanel on the server, you can reset the SSL certificate via WHM -> Manage Service SSL Certificates.</p>
<p>That&#8217;s all folks!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.unixy.net/2009/08/outlook-ssl-certificate-issues-after-changing-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ban File Extensions Using Pure-ftpd</title>
		<link>http://blog.unixy.net/2009/07/ban-file-extensions-using-pure-ftpd/</link>
		<comments>http://blog.unixy.net/2009/07/ban-file-extensions-using-pure-ftpd/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 02:21:28 +0000</pubDate>
		<dc:creator>UNIXy</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[ban extensions]]></category>
		<category><![CDATA[ban files]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[exe]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[pure-ftpd]]></category>
		<category><![CDATA[rar]]></category>

		<guid isPermaLink="false">http://blog.unixy.net/?p=16</guid>
		<description><![CDATA[Pure-ftpd has no direct support to prevent files with certain extensions from being uploaded. But it&#8217;s possible to accomplish this goal using a pure-ftp feature. pure-ftpd has a post-upload program that runs after each file is successfully uploaded and can run an external program. Here&#8217;s the excerpt from the pure-ftpd manual: NAME pure-uploadscript &#8211; Automatically [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.unixy.net%2F2009%2F07%2Fban-file-extensions-using-pure-ftpd%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.unixy.net%2F2009%2F07%2Fban-file-extensions-using-pure-ftpd%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Pure-ftpd has no direct support to prevent files with certain extensions from being uploaded. But it&#8217;s possible to accomplish this goal using a pure-ftp feature. pure-ftpd has a post-upload program that runs after each file is successfully uploaded and can run an external program. Here&#8217;s the excerpt from the pure-ftpd manual:</p>
<blockquote><p>
NAME<br />
pure-uploadscript &#8211; Automatically run an external program after a successful upload</p>
<p>SYNTAX<br />
pure-uploadscript [-p </path/to/pidfile>] [-B] [-g <gid>] [-h] -r
<program to run> [-u <uid>]
</p></blockquote>
<p>So the program to run in our case can be a simple Bash script I&#8217;m going to call ban.sh</p>
<blockquote><p><code>#!/bin/bash</p>
<p>uploaded_file=${1};<br />
banned_extensions="zip tar rar";</p>
<p>for ext in ${banned_extensions};<br />
do<br />
 count=$(echo ${uploaded_file}|grep -i ${ext}$|wc -l);<br />
 if [ "${count}" -gt "0" ];<br />
 then<br />
  rm -f ${uploaded_file}; # File with banned extension detected. Delete it.<br />
  break;<br />
 fi;<br />
done<br />
</code></p></blockquote>
<p>So you start the program in the background like this:</p>
<blockquote><p>pure-uploadscript -p /var/run/pure-ftpd.pid -B -r /root/ban.sh</p></blockquote>
<p>That&#8217;s all folks.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.unixy.net/2009/07/ban-file-extensions-using-pure-ftpd/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
