<?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 Webmaster's Edge &#187; Server Administration</title>
	<atom:link href="http://webmastersedge.net/home/category/server-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://webmastersedge.net/home</link>
	<description>Offering help to monetize, advertise, build, and maintain your website.</description>
	<lastBuildDate>Fri, 08 Aug 2008 12:17:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CPanel Tutorial: Opening Up Another Port For SMTP When Port 25 Is Being Blocked By Your ISP</title>
		<link>http://webmastersedge.net/home/2008/cpanel-tutorial-opening-up-another-port-for-smtp-when-port-25-is-being-blocked-by-your-isp/</link>
		<comments>http://webmastersedge.net/home/2008/cpanel-tutorial-opening-up-another-port-for-smtp-when-port-25-is-being-blocked-by-your-isp/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 16:33:22 +0000</pubDate>
		<dc:creator>Bradford</dc:creator>
				<category><![CDATA[CPanel]]></category>
		<category><![CDATA[Control Panels]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[E-mail]]></category>
		<category><![CDATA[SMTP]]></category>

		<guid isPermaLink="false">http://webmastersedge.net/home/?p=189</guid>
		<description><![CDATA[



My wife&#8217;s parents are in town and they have signed up for Charter cable&#8217;s high speed internet access while they are up from Florida.  Charter blocks port 25 except when relaying through their SMTP server.  Right now they are using my webserver&#8217;s SMTP server to send mail, and we really didn&#8217;t feel like [...]]]></description>
			<content:encoded><![CDATA[<p><div class="c_intxt_boxad">
<script type="text/javascript"><!--
ch_client = "bliedel";
ch_type = "mpu";
ch_width = 300;
ch_height = 250;
ch_non_contextual = 4;
ch_color_title = "3366FF";
ch_font_title = "verdana,tahoma,georgia";
ch_font_text = "verdana,tahoma,georgia";
ch_vertical ="premium";
ch_target = "_blank";
ch_sid = "300x250 Chitika Premium";
ch_alternate_ad_url = "http://webmastersedge.net/ad_banners/chitika_300x250_alt_ad.html";
var ch_queries = new Array( );
var ch_selected=Math.floor((Math.random()*ch_queries.length));
if ( ch_selected < ch_queries.length ) {
ch_query = ch_queries[ch_selected];
}
//--></script>
<script  src="http://scripts.chitika.net/eminimalls/amm.js" type="text/javascript">
</script>
</div>My wife&#8217;s parents are in town and they have signed up for Charter cable&#8217;s high speed internet access while they are up from Florida.  Charter blocks port 25 except when relaying through their SMTP server.  Right now they are using my webserver&#8217;s SMTP server to send mail, and we really didn&#8217;t feel like changing that since they will be switching back when they head back down.  In order to circumvent this and make it so that they wouldn&#8217;t have to change their mailserver settings on their laptop again, I decided to open up a second port for SMTP.</p>
<h3>Choosing A Port</h3>
<p>First you want to decide on a port.  Many use port 26 as the alternate SMTP port and CPanel recommends it, but several ISPs who do port 25 filtering also filter port 26, so it really isn&#8217;t a great choice.  I personally recommend conforming (at least partially) to the RFC&#8217;s, so I decided to go with port 587 based on <a href="http://tools.ietf.org/html/rfc4409">RFC4409</a>.</p>
<h3>Setting Up Exim To Listen On Your Chosen Port</h3>
<p><img src="http://webmastersedge.net/home/wp-content/uploads/2008/07/service_configuration.jpg" alt="" title="Service Manager" width="207" height="174" class="alignleft size-medium wp-image-190" />Login to your Web Host Manager ( http://whatever.yourserver.com/whm ) and navigate to Service Configuration -> Service Manager.  Scroll to the bottom and you will see an option for &#8220;Exim on another port&#8221;.  Check this box and set it to the chosen port (in my case 587).</p>
<p><img src="http://webmastersedge.net/home/wp-content/uploads/2008/07/exim_on_another_port.jpg" alt="" title="Exim On Another Port" width="370" height="68" class="alignnone size-medium wp-image-191" /></p>
<h3>Hmm&#8230;Firewall?</h3>
<p>I&#8217;m assuming you are running a firewall of some sort (I hope!), likely APF.  To open the port in APF run a&#8230;</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">locate</span> conf.apf</div></div>
<p>Assuming the file is located in /etc/apf/ you need to&#8230;</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apf<br />
<span style="color: #c20cb9; font-weight: bold;">nano</span> conf.apf</div></div>
<p>Find the line&#8230;</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># Common ingress (inbound) TCP ports</span><br />
<span style="color: #007800;">IG_TCP_CPORTS</span>=<span style="color: #ff0000;">&quot;20,21,22,25,53,80,110,143,443,465,993,995,2082,2083,2084,2086,2087,2095,2096,3306,6666,7786,9000&quot;</span></div></div>
<p>and add port 587 to it&#8230;</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># Common ingress (inbound) TCP ports</span><br />
<span style="color: #007800;">IG_TCP_CPORTS</span>=<span style="color: #ff0000;">&quot;20,21,22,25,53,80,110,143,443,465,587,993,995,2082,2083,2084,2086,2087,2095,2096,3306,6666,7786,9000&quot;</span></div></div>
<h3>Viola!</h3>
<p>There you have it!  Pretty painless for the most part and easy enough for anyone who has WHM and SSH access to a CPanel server.  Questions?  Suggestions for another walkthrough?  As always, ask away!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwebmastersedge.net%2Fhome%2F2008%2Fcpanel-tutorial-opening-up-another-port-for-smtp-when-port-25-is-being-blocked-by-your-isp%2F';
  addthis_title  = 'CPanel+Tutorial%3A+Opening+Up+Another+Port+For+SMTP+When+Port+25+Is+Being+Blocked+By+Your+ISP';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://webmastersedge.net/home/2008/cpanel-tutorial-opening-up-another-port-for-smtp-when-port-25-is-being-blocked-by-your-isp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CPanel Video Tutorials And Video Tutorials To Appear On The Edge</title>
		<link>http://webmastersedge.net/home/2008/cpanel-video-tutorials-and-video-tutorials-to-appear-on-the-edge/</link>
		<comments>http://webmastersedge.net/home/2008/cpanel-video-tutorials-and-video-tutorials-to-appear-on-the-edge/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 15:37:19 +0000</pubDate>
		<dc:creator>Bradford</dc:creator>
				<category><![CDATA[CPanel]]></category>
		<category><![CDATA[Content]]></category>
		<category><![CDATA[Control Panels]]></category>
		<category><![CDATA[Running a Website]]></category>
		<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[Webmaster's Edge Updates]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://webmastersedge.net/home/?p=131</guid>
		<description><![CDATA[



Did you know that CPanel offers video tutorials for many of their common tasks?  These types of tutorials can be powerful tools and I plan to offer some here as well. I will soon be partnering with a large Video Tutorial company to bring tutorials to The Edge and my other websites.  It [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->Did you know that CPanel offers <a href="http://www.cpanel.net/products/cpwhm/cpanel11/tutorials.html">video tutorials</a> for many of their common tasks?  These types of tutorials can be powerful tools and I plan to offer some here as well. I will soon be partnering with a large Video Tutorial company to bring tutorials to The Edge and my other websites.  It will be announced in a large press release they will have later this month.  In the mean time I&#8217;m working on a Video Testimonial for them and will soon begin publishing some of their tutorials on the site.</p>
<p>I will also be making tutorials to distribute through their service and will be encouraging users of The Edge and my other sites to utilize their video tutorial creation system in order to grow this library of knowledge.  Videos are a great way to syndicate content and promote your site, as well as being a valuable resource for your site&#8217;s users.  While written tutorials are great in their own respect, video tutorials add a bit extra for someone who is just starting out and needs a visual aid to help them on their way.</p>
<p>The Webmaster&#8217;s Edge is meant to help Webmasters of all skill levels.  These video tutorials will be a great supplement <em>especially</em> for the novice Webmaster.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwebmastersedge.net%2Fhome%2F2008%2Fcpanel-video-tutorials-and-video-tutorials-to-appear-on-the-edge%2F';
  addthis_title  = 'CPanel+Video+Tutorials+And+Video+Tutorials+To+Appear+On+The+Edge';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://webmastersedge.net/home/2008/cpanel-video-tutorials-and-video-tutorials-to-appear-on-the-edge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CPanel Domain Definitions</title>
		<link>http://webmastersedge.net/home/2008/cpanel-domain-definitions/</link>
		<comments>http://webmastersedge.net/home/2008/cpanel-domain-definitions/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 18:24:12 +0000</pubDate>
		<dc:creator>Bradford</dc:creator>
				<category><![CDATA[CPanel]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Running a Website]]></category>
		<category><![CDATA[Domain names]]></category>
		<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://webmastersedge.net/home/?p=117</guid>
		<description><![CDATA[I was asked today:
Can you explain what is meant by add-on domains, sub domains and parked domains?  Does this mean if I pay for another domain name I can use the same hosting account?  I&#8217;ve been curious about this for a while.
Great question!  Here&#8217;s a rundown on these different types of domains:

Your [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->I was asked today:</p>
<blockquote><p>Can you explain what is meant by add-on domains, sub domains and parked domains?  Does this mean if I pay for another domain name I can use the same hosting account?  I&#8217;ve been curious about this for a while.</p></blockquote>
<p>Great question!  Here&#8217;s a rundown on these different types of domains:</p>
<ul>
<li><strong>Your Domain</strong> &#8211; Just a basic definition for our examples.  This is your primary domain that you signed up for hosting and for now we&#8217;ll call this: http://webmastersedge.net/</li>
<li><strong>Add-on Domain</strong> &#8211; This is an extra domain hosted on your same hosting account.  Example:  http://webmastersedgetestaccount.com/ which might be hosted in my /public_html/webmastersedgetestaccount/ directory.</li>
<li><strong>Sub Domain</strong> &#8211; This is a sub domain of your current domain.  Example: http://subdomain.webmastersedge.net/ which might be hosted in my /public_html/subdomain/ directory.</li>
<li><strong>Parked Domain</strong> &#8211; This is an extra domain hosted on your same hosting account, but is just a &#8220;pointer&#8221; and does not have its own content.  Example: http://webmastersedgetestpark.com/ which would just redirect users to the content of http://webmastersedge.net/</li>
</ul>
<p>If you have any other domain questions, please feel free to comment below!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwebmastersedge.net%2Fhome%2F2008%2Fcpanel-domain-definitions%2F';
  addthis_title  = 'CPanel+Domain+Definitions';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://webmastersedge.net/home/2008/cpanel-domain-definitions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Helping Out Another Blogger Today And Format Soon</title>
		<link>http://webmastersedge.net/home/2008/helping-out-another-blogger-today-and-format-soon/</link>
		<comments>http://webmastersedge.net/home/2008/helping-out-another-blogger-today-and-format-soon/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 16:24:12 +0000</pubDate>
		<dc:creator>Bradford</dc:creator>
				<category><![CDATA[Design / Maintenace]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Running a Website]]></category>
		<category><![CDATA[Scripts / Software]]></category>
		<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://webmastersedge.net/home/?p=116</guid>
		<description><![CDATA[I had a request from a blogger who&#8217;s been frequenting The Edge for a little help on their Blog.  They were having a few separate issues and was able to assist.  The main issue was with the Related Posts plugin and another plugin that allowed you to widgetize the Related Posts.  What [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->I had a request from a blogger who&#8217;s been frequenting The Edge for a little help on their Blog.  They were having a few separate issues and was able to assist.  The main issue was with the Related Posts plugin and another plugin that allowed you to widgetize the Related Posts.  What I found was that while the widget had settings that you could change, they weren&#8217;t actually reflected.  In order to correct the changes I made those changes to the actual Related Posts plugin and the issue is now corrected!  There were a few other misc issues that were resolved through a Wordpress version upgrade, but that in turn caused another issue which is hosting-related.  I am having him contact his webhost to correct it and he should hopefully be all set at that point.  <img src='http://webmastersedge.net/home/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Outside of that I am also finishing up preparations for a format of my main PC, which will likely occur tomorrow, depending on when my new parts show up in the mail.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwebmastersedge.net%2Fhome%2F2008%2Fhelping-out-another-blogger-today-and-format-soon%2F';
  addthis_title  = 'Helping+Out+Another+Blogger+Today+And+Format+Soon';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://webmastersedge.net/home/2008/helping-out-another-blogger-today-and-format-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ask Me And I Will Answer!</title>
		<link>http://webmastersedge.net/home/2008/ask-me-and-i-will-answer/</link>
		<comments>http://webmastersedge.net/home/2008/ask-me-and-i-will-answer/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 17:18:51 +0000</pubDate>
		<dc:creator>Bradford</dc:creator>
				<category><![CDATA[Running a Website]]></category>
		<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[Webmaster's Edge Updates]]></category>
		<category><![CDATA[Ask the edge]]></category>

		<guid isPermaLink="false">http://webmastersedge.net/home/?p=100</guid>
		<description><![CDATA[Do you have a question about Web Design, Server Administration, Advertising, or SEO?  Looking for an answer, but haven&#8217;t quite found it yet?  Ask away!!  Just drop a comment on this post with your question and I&#8217;ll see about researching and posting the answer!  This website is made with the intention [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->Do you have a question about Web Design, Server Administration, Advertising, or SEO?  Looking for an answer, but haven&#8217;t quite found it yet?  Ask away!!  Just drop a comment on this post with your question and I&#8217;ll see about researching and posting the answer!  This website is made with the intention of helping Webmasters find answers to questions they might have.  So fire away and I&#8217;ll be happy to help.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwebmastersedge.net%2Fhome%2F2008%2Fask-me-and-i-will-answer%2F';
  addthis_title  = 'Ask+Me+And+I+Will+Answer%21';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://webmastersedge.net/home/2008/ask-me-and-i-will-answer/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Command Line Basics: Tar</title>
		<link>http://webmastersedge.net/home/2008/command-line-basics-tar/</link>
		<comments>http://webmastersedge.net/home/2008/command-line-basics-tar/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 19:19:07 +0000</pubDate>
		<dc:creator>Bradford</dc:creator>
				<category><![CDATA[Design / Maintenace]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Running a Website]]></category>
		<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[Webmaster Wiki]]></category>
		<category><![CDATA[Webmaster's Edge Updates]]></category>
		<category><![CDATA[Linux commands]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://webmastersedge.net/home/?p=53</guid>
		<description><![CDATA[This website caters to both advanced and novice users.  So in addition to articles like fixing Modsecparse.pl cronjob errors I also need to hit the basics.  One command that many webmasters know, have used in the past, but forget how to use is the tar command.  How does one &#8220;untar&#8221; a file? [...]]]></description>
			<content:encoded><![CDATA[<p>This website caters to both advanced and novice users.  So in addition to articles like fixing <a href="http://webmastersedge.net/home/2008/modsecparsepl-causing-cronjob-errors-to-be-e-mailed-to-me-after-mysql5-upgrade-on-cpanel/">Modsecparse.pl cronjob errors</a> I also need to hit the basics.  One command that many webmasters know, have used in the past, but forget how to use is the tar command.  How does one &#8220;untar&#8221; a file?  What if it has been compressed with gzip or bzip2?  Don&#8217;t some of you wish that you had a site where you could reference an easy to understand reference to these compression formats?  Well, look no further!  You could bookmark this particular post, but why bother when you can just bookmark the site as a whole and reference this later on in the <a href="http://webmastersedge.net/webmaster_wiki/">Webmaster Wiki</a>?  Linux commands (done via command line or SSH) will be linked directly from the main page of the wiki and resides <a href="http://webmastersedge.net/webmaster_wiki/Linux_Commands">here</a>.  A guide to the <a href="http://webmastersedge.net/webmaster_wiki/Tar">Tar command</a> can then be reached from there.  So here are the basics that will help you extract those tar files you often download from places like <a href="http://sourceforge.net/">Sourceforge</a>:</p>
<h3>What Is A Tarball?</h3>
<p>A tarball is an archive of files and/or directories.  If a tarball is gzip&#8217;d or bz2&#8242;d, then it has been compressed.</p>
<p>
<h3>&#8220;Untar&#8221; A File</h3>
<p>If you are dealing with a tarball (<strong>example.tar</strong>) file, you can extract the files from it using:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">tar</span> xvf example.tar</div></div>
<p>If the tarball has been gzipped(<strong>example.tar.gz</strong>), you can extract the files from it using:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">tar</span> xvfz example.tar.gz</div></div>
<p>If the tarball has been gzipped(<strong>example.tgz</strong>), you can extract the files from it using:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">tar</span> xzvf example.tgz</div></div>
<p>If the tarball has been compressed with bzip2(<strong>example.tar.bz2</strong>), then you will need to have bzip2 installed.  ( Most servers will have this, but if yours does not, visit <a href="http://www.bzip.org/">http://www.bzip.org/</a> )  If all is well and bzip2 is installed, you can extract the files from it using:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">tar</span> yxf example.tar.bz2</div></div>
<p>Sometimes you only want to extract certain directories from the tarball.  An example of doing so would be:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">tar</span> xvzf example.tar.gz <span style="color: #000000; font-weight: bold;">*/</span>DIRECTORY_YOU_WANT_REPLACES_THIS_TEXT<span style="color: #000000; font-weight: bold;">/*</span></div></div>
<p>
<h3>List The Contents</h3>
<p>If you would like to see what is inside a tarball, you can use the command:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">tar</span> tvf example.tar</div></div>
<p>If you would like to see what is inside a gzip&#8217;d tarball, you can use the command:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">tar</span> tzf example.tar.gz</div></div>
<p>
<h3>Tar It Up!</h3>
<p>If you would like to tarball some files, you can do so by using the command:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">tar</span> cvf filename.tar files<span style="color: #000000; font-weight: bold;">/</span>directories</div></div>
<p>If you would like to tarball some files AND compress them (with gzip), you can do so by using the command:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">tar</span> cfz blah.tar.gz files<span style="color: #000000; font-weight: bold;">/</span>directories</div></div>
<p>
<h3>man tar</h3>
<p>The man page for the tar command: <span id="more-53"></span></p>
<blockquote><pre style="font-size:11px;font-family:arial narrow;">
NAME
       tar - The GNU version of the tar archiving utility

SYNOPSIS
       tar <operation> [options]

       Operations:
       [-]A --catenate --concatenate
       [-]c --create
       [-]d --diff --compare
       [-]r --append
       [-]t --list
       [-]u --update
       [-]x --extract --get
       --delete

       Common Options:
       -C, --directory DIR
       -f, --file F
       -j, --bzip2
       -p, --preserve-permissions
       -v, --verbose
       -z, --gzip

       All Options:
       [  --atime-preserve  ]  [ -b, --blocking-factor N ]
       [ -B, --read-full-records ] [ --backup BACKUP-TYPE ]
       [ --block-compress ] [ -C, --directory DIR ] [ --check-links ]
       [ --checkpoint ] [ -f, --file [HOSTNAME:]F  ]
       [  -F,  --info-script  F  --new-volume-script  F  ]
       [  --force-local   ] [ --format FORMAT ]
       [ -g, --listed-incremental F ] [ -G, --incremental ]
       [ --group GROUP ] [ -h, --dereference ] [ --help ]
       [ -i,  --ignore-zeros  ]  [  --ignore-case  ]
       [ --ignore-failed-read  ]  [ --index-file FILE ] [ -j, --bzip2 ]
       [ -k, --keep-old-files ] [ -K, --starting-file F ]
       [ --keep-newer-files ] [ -l, --one-file-system ]
       [ -L, --tape-length N ] [ -m, --touch, --modification-time ]
       [  -M, --multi-volume  ]  [  --mode  PERMISSIONS  ]
       [ -N, --after-date DATE, --newer DATE ] [ --newer-mtime DATE ]
       [ --no-anchored ] [ --no-ignore-case ] [ --no-recursion ]
       [ --no-same-permissions ] [ --no-wildcards ]
       [  --no-wildcards-match-slash  ] [ --null     ] [ --numeric-owner ]
       [ -o, --old-archive, --portability, --no-same-owner ]
       [ -O, --to-stdout ] [ --occurrence NUM ] [ --overwrite ]
       [ --overwrite-dir ] [ --owner USER ]
       [ -p, --same-permissions, --pre-serve-permissions  ]
       [  -P,  --absolute-names  ]  [  --pax-option  KEYWORD-LIST ]
       [ --posix ] [ --preserve ] [ -R, --block-number ]
       [ --record-size SIZE ] [ --recursion ] [ --recursive-unlink ]
       [ --remove-files ]  [  --rmt-command CMD  ]
       [  --rsh-command  CMD  ] [ -s, --same-order, --preserve-order ]
       [ -S, --sparse ] [ --same-owner ] [ --show-defaults ]
       [ --show-omitted-dirs ]
	   [ --strip-components NUMBER, --strip-path NUMBER (1) ]
       [ --suffix SUFFIX ] [ -T, --files-from  F ] [ --totals   ]
	   [ -U, --unlink-first ] [ --use-compress-program PROG ] [ --utc ]
	   [ -v, --verbose ] [ -V, --label NAME ] [ --version  ] [ --volno-file F ]
       [ -w, --interactive, --confirmation ] [  -W,  --verify  ]
	   [ --wildcards  ] [  --wildcards-match-slash  ]  [  --exclude PATTERN ]
       [ -X, --exclude-from FILE ] [ -Z, --compress, --uncompress ]
       [ -z, --gzip, --gunzip, --ungzip ] [ -[0-7][lmh] ]

       (1) tar-1.14 uses --strip-path, tar-1.14.90+ uses --strip-components

DESCRIPTION
       This manual page documents the GNU version of tar, an archiving program
	   designed to store and extract files from an archive  file  known  as  a
	   tarfile.  A tarfile may be made on a tape drive, however, it is also
	   common to write a tarfile to a normal file.  The first argument to tar
	   must be one of the options Acdrtux, followed by any optional functions.
	   The final arguments to tar are the names of the files or directories
	   which should be archived.  The use of a directory name always implies
	   that the subdirectories below should be included in the archive.

EXAMPLES
       tar -xvf foo.tar
              verbosely extract foo.tar

       tar -xzf foo.tar.gz
              extract gzipped foo.tar.gz

       tar -cjf foo.tar.bz2 bar/
              create bzipped tar archive of the directory bar called foo.tar.bz2

       tar -xjf foo.tar.bz2 -C bar/
              extract bzipped foo.tar.bz2 after changing directory to bar

       tar -xzf foo.tar.gz blah.txt
              extract the file blah.txt from foo.tar.bz2

FUNCTION LETTERS
       One of the following options must be used:

       -A, --catenate, --concatenate
              append tar files to an archive

       -c, --create
              create a new archive

       -d, --diff, --compare
              find differences between archive and file system

       -r, --append
              append files to the end of an archive

       -t, --list
              list the contents of an archive

       -u, --update
              only append files that are newer than the existing in archive

       -x, --extract, --get
              extract files from an archive

       --delete
              delete from the archive (not for use on mag tapes!)

COMMON OPTIONS
       -C, --directory DIR
              change to directory DIR

       -f, --file [HOSTNAME:]F
              use archive file or device F (default "-", meaning stdin/stdout)

       -j, --bzip2
              filter archive through bzip2, use to decompress .bz2 files

       -p, --preserve-permissions
              extract all protection information

       -v, --verbose
              verbosely list files processed

       -z, --gzip, --ungzip
              filter the archive through gzip

ALL OPTIONS
       --atime-preserve
              donât change access times on dumped files

       -b, --blocking-factor N
              block size of Nx512 bytes (default N=20)

       -B, --read-full-blocks
              reblock as we read (for reading 4.2BSD pipes)

       --backup BACKUP-TYPE
              backup files instead of deleting them using BACKUP-TYPE simple or numbered
       --block-compress
              block the output of compression program for tapes

       -C, --directory DIR
              change to directory DIR

       --check-links
              warn if number of hard links to the file on the filesystem mismatch the
			  number of links recorded in the archive

       --checkpoint
              print directory names while reading the archive

       -f, --file [HOSTNAME:]F
              use archive file or device F (default "-", meaning stdin/stdout)

       -F, --info-script F --new-volume-script F
              run script at end of each tape (implies --multi-volume)

       --force-local
              archive file is local even if has a colon

       --format FORMAT
              selects output archive format
              v7 - Unix V7
              oldgnu - GNU tar <=1.12
              gnu - GNU tar 1.13
              ustar - POSIX.1-1988
              posix - POSIX.1-2001

       -g, --listed-incremental F
              create/list/extract new GNU-format incremental backup

       -G, --incremental
              create/list/extract old GNU-format incremental backup

       -h, --dereference
              donât dump symlinks; dump the files they point to

       --help like this manpage, but not as cool

       -i, --ignore-zeros
              ignore blocks of zeros in archive (normally mean EOF)

       --ignore-case
              ignore case when excluding files

       --ignore-failed-read
              donât exit with non-zero status on unreadable files

       --index-file FILE
              send verbose output to FILE instead of stdout

       -j, --bzip2
              filter archive through bzip2, use to decompress .bz2 files

       -k, --keep-old-files
              keep existing files; donât overwrite them from archive

       -K, --starting-file F
              begin at file F in the archive

       --keep-newer-files
              do not overwrite files which are newer than the archive

       -l, --one-file-system
              stay in local file system when creating an archive

       -L, --tape-length N
              change tapes after writing N*1024 bytes

       -m, --touch, --modification-time
              donât extract file modified time

       -M, --multi-volume
              create/list/extract multi-volume archive

       --mode PERMISSIONS
              apply PERMISSIONS while adding files (see chmod(1))

       -N, --after-date DATE, --newer DATE
              only store files newer than DATE

       --newer-mtime DATE
              like --newer, but with a DATE
       --no-anchored
              match any subsequenceof the nameâs components with --exclude

       --no-ignore-case
              use case-sensitive matching with --exclude

       --no-recursion
              donât recurse into directories

       --no-same-permissions
              apply userâs umask when extracting files instead of recorded permissions

       --no-wildcards
              donât use wildcards with --exclude

       --no-wildcards-match-slash
              wildcards do not match slashes (/) with --exclude

       --null --files-from reads null-terminated names, disable --directory

       --numeric-owner
              always use numbers for user/group names

       -o, --old-archive, --portability
              like --format=v7; -o exhibits this behavior when creating an
			  archive (deprecated behavior)

       -o, --no-same-owner
              do not attempt to restore ownership when extracting; -o exhibits
			  this behavior when extracting an archive

       -O, --to-stdout
              extract files to standard output

       --occurrence NUM
              process only NUM occurrences of each named file; used with --delete,
			  --diff, --extract, or --list

       --overwrite
              overwrite existing files and directory metadata when extracting

       --overwrite-dir
              overwrite directory metadata when extracting

       --owner USER
              change owner of extraced files to USER

       -p, --same-permissions, --preserve-permissions
              extract all protection information

       -P, --absolute-names
              donât strip leading â/âs from file names

       --pax-option KEYWORD-LIST
              used only with POSIX.1-2001 archives to modify the way tar handles
			  extended header keywords

       --posix
              like --format=posix

       --preserve
              like --preserve-permissions --same-order

       -R, --record-number
              show record number within archive with each message

       --record-size SIZE
              use SIZE bytes per record when accessing archives

       --recursion
              recurse into directories

       --recursive-unlink
              remove existing directories before extracting directories of the
			  same name

       --remove-files
              remove files after adding them to the archive

       --rmt-command CMD
              use CMD instead of the default /usr/sbin/rmt

       --rsh-command CMD
              use remote CMD instead of rsh(1)

       -s, --same-order, --preserve-order
              list of names to extract is sorted to match archive

       -S, --sparse
              handle sparse files efficiently
       --same-owner
              create extracted files with the same ownership

       --show-defaults
              display the default options used by tar

       --show-omitted-dirs
              print directories tar skips while operating on an archive

       --strip-components NUMBER, --strip-path NUMBER
              strip NUMBER of leading components from file names before extraction

              (1) tar-1.14 uses --strip-path, tar-1.14.90+ uses --strip-components

       --suffix SUFFIX
              use SUFFIX instead of default â~â when backing up files

       -T, --files-from F
              get names to extract or create from file F

       --totals
              print total bytes written with --create

       -U, --unlink-first
              remove existing files before extracting files of the same name

       --use-compress-program PROG
              access the archive through PROG which is generally a compression
			  program

       --utc  display file modification dates in UTC

       -v, --verbose
              verbosely list files processed

       -V, --label NAME
              create archive with volume name NAME

       --version
              print tar program version number

       --volno-file F
              keep track of which volume of a multi-volume archive its working
			  in FILE; used with --multi-volume 

       -w, --interactive, --confirmation
              ask for confirmation for every action

       -W, --verify
              attempt to verify the archive after writing it

       --wildcards
              use wildcards with --exclude

       --wildcards-match-slash
              wildcards match slashes (/) with --exclude

       --exclude PATTERN
              exclude files based upon PATTERN

       -X, --exclude-from FILE
              exclude files listed in FILE

       -Z, --compress, --uncompress
              filter the archive through compress

       -z, --gzip, --gunzip, --ungzip
              filter the archive through gzip

       --use-compress-program PROG
              filter the archive through PROG (which must accept -d)

       -[0-7][lmh]
              specify drive and density

BUGS
       The  GNU  folks,  in general, abhor man pages, and create info documents
	   instead.  The maintainer of tar falls into this category.  Thus this man
	   page may not be complete, nor current, and was included in the Red Hat CVS
	   tree because  man  is  a  great  tool  <img src='http://webmastersedge.net/home/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .   This man page was first taken
	   from Debian Linux and has since been lovingly updated here.

REPORTING BUGS
       Please report bugs via https://bugzilla.redhat.com

SEE ALSO
       The full documentation for tar is maintained as a Texinfo manual.  If
	   the info and tar programs are properly installed at your site, the command

              info tar

       should give you access to the complete manual.

AUTHORS
       Debian Linux http://www.debian.org/
       Mike Frysinger <vapier@gentoo.org>

GNU                                                      Oct 2004                                                   TAR(1)
</pre>
</blockquote>
<p>
<h3>The Full Tar Manual</h3>
<p>See <a href="http://webmastersedge.net/webmaster_wiki/Tar">The Wiki</a> for the full manual.</p>
<p>
<h3>Finishing Statements</h3>
<p>That concludes today&#8217;s tidbit of command line reference!  I hope that you found this useful.  If you would like to see any further information added, you can do so by editing the Wiki <a href="http://webmastersedge.net/webmaster_wiki/Tar">right here</a>.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwebmastersedge.net%2Fhome%2F2008%2Fcommand-line-basics-tar%2F';
  addthis_title  = 'Command+Line+Basics%3A+Tar';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://webmastersedge.net/home/2008/command-line-basics-tar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wiki Updates: CPanel Information And MySQL Upgrade Issues</title>
		<link>http://webmastersedge.net/home/2008/wiki-updates-cpanel-information-and-mysql-upgrade-issues/</link>
		<comments>http://webmastersedge.net/home/2008/wiki-updates-cpanel-information-and-mysql-upgrade-issues/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 18:07:38 +0000</pubDate>
		<dc:creator>Bradford</dc:creator>
				<category><![CDATA[CPanel]]></category>
		<category><![CDATA[Control Panels]]></category>
		<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[Webmaster Wiki]]></category>
		<category><![CDATA[Webmaster's Edge Updates]]></category>

		<guid isPermaLink="false">http://webmastersedge.net/home/?p=50</guid>
		<description><![CDATA[This morning I made several additions to the Webmaster Wiki.  In addition to creating the CPanel Information page, I added the list of scripts that come with CPanel in the /scripts/ directory, how to fix Modsecparse.pl errors after a MySQL upgrade, and what to do when you are Receiving ERROR 2002 (HY000) after a [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I made several additions to the <a href="http://webmastersedge.net/webmaster_wiki/">Webmaster Wiki</a>.  In addition to creating the <a href="http://webmastersedge.net/webmaster_wiki/CPanel_Information">CPanel Information</a> page, I added the <a href="http://webmastersedge.net/webmaster_wiki/List_of_Special_CPanel_Scripts">list of scripts</a> that come with CPanel in the /scripts/ directory, how to fix <a href="http://webmastersedge.net/webmaster_wiki/Modsecparse.pl_errors_after_a_MySQL_upgrade">Modsecparse.pl errors</a> after a MySQL upgrade, and what to do when you are <a href="http://webmastersedge.net/webmaster_wiki/Receiving_ERROR_2002_%28HY000%29_after_a_MySQL_upgrade">Receiving ERROR 2002 (HY000)</a> after a MySQL upgrade.</p>
<p>I plan to better define the <a href="http://webmastersedge.net/webmaster_wiki/List_of_Special_CPanel_Scripts">list of scripts</a> at a later date, with FAQs and guides on using the scripts, especially scripts like EasyApache.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwebmastersedge.net%2Fhome%2F2008%2Fwiki-updates-cpanel-information-and-mysql-upgrade-issues%2F';
  addthis_title  = 'Wiki+Updates%3A+CPanel+Information+And+MySQL+Upgrade+Issues';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://webmastersedge.net/home/2008/wiki-updates-cpanel-information-and-mysql-upgrade-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The PHP5 Upgrade Is Now Complete</title>
		<link>http://webmastersedge.net/home/2008/the-php5-upgrade-is-now-complete/</link>
		<comments>http://webmastersedge.net/home/2008/the-php5-upgrade-is-now-complete/#comments</comments>
		<pubDate>Fri, 23 May 2008 20:16:57 +0000</pubDate>
		<dc:creator>Bradford</dc:creator>
				<category><![CDATA[CPanel]]></category>
		<category><![CDATA[Control Panels]]></category>
		<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[EasyApache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://webmastersedge.net/home/?p=34</guid>
		<description><![CDATA[The topic tells the conclusion of the tale.  After a few configuration changes (so EasyApache3 doesn&#8217;t select MySQL support by default when upgrading PHP) everything is up and running!  All of the php scripts on the server appear to be functioning without issue so far.  I&#8217;ll keep my fingers crossed.   [...]]]></description>
			<content:encoded><![CDATA[<p>The topic tells the conclusion of the tale.  After a few configuration changes (so EasyApache3 doesn&#8217;t select MySQL support by default when upgrading PHP) everything is up and running!  All of the php scripts on the server appear to be functioning without issue so far.  I&#8217;ll keep my fingers crossed.  <img src='http://webmastersedge.net/home/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I didn&#8217;t make it as far as I had hoped this week, but I still feel that I am on track for a public release of the website next week.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwebmastersedge.net%2Fhome%2F2008%2Fthe-php5-upgrade-is-now-complete%2F';
  addthis_title  = 'The+PHP5+Upgrade+Is+Now+Complete';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://webmastersedge.net/home/2008/the-php5-upgrade-is-now-complete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modsecparse.pl Causing Cronjob Errors To Be E-mailed To Me After MySQL5 Upgrade On CPanel</title>
		<link>http://webmastersedge.net/home/2008/modsecparsepl-causing-cronjob-errors-to-be-e-mailed-to-me-after-mysql5-upgrade-on-cpanel/</link>
		<comments>http://webmastersedge.net/home/2008/modsecparsepl-causing-cronjob-errors-to-be-e-mailed-to-me-after-mysql5-upgrade-on-cpanel/#comments</comments>
		<pubDate>Fri, 23 May 2008 16:30:23 +0000</pubDate>
		<dc:creator>Bradford</dc:creator>
				<category><![CDATA[CPanel]]></category>
		<category><![CDATA[Control Panels]]></category>
		<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[Modsec]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://webmastersedge.net/home/?p=33</guid>
		<description><![CDATA[I woke up this morning and found e-mails that were sent to me every hour showing a cronjob error.
I did some poking around and found a method of fixing it.  Weird that searching the CPanel forums yielded no results.
Here&#8217;s the error message that was being e-mailed to me:
/etc/cron.hourly/modsecparse.pl:
DBI connect(&#8216;modsec:localhost&#8217;,'modsec&#8217;,&#8230;) failed: Access denied for user [...]]]></description>
			<content:encoded><![CDATA[<p>I woke up this morning and found e-mails that were sent to me every hour showing a cronjob error.</p>
<p>I did some poking around and found a method of fixing it.  Weird that searching the CPanel forums yielded no results.</p>
<p>Here&#8217;s the error message that was being e-mailed to me:</p>
<blockquote><p>/etc/cron.hourly/modsecparse.pl:</p>
<p>DBI connect(&#8216;modsec:localhost&#8217;,'modsec&#8217;,&#8230;) failed: Access denied for user &#8216;modsec&#8217;@'localhost&#8217; (using password: YES) at /etc/cron.hourly/modsecparse.pl line 19<br />
Unable to connect to mysql database at /etc/cron.hourly/modsecparse.pl line 19.</p></blockquote>
<p>Ok, so that&#8217;s a bummer.  To fix this I popped open an SSH session and used the following commands:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">su</span><br />
<br />
<span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>cron.hourly<span style="color: #000000; font-weight: bold;">/</span>modsecparse.pl</div></div>
<p>Take a look at the modsec user&#8217;s password, then flip over to CPanel&#8217;s WHM.  Click on phpMyAdmin and then in phpMyAdmin click Privileges > M > and edit the user Modsec.  Change the password to whatever the password was in the aforementioned modsecparse.pl.  That should do it!!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwebmastersedge.net%2Fhome%2F2008%2Fmodsecparsepl-causing-cronjob-errors-to-be-e-mailed-to-me-after-mysql5-upgrade-on-cpanel%2F';
  addthis_title  = 'Modsecparse.pl+Causing+Cronjob+Errors+To+Be+E-mailed+To+Me+After+MySQL5+Upgrade+On+CPanel';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://webmastersedge.net/home/2008/modsecparsepl-causing-cronjob-errors-to-be-e-mailed-to-me-after-mysql5-upgrade-on-cpanel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MySQL Upgrade Gone Bad Or &#8220;How to upgrade MySQL 4.1 to MySQL 5.0 on CPanel&#8221;</title>
		<link>http://webmastersedge.net/home/2008/mysql-upgrade-gone-bad-or-how-to-upgrade-mysql-41-to-mysql-50-on-cpanel/</link>
		<comments>http://webmastersedge.net/home/2008/mysql-upgrade-gone-bad-or-how-to-upgrade-mysql-41-to-mysql-50-on-cpanel/#comments</comments>
		<pubDate>Thu, 22 May 2008 21:27:46 +0000</pubDate>
		<dc:creator>Bradford</dc:creator>
				<category><![CDATA[CPanel]]></category>
		<category><![CDATA[Control Panels]]></category>
		<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://webmastersedge.net/home/?p=32</guid>
		<description><![CDATA[Today I decided to begin the upgrade process on my webserver by performing the upgrade of MySQL4.1 to MySQL5.  Here are the steps:

Login to WHM (Web Host Manager)
Click on &#8220;Tweak Settings&#8221; and scroll down to MySQL®
Check the Radio Button for 5.0, scroll down, and click Save
Log in through SSH and perform the following commands:

	SuperUser:
su
Navigate [...]]]></description>
			<content:encoded><![CDATA[<p>Today I decided to begin the upgrade process on my webserver by performing the upgrade of MySQL4.1 to MySQL5.  Here are the steps:</p>
<ul>
<li>Login to WHM (Web Host Manager)</li>
<li>Click on &#8220;Tweak Settings&#8221; and scroll down to MySQL®</li>
<li>Check the Radio Button for 5.0, scroll down, and click Save</li>
<li>Log in through SSH and perform the following commands:</li>
</ul>
<p>	SuperUser:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">su</span></div></div>
<p>Navigate to your Scripts directory:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>scripts<span style="color: #000000; font-weight: bold;">/</span></div></div>
<p>Upgrade MySQL:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">.<span style="color: #000000; font-weight: bold;">/</span>mysqlup</div></div>
<p>Recompile MySQL Perl Modules:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">.<span style="color: #000000; font-weight: bold;">/</span>perlinstaller <span style="color: #660033;">--force</span> Bundle::DBD::mysql</div></div>
<p>Recompile Apache (use your previously saved configuration, unless you want to make some other changes):</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">.<span style="color: #000000; font-weight: bold;">/</span>easyapache</div></div>
<p>Now at this point everything <strong>SHOULD</strong> be back to normal.  There are two main issues you may run into however.  The first is the one that I ran into.  MySQL would fail to start with:</p>
<blockquote><p>ERROR 2002 (HY000): Can&#8217;t connect to local MySQL server through socket &#8216;/var/lib/mysql/mysql.sock&#8217; (2)</p></blockquote>
<p>To fix this I had to perform the following:</p>
<p>	Rename the my.cnf file as it contains some old information:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>my.cnf <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>my.cnf.OLD</div></div>
<p>Force MySQL to update again:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">/</span>scripts<span style="color: #000000; font-weight: bold;">/</span>mysqlup <span style="color: #660033;">--force</span></div></div>
<p>&#8230;and that should do the trick!  However, another issue that you may run into is:</p>
<blockquote><p>Starting MySQLCouldn&#8217;t find MySQL manager or server        [FAILED]</p></blockquote>
<p>	To correct this run:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>my.cnf</div></div>
<p>Find the line that states:</p>
<blockquote><p>basedir=/var/lib</p></blockquote>
<p>	Comment it out by adding a pound sign in front of it:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># basedir=/var/lib</span></div></div>
<p>Save the file and restart MySQL:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span><br />
.<span style="color: #000000; font-weight: bold;">/</span>mysql restart</div></div>
<p>I&#8217;ll be adding this information to the Wiki as soon as it is ready.  Enjoy!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwebmastersedge.net%2Fhome%2F2008%2Fmysql-upgrade-gone-bad-or-how-to-upgrade-mysql-41-to-mysql-50-on-cpanel%2F';
  addthis_title  = 'MySQL+Upgrade+Gone+Bad+Or+%26%238220%3BHow+to+upgrade+MySQL+4.1+to+MySQL+5.0+on+CPanel%26%238221%3B';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://webmastersedge.net/home/2008/mysql-upgrade-gone-bad-or-how-to-upgrade-mysql-41-to-mysql-50-on-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

