<?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>Terminus a Quo &#187; System Administration</title>
	<atom:link href="http://abing.gotdns.com/posts/category/system-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://abing.gotdns.com</link>
	<description>Because you can never have too many blogs on the Internet...</description>
	<lastBuildDate>Tue, 19 May 2009 00:23:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu 9.04 Jaunty Jackalope</title>
		<link>http://abing.gotdns.com/posts/2009/ubuntu-904-jaunty-jackalope/</link>
		<comments>http://abing.gotdns.com/posts/2009/ubuntu-904-jaunty-jackalope/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 05:44:34 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[You are doing it WRONG!!!]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/?p=301</guid>
		<description><![CDATA[Last week decided to upgrade to the latest Ubuntu version 9.04, aka &#8220;Jaunty Jackalope&#8221;. Although I knew from the start that there was nothing really groundbreaking in this new release, I upgraded in order to be prepared for the next release due out this October. I have read a couple of articles, here and here. [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>Last week decided to upgrade to the latest <a href="http://www.ubuntu.com/news/ubuntu-9.04-desktop">Ubuntu version 9.04, aka &#8220;Jaunty Jackalope&#8221;</a>. Although I knew from the start that there was nothing really groundbreaking in this new release, I upgraded in order to be prepared for the next release due out this October. I have read a couple of articles, <a href="http://news.cnet.com/8301-1001_3-10226746-92.html" title="Ubuntu 9.04 as slick as Windows 7, Mac OS X">here</a> and <a href="http://www.tectonic.co.za/wordpress/wp-trackback.php?p=4160" title="Is Ubuntu Jaunty quick enough to beat Windows 7?">here</a>. The first one seems to be all worked up about about aesthetics saying Ubuntu is &#8220;now as slick and as beautiful as Mac OSX or Windows 7&#8243;. The second article seem to be more impressed with how fast 9.04 boots up and shuts down.</p>

<p>A quick search through Google and I find more articles talking about how slick the new release is or how fast it starts up and shuts down. If these articles are anything to go by, then the developers have clearly met one of the goals set by their BDFL, Mark Shuttleworth: Shorter boot speeds, some as short as 25 seconds, ensure faster access to a full computing environment on most desktop, laptop and netbook models. But I fear that the developers have focused on these goals too much that they lost focus on two of the most important things for (most) end users: <strong>system stability</strong> and <strong>seamless upgrades</strong>.</p>

<p><span id="more-301"></span></p>

<p>I have been using Ubuntu since the very first release (Ubuntu 4.10) and I have used every single release since then. I use my computer for 8 hours a day at the very least. I have several projects that I maintain and file system integrity is very, very important for me. <strong>System stability</strong> is something that I expect from a &#8220;stable&#8221; release. Almost all of the Ubuntu releases so far have been very stable. The 8.04LTS release had a few issues with Flash crashing under 64-bit Firefox and Wi-Fi would die abruptly and get back up again but that&#8217;s about it. The 8.10 release had <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/286285" title="kernel 2.6.27-7-generic bug BUG: scheduling while atomic: swapper/0/0x00000100">a very annoying kernel bug that took <strong>5 months for a fix to be released</strong></a>.</p>

<p>Upgrades between releases have always been pretty painless for me. I don&#8217;t do a lot of funky stuff like installing packages directly from sources and certainly none of that &#8220;automatix&#8221; crap. Upgrades via &#8220;Update Manager&#8221; have always worked for me, with very few problems. I have come to depend on the fact that I can simply fire issue an <code>update-manager -d</code> and everything falls into place more or less correctly. At the end of an upgrade the most that I needed to do was to tweak a few config files, re-enable some repositories that were disabled during the upgrade and I&#8217;m done.</p>

<p>The upgrade process from 8.10 to 9.04 went without a hitch. I would even be inclined to say that it was <em>flawless</em>. What disappoints me so much to the point of frustration was that the apparently flawless upgrade had a couple of <strong>very nasty</strong> gremlins under the hood. When I rebooted my laptop after the upgrade, the Bluetooth light. It did this <em>every single time</em> I booted up. It is <em>not</em> supposed light up if I had it off when I shut down. The much touted 25-second boot up time was a no show. Boot up speed was more or less the same for me.</p>

<p>On my first boot up after upgrading, I was about to update my Medibuntu packages. After hitting &#8220;Reload&#8221; on Synaptic, it complained about not being able to write to the file system because it was mounted as &#8220;read-only&#8221;. Uh-oh! This could only mean one of two things: full disk or file system corruption. I thought that this was only a post-upgrade hiccup and it should go away on the next reboot. I rebooted, cleaned up my APT package cache to make sure that I had enough disk space on my root file system and I was able to update the Medibuntu packages.</p>

<p>The next day, I spent most of my time trying to figure out how to turn off the damned Bluetooth light which seems to come on every time the ACPI subsystem was initialized on boot. The config files I tweaked required me to reboot in order to see if they worked in keeping the Bluetooth light off. At one point, rebooting caused <code>fsck</code> to run and it reported that my root file system had errors that needed a manual <code>fsck</code>. I ran <code>fsck</code> manually and there were quite a lot of errors that needed fixing, mostly having to do with unused inodes. During the repair stage, one of the <code>libsvg</code> library files were hosed, causing startup of some of my GNOME panel applets to fail. I reinstalled the library and that fixed it. A couple more reboots and I then <code>fsck</code> was forced to check my home partition because apparently, it was not unmounted cleanly. Boot-time <code>fsck</code> failed with errors and required me to run it manually. In the manual run, it reported a whole lot of unused inode errors, several superblock errors, and directory errors. I lost one photo file in my F-Spot Photos folder. I was starting to get really nervous now. All my project repositories are in my home partition. I can&#8217;t afford to lose any of those files so I decided to take a snapshot and dump it on an external hard disk.</p>

<p>I spent all day long rebooting and running <code>fsck</code>. This was because something would crash at some point because of some library not loading. At one point I even ran <code>memcheck</code> to see if it wasn&#8217;t my memory. This laptop is only about 7 months old and I would be really disappointed if this was caused by hardware failure. In my previous experience, file system corruption was usually caused by a bad memory stick. Fortunately there were no problems reported by <code>memcheck</code>. <code>fsck</code> with bad blocks checking reports no bad blocks on my hard drive. I can only come to the conclusion that this is a software problem caused by the upgrade. After several more crashes and <code>fsck</code> runs reporting more of the same thing, I was frustrated and I finally gave up. I downloaded the ISO image for Ubuntu 8.10, hoping that it would not crash during download and completely hose my home file system. I had no choice at this point and I wiped my root file system and installed Ubuntu 8.10, which surprisingly caused the Hibernate function to work.</p>

<p>It was a really disappointing and frustrating experience. I think the Ubuntu team has succeeded in their goal of trying to out-Windows Windows. This latest release was so unstable that it made me long for the good old days of Windows ME. This unhealthy obsession with faster boot and shutdown times is causing them to lose focus on system stability and seamless upgrading. I can&#8217;t see how having the fastest boot and shutdown time will help make Ubuntu any more useful than it is right now. I don&#8217;t really give a flying fart if the OS boots in 25 seconds or 25 minutes. I don&#8217;t really care about how slick the on-screen system notifications are. All I really care about is a clean, stable, easily maintained and easily upgraded operating system that does not play Russian Roulette with my files. Hopefully the Ubuntu team gets through this &#8220;my OS can boot faster than yours&#8221; phase and start working on the more important things. Otherwise, we will all be stuck with an OS that can do nothing more than boot and shutdown: Really fast.</p>

<p>Side note: A &#8220;Jackalope&#8221; is a mythical creature and sightings of this creature have been attributed to <a href="http://ww2.lafayette.edu/~hollidac/jacksforreal.html">rabbits infected with the Shope Papilloma virus</a>. I think the codename really suites the 9.04 release. It&#8217;s a beast that has sprouted some rather curious but completely useless appendages at the expense of being healthy.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2009/ubuntu-904-jaunty-jackalope/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing the Latest ATI Drivers on an Acer Laptop</title>
		<link>http://abing.gotdns.com/posts/2008/installing-the-latest-ati-drivers-on-an-acer-laptop/</link>
		<comments>http://abing.gotdns.com/posts/2008/installing-the-latest-ati-drivers-on-an-acer-laptop/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 05:52:55 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[You are doing it WRONG!!!]]></category>
		<category><![CDATA[ati mobility drivers]]></category>
		<category><![CDATA[oem crippleware]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/?p=192</guid>
		<description><![CDATA[I decided to buy a new laptop last month and after poring through reviews I decided to get an Acer Aspire 4920G. I got the submodel(?) 811g16mn which came with 1GB memory (4GB max) and an ATI Mobility Radeon HD 2400 XT. I bumped up the memory to the maximum 4GB to since I plan [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>I decided to buy a new laptop last month and after poring through reviews I decided to get an Acer Aspire 4920G. I got the submodel(?) 811g16mn which came with 1GB memory (4GB max) and an ATI Mobility Radeon HD 2400 XT. I bumped up the memory to the maximum 4GB to since I plan to run VMWare on Linux. The thing came with Vista Home Premium and after a bit of shoehorning to get a proper dual-boot setup to work, I started to fiddle around with Vista. In spite of all the negative press I have read about Vista, it&#8217;s not actually as bad as everyone says. I think I&#8217;m keeping Vista on this laptop, I paid for it after all.</p>

<p>There are a some things on this laptop that really irked me. For one, there&#8217;s the design. When the thing is closed, it looks like this black gem on your desk. While it&#8217;s not as good looking as a Macbook Pro, it&#8217;s not half bad either as long as you keep it closed. Opening it is another story, &#8220;ceramic&#8221; is just a fancy term for &#8220;all you get is a boring gray plastic finish&#8221;.</p>

<p>Another thing is that the keyboard has that &#8220;cheap plastic&#8221; feel to it. As a programmer, I spend inordinate amounts of time typing and a good keyboard is a must. There are times when the left Ctrl or Shift key would get stuck and it would pop out making a scary &#8220;click&#8221; sound. When I first heard that sound, I thought something had just overheated and popped.</p>

<p>But these are minor annoyances compared to the biggest annoyance of all.</p>

<p><span id="more-192"></span></p>

<p>Acer calls it &#8220;Empowering Technology&#8221;. It&#8217;s virtually impossible to get just a clean Windows install on new laptops these days without having to go buy a barebones kit and making one yourself. I don&#8217;t know what it is with these manufacturers these days but a lot of them have been shipping units <strong>without</strong> system recovery discs. My wife&#8217;s HP Compaq laptop didn&#8217;t come with a recovery disc and neither did this Acer. They want you to burn your own copy of the recovery discs on DVD+R. Say what?!? In my experience, those things don&#8217;t even last more than a year even if kept in a &#8220;cool, dark place&#8221;. I really don&#8217;t understand why they can&#8217;t just provide a pressed DVD like they used to. If this is supposed to stop piracy, then it&#8217;s not working. I have seen OEM copies of Vista floating around on &#8220;scener&#8221; sites and on TPB, fully patched to SP1 and the latest updates! &#8220;Empowering&#8221; indeed.</p>

<p>While I can live with not having pressed recovery DVD&#8217;s and pre-installed crapware, the thing that really irks me the most is the fact that I cannot upgrade my ATI drivers. I tried downloading the latest drivers from the ATI website but they won&#8217;t install. Even though the installer finishes without problems, it does not install the latest CCC and the drivers. It stays stuck on the drivers provided by Acer which are over a year old. After a bit of searching I found this <a href="http://support.ati.com/ics/support/KBAnswer.asp?questionID=26978">statement from ATI</a>:</p>

<blockquote>
  <p>Currently AMD does not provide any driver support for Mobility Radeon™ products. All driver and technical support for Mobility Radeon™ products is provided by the original laptop or notebook manufacturer. The drivers that are available for download at ati.amd.com are for desktop products only.</p>
  
  <p>To download Windows Vista Mobility Radeon™ drivers or driver updates for your laptop or notebook product, please visit your laptop or notebook manufacturer&#8217;s website.</p>
</blockquote>

<p>So I&#8217;m stuck with the Acer provided drivers? The suck just keeps on getting stronger on this one. While I can understand the reasoning behind this, OEM&#8217;s want to be able to control everything on both hardware and software fronts as much as possible. They modify the drivers to make sure that they work properly. But the only modifications I can see on the Acer provided drivers is that the CCC is crippled to the point of being completely useless. There is no &#8220;Advanced&#8221; CCC with the Acer provided drivers. The &#8220;Advanced&#8221; CCC is important because there are many tweaks and settings that you can only access using the &#8220;Advanced&#8221; view. Most important for me is the option to &#8220;Preserve Aspect Ratio&#8221; when switching from 16:9 to 4:3 resolutions. Some games I am running do not have support for widescreen and so I have to fall back to using standard resolutions (800&#215;600).</p>

<p>I have heard of the so-called &#8220;Omega ATI Drivers&#8221; which are supposed to allow you to install the ATI Desktop drivers on ATI Mobility hardware. At the time of writing, they only support Windows XP. After a few more days of searching I finally stumbled on this <a href="http://hardware.gotfrag.com/portal/forums/thread/331386/">thread from FPSLabs Forums</a> which led me to <a href="http://www.driverheaven.net/modtool.php">this website</a>. After following the instructions on DriverHeaven.net, I was able to install the latest ATI drivers with a full-featured CCC. So far, everything seems to be going along swimmingly. <strong>I must stress that following the instructions on DriverHeaven.net may probably void your warranty as you will be running unsigned drivers (not signed by WHQL). But I have read my Warranty Information Booklet and there is nothing in there that implicitly or explicitly states that installing the &#8220;reference&#8221; drivers from ATI will void my product warranty. It is clear though that I cannot expect any help from either ATI or Acer if there are any problems caused by the driver.</strong></p>

<p>Remember, if things go haywire you can always undo the driver installation using Vista&#8217;s &#8220;System Restore&#8221; feature.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2008/installing-the-latest-ati-drivers-on-an-acer-laptop/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Mysterious &#8220;Search Page&#8221;</title>
		<link>http://abing.gotdns.com/posts/2008/the-mysterious-search-page/</link>
		<comments>http://abing.gotdns.com/posts/2008/the-mysterious-search-page/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 06:07:36 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[You are doing it WRONG!!!]]></category>
		<category><![CDATA[69.64.58.30]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[meridiantelekoms.com]]></category>
		<category><![CDATA[relevancy searcher]]></category>
		<category><![CDATA[screw up]]></category>
		<category><![CDATA[smartbro]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/?p=166</guid>
		<description><![CDATA[I was working on getting the latest GTK# to compile from source using Microsoft&#8217;s tool chain the other night. I eventually gave up because of too many errors that I just did not want to take the time to fix. However, while I was coercing the build environment trying to get things to work I [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>I was working on getting the latest GTK# to compile from source using Microsoft&#8217;s tool chain the other night. I eventually gave up because of too many errors that I just did not want to take the time to fix. However, while I was coercing the build environment trying to get things to work I kept typing &#8220;vim&#8221; out of habit on the Windows CMD window. Eventually I got tired of trying to remember that I <em>must</em> use either Notepad or Wordpad. So I decided to download and install Vim for Windows. I typed in <code>vim.org</code> on my browser&#8217;s address bar and this is what I got:</p>

<p><a href='http://abing.gotdns.com/wp-content/uploads/2008/07/fake-vimorg.png'><img src="http://abing.gotdns.com/wp-content/uploads/2008/07/fake-vimorg-300x180.png" alt="This shows up instead of the real vim.org home page." title="Weird Search Page" width="300" height="180" class="aligncenter size-medium wp-image-167" /></a></p>

<p>I have seen this page before. <a href="http://www.redberger.net/">Berger</a> had the same problem when we were moving our arsenic.ph domain to our shiny new server. Here&#8217;s what he was getting at the time:</p>

<p><a href='http://abing.gotdns.com/wp-content/uploads/2008/07/arsenicph-berger.jpg'><img src="http://abing.gotdns.com/wp-content/uploads/2008/07/arsenicph-berger-300x187.jpg" alt="Berger\&#039;s Arsenic.ph \&quot;Page\&quot;" title="Berger\&#039;s Arsenic.ph \&quot;Page\&quot;" width="300" height="187" class="aligncenter size-medium wp-image-168" /></a></p>

<p>It also appears that we were not the only ones affected by this issue. There are <a href="http://www.google.com/search?q=meridiantelekoms+defaced">others who are also getting this strange page</a>.</p>

<p><span id="more-166"></span></p>

<h3>WTF?!?</h3>

<p>The first time I came saw this problem was when we moved our arsenic.ph domain name to our new server. There were, admittedly, a few kinks that I had not worked out yet and DNS was among them. I was able to access our home page with no problem. But Berger complained to me about getting this &#8220;search results&#8221; page and my first suspicion was that his PC had been hijacked and that DNS queries were going somewhere else. But then he&#8217;s using a Mac. You can deny it as much as you would like, but <a href="http://blog.washingtonpost.com/securityfix/2006/08/hijacking_a_macbook_in_60_seco_1.html">Mac users are not immune to pwnage</a>. I found instructions on how to reset the DNS cache for Mac OS X. We tried it to no avail. Eventually he ended up doing a wipe-n-load on his Macbook Pro.</p>

<p>Eventually, our new DNS settings have propagated throughout the whole DNS network. So arsenic.ph can now be accessed with no problems. I forgot about it but then it reared it&#8217;s ugly head again last night. I thought that my laptop had been hijacked so I ran HijackThis which found nothing out of the ordinary. I also downloaded and ran Spybot Search and Destroy. Nothing suspicious. Short of doing a full system scan with my AV software, I decided to take a different route.</p>

<p>I rebooted to Linux. Typed vim.org in Firefox and it automagically redirects to www.vim.org, Vim&#8217;s home page as it should. So what was triggering the &#8220;Search Page&#8221; on Windows?</p>

<h3>meridiantelekoms.com is Sucks</h3>

<p>To understand the problem, you need to understand what your OS does when you type in a bare domain name in your browser&#8217;s address bar. Typically it goes something like this:</p>

<p>Your OS will try to find the domain name in its local DNS cache. If this fails, it will query your first DNS server. If connecting to your first DNS server fails, it will try to connect to the second one in the list (some systems allow up to 5 backup DNS servers). If the DNS query does not return a usable IP address, your system will fall back to whatever it is you have as your &#8220;Primary Domain Suffix&#8221;. It will tack your primary domain suffix to the end of the domain name you have just supplied.</p>

<p>For example, you type in &#8220;nonexistentdomain.none&#8221; in your browser&#8217;s address bar. Your OS will go through with the usual query chain before giving up and using your supplied primary domain suffix. For SmartBro customers, your primary domain suffix is &#8220;meridiantelekoms.com&#8221; by default. So &#8220;nonexistentdomain.none&#8221; will be turned into &#8220;nonexistentdomain.none.meridiantelekoms.com&#8221;.</p>

<p>Let&#8217;s take a look at what &#8220;meridiantelekoms.com&#8221; looks like:</p>

<p><a href='http://abing.gotdns.com/wp-content/uploads/2008/07/meridian-telekoms.png'><img src="http://abing.gotdns.com/wp-content/uploads/2008/07/meridian-telekoms-300x180.png" alt="Meridian Telekoms \&quot;Home Page\&quot;" title="Meridian Telekoms \&quot;Home Page\&quot;" width="300" height="180" class="aligncenter size-medium wp-image-169" /></a></p>

<p>Look familiar? It appears that some uberleethax0r has taken over the meridiantelekoms.com website. Here is the <a href="">whois data for meridiantelekoms.com</a> as <a href="http://domaintools.com/">domaintools</a> sees it.</p>

<p>Here is the relevant part of the whois data as reported by the command line <code>whois</code> tool that I have installed on Linux:</p>

<pre><code>Registrant:
Maagdenberg, Ubbo
   Wilhelimanstraat 9
   Haarlem 2011vh
   NL

   Domain Name: MERIDIANTELEKOMS.COM

   Administrative Contact, Technical Contact:
      Maagdenberg, Ubbo                
      Wilhelimanstraat 9
      Haarlem 2011vh
      NL
      +31.003123 fax: +31.003123

   Record expires on 07-Oct-2008.
   Record created on 07-Oct-1999.
   Database last updated on 14-Jul-2008 12:30:54 EDT.

   Domain servers in listed order:

   NS5.WORLDNIC.COM             205.178.190.3
   NS6.WORLDNIC.COM             205.178.144.3
</code></pre>

<p>This &#8220;Ubbo Maagdenberg&#8221; person probably bought the expired meridiantelekoms.com domain and configured it to point to this &#8220;Relevancy Searcher&#8221; page that you keep getting if you try to enter a non-existent domain name. At the moment, this is slightly annoying when you get this &#8220;Relevancy Searcher&#8221; page. But this can turn dangerous if the server running at the IP address 69.64.58.30 was hax0red and began serving malware to unsuspecting passersby on the Smart Broadband network. It can also be turned into a staging area for man-in-the-middle attacks.</p>

<h3>How Do You Fix This?</h3>

<p>The fix is pretty simple if you&#8217;re behind a router. Just set your router up so that it supplies &#8220;.&#8221; (dot/period) as the Primary Domain Suffix to DHCP clients. On my WRT54G router, this can be set up under the &#8220;Basic Setup&#8221; page of the &#8220;Setup&#8221; tab on the router&#8217;s web-based admin interface. Simply change the &#8220;Domain Name&#8221; field to say &#8220;.&#8221; (without quotes).</p>

<p>It&#8217;s a bit more involved if you&#8217;re directly connecting your PC to your SmartBro. It depends on what OS you&#8217;re running. If you&#8217;re running Windows, the instructions found <a href="http://windowsitpro.com/article/articleid/15282/how-can-set-the-primary-dns-suffix-in-windows-2000.html">here</a> may help. It&#8217;s for Windows 2000 but it&#8217;s still usable under Windows XP.</p>

<p>If you&#8217;re running Linux and your distribution is using NetworkManager or some weird automatic network configuration daemon, then you need to go to your Linux distribution&#8217;s forum and try searching for &#8220;networkmanager resolv.conf&#8221;.</p>

<p>For Mac OS X, you&#8217;re on your own for now, at least until September of this year.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2008/the-mysterious-search-page/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Updated encfs Source Packages for Arch Linux</title>
		<link>http://abing.gotdns.com/posts/2008/updated-encfs-source-packages-for-arch-linux/</link>
		<comments>http://abing.gotdns.com/posts/2008/updated-encfs-source-packages-for-arch-linux/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 16:35:29 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[Code and Consequences]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[AUR]]></category>
		<category><![CDATA[encfs]]></category>
		<category><![CDATA[packages]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/?p=165</guid>
		<description><![CDATA[So I wanted to decrypt an encfs encrypted directory on my laptop recently. I was greeted with the following error:

encfs: error while loading shared libraries: librlog.so.1: cannot open shared object file: No such file or directory

It turns out that there has been a recent update to rlog and the encfs package was somehow left out [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>So I wanted to decrypt an <a href="http://www.arg0.net/encfs">encfs</a> encrypted directory on my laptop recently. I was greeted with the following error:</p>

<p><code>encfs: error while loading shared libraries: librlog.so.1: cannot open shared object file: No such file or directory</code></p>

<p>It turns out that there has been a recent update to <code>rlog</code> and the encfs package was somehow left out of the rebuild. It also appears that the <code>encfs</code> package has disappeared from the Arch Linux Community Repository.</p>

<p>I have been rolling my own Arch Linux packages for quite a while now. I have been using a few locally built packages on my system. Since I already have two custom packages that I wrote myself, I figured it would be a good idea to share them. I&#8217;m too lazy to register with AUR and upload these packages and it would be likely that I would forget about updating them as well. So I am posting them here for consumption by the general public.</p>

<p>Download the <a href="encfs: error while loading shared libraries: librlog.so.1: cannot open shared object file: No such file or directory">Arch Linux source package for encfs</a> here. To build this:</p>

<ol>
<li>Make a directory to hold the files contained in the encfs source package.</li>
<li>Unpack the tarballed source package into the directory you created.</li>
<li>Install <code>boost</code>. Boost is a C++ library that is used by recent versions of encfs. You will also need to install <code>fuse</code> in case you don&#8217;t have it yet.</li>
<li>Change into the encfs source package directory you made and run <code>makepkg -c</code>. This will download the source for the current version of encfs. When <code>makepkg</code> finishes you will end up with an installable package in your current directory.</li>
<li>Install the package using <code>pacman encfs-1.4.2-1-i686.pkg.tar.gz</code> (replace encfs-1.4.2-1-i686.pkg.tar.gz with the correct filename for your custom-built package.)</li>
</ol>

<p>There you go. You should have <code>encfs</code> working now.</p>

<p>You can also find <a href="http://pyme.sourceforge.net/">pyme</a> in my <a href="/AUR/">AUR directory</a>.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2008/updated-encfs-source-packages-for-arch-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Performance Tuning on Centos 5.1</title>
		<link>http://abing.gotdns.com/posts/2008/mysql-performance-tuning-on-centos-51/</link>
		<comments>http://abing.gotdns.com/posts/2008/mysql-performance-tuning-on-centos-51/#comments</comments>
		<pubDate>Sat, 17 May 2008 14:12:35 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[CentOS/RHEL]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/?p=147</guid>
		<description><![CDATA[Last week I installed SugarCRM for arsenic.ph to try it out. While I was playing around with adding new users and roles, I noticed that it took over a minute for SugarCRM to finish creating one user. I began investigating and slow queries notwithstanding, MySQL turned out to be the performance bottleneck. This server is [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>Last week I installed SugarCRM for arsenic.ph to try it out. While I was playing around with adding new users and roles, I noticed that it took over a minute for SugarCRM to finish creating one user. I began investigating and slow queries notwithstanding, MySQL turned out to be the performance bottleneck. This server is still new and I still have not come around to tuning MySQL as I have already begun moving most of my work to Postgres. Unfortunately there are still a large number of good software packages out there that require MySQL so I was left with no choice but to tune it.</p>

<p><span id="more-147"></span></p>

<p>Running <code>sql-bench/run-all-tests</code> from the mysql-benchmark suite I got the following:</p>

<pre><code>
alter-table: 
Total time: 14 wallclock secs ( 0.01 usr  0.01 sys +  0.00 cusr  0.00 csys =  0.02 CPU)
ATIS: Total time:  3 wallclock secs ( 2.58 usr  0.10 sys +  0.00 cusr  0.00 csys =  2.68 CPU)
big-tables: Total time:  5 wallclock secs ( 2.33 usr  0.17 sys +  0.00 cusr  0.00 csys =  2.50 CPU)
connect: Total time: 49 wallclock secs (12.93 usr  7.55 sys +  0.00 cusr  0.00 csys = 20.48 CPU)
create: Total time: 59 wallclock secs ( 1.06 usr  0.50 sys +  0.00 cusr  0.00 csys =  1.56 CPU)
<strong>insert: Total time: 853 wallclock secs (151.16 usr 20.44 sys +  0.00 cusr  0.00 csys = 171.60 CPU)</strong>
select: Total time: 42 wallclock secs (13.51 usr  1.32 sys +  0.00 cusr  0.00 csys = 14.83 CPU)
transactions: Test skipped because the database doesn't support transactions
wisconsin: Total time:  3 wallclock secs ( 1.18 usr  0.27 sys +  0.00 cusr  0.00 csys =  1.45 CPU)
</code></pre>

<p>As I had suspected, insert performance was way too slow. In this case it took over 14 minutes to run the entire test-insert suite which runs about 500,000+ queries. Normally this would not be an issue but SugarCRM has a lot of <code>insert</code>s to do when it creates a new user or a new role. Clearly something needs to be done about slow inserts. Turn out MyISAM is not really good when it comes to <code>insert</code>s so MySQL needs a little help on the configuration side to improve things.</p>

<p>After about half an hour of playing around with <code>/etc/my.cnf</code> I finally managed to cut down execution time for <code>insert</code>s while keeping the other operations at almost the same level of performance. The results:</p>

<pre>
alter-table: Total time: 14 wallclock secs ( 0.01 usr  0.01 sys +  0.00 cusr  0.00 csys =  0.02 CPU)
ATIS: Total time:  3 wallclock secs ( 2.58 usr  0.08 sys +  0.00 cusr  0.00 csys =  2.66 CPU)
big-tables: Total time:  5 wallclock secs ( 2.32 usr  0.21 sys +  0.00 cusr  0.00 csys =  2.53 CPU)
connect: Total time: 46 wallclock secs (13.42 usr  6.37 sys +  0.00 cusr  0.00 csys = 19.79 CPU)
create: Total time: 60 wallclock secs ( 1.07 usr  0.59 sys +  0.00 cusr  0.00 csys =  1.66 CPU)
<strong>insert: Total time: 439 wallclock secs (141.66 usr 21.48 sys +  0.00 cusr  0.00 csys = 163.14 CPU)</strong>
select: Total time: 43 wallclock secs (13.57 usr  1.40 sys +  0.00 cusr  0.00 csys = 14.97 CPU)
transactions: Test skipped because the database doesn't support transactions
wisconsin: Total time:  3 wallclock secs ( 1.21 usr  0.24 sys +  0.00 cusr  0.00 csys =  1.45 CPU)
</pre>

<p>That&#8217;s a 64% improvement in the insert benchmark, the rest of the benchmarks are largely unchanged. The whole shebang of settings are as follows:</p>

<pre><code>
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-name-resolve
back_log = 75
max_connections = 500
key_buffer = 384M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 1800
thread_cache_size = 384
wait_timeout = 7200
connect_timeout = 10
tmp_table_size = 64M
max_heap_table_size = 64M
max_allowed_packet = 64M
max_connect_errors = 1000
read_rnd_buffer_size = 524288
bulk_insert_buffer_size = 16M
<strong>query_cache_min_res = 2K</strong>
query_cache_limit = 4M
<strong>query_cache_size = 32M</strong>
<strong>query_cache_type = 1</strong>
query_prealloc_size = 65536
query_alloc_block_size = 131072
</code></pre>

<p>Most of these settings came from here: <a href="http://www.debianhelp.co.uk/mysqlperformance.htm">http://www.debianhelp.co.uk/mysqlperformance.htm</a>. I played with some of the settings based on sql-bench results in addition to using <a href="http://hackmysql.com/mysqlreport">mysqlreport</a> to further fine-tune the settings. You might need to adjust your own settings to match your needs though. As for me, I&#8217;m happy with the results although I know things can be further tuned for performance using OS-level tweaks. But as far as I can tell, OS-level tweaks will only cause marginal performance improvements anyway.</p>

<p>Oh, and as for SugarCRM I removed it and used <a href="http://www.vtiger.com/">vTiger</a> instead,</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2008/mysql-performance-tuning-on-centos-51/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On the Recent Debian OpenSSL Debacle</title>
		<link>http://abing.gotdns.com/posts/2008/on-the-recent-debian-openssl-debacle/</link>
		<comments>http://abing.gotdns.com/posts/2008/on-the-recent-debian-openssl-debacle/#comments</comments>
		<pubDate>Fri, 16 May 2008 04:00:30 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/?p=145</guid>
		<description><![CDATA[I can think of only two words that best describe the whole deal: Epic fail.

It&#8217;s been quite a spectacle ever since I saw that security vulnerability report on the NVD RSS feed. Even though the bug has been patched and fixed, system administrators are now left with the task of cleaning up the mess. It [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>I can think of only two words that best describe the whole deal: Epic fail.</p>

<p>It&#8217;s been quite a spectacle ever since I saw that security vulnerability report on the NVD RSS feed. Even though the bug has been patched and fixed, system administrators are now left with the task of cleaning up the mess. It would have been OK if it only affected Debian and Debian-based systems. But it turns out the damage is far reaching. <strong>Even if you don&#8217;t run Debian, if you are using SSL certificates generated by a CA who generated the certificate using  a Debian system, your SSL certificate will have to be revoked and replaced!</strong> See <a href="http://metasploit.com/users/hdm/tools/debian-openssl/">here</a>.</p>

<p>Amazing what a couple of lines of code can do.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2008/on-the-recent-debian-openssl-debacle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Postfix to run SMTPS on port 465</title>
		<link>http://abing.gotdns.com/posts/2008/getting-postfix-to-run-smtps-on-port-465/</link>
		<comments>http://abing.gotdns.com/posts/2008/getting-postfix-to-run-smtps-on-port-465/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 05:41:21 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[CentOS/RHEL]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/?p=143</guid>
		<description><![CDATA[While setting up my new server, I followed the guide found here. Because of SmartBro&#8217;s braindead policy of forcing its subscribers to use their flaky SMTP server, I am forced to work around this issue by running SMTPS instead. I followed Step 5 of the guide and I was wondering why Evolution could not connect [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>While setting up my new server, I followed the guide found <a href="http://howtoforge.com/centos-5.1-server-lamp-email-dns-ftp-ispconfig" title="CentOS 5.1 Server Setup: LAMP, Email, DNS, FTP, ISPConfig (a.k.a. The Perfect Server)">here</a>. Because of SmartBro&#8217;s braindead policy of forcing its subscribers to use their flaky SMTP server, I am forced to work around this issue by running SMTPS instead. I followed <a href="http://howtoforge.com/centos-5.1-server-lamp-email-dns-ftp-ispconfig-p5" title="CentOS 5.1 Server Setup: LAMP, Email, DNS, FTP, ISPConfig (a.k.a. The Perfect Server) - Page 5">Step 5</a> of the guide and I was wondering why Evolution could not connect to the server. I have already enabled port 465 to go through on Bastille firewall but running <code>nmap</code> on the server does indicate that Postfix was not listening on port 465 as it should be.</p>

<p>I even went as far as regenerating my self-signed SSL certificates to be sure I had everything buttoned down. This just another one of those face-in-palm moments where the cause of the problem was so obvious. I forgot to enable SMTPS in <code>master.cf</code>. I simply uncommented the following lines in <code>master.cf</code>:</p>

<pre><code>smtps     inet  n       &amp;#8211;       n       &amp;#8211;       &amp;#8211;       smtpd
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
</code></pre>

<p>Then I restarted Postfix and <code>nmap</code> now reports port 465 open.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2008/getting-postfix-to-run-smtps-on-port-465/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Feels Like Christmas Came Early This Year&#8230;</title>
		<link>http://abing.gotdns.com/posts/2008/feels-like-christmas-came-early-this-year/</link>
		<comments>http://abing.gotdns.com/posts/2008/feels-like-christmas-came-early-this-year/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 03:57:05 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/?p=141</guid>
		<description><![CDATA[Got a new server a couple of days ago and I just completed upgrading iwojima to a new version of Ubuntu. I&#8217;m now running Ubuntu 8.04 LTS on the desktop and all I can say is that it&#8217;s a step forward for Linux on the desktop. I still can&#8217;t wrap my head around the reason [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>Got a new server a couple of days ago and I just completed upgrading iwojima to a new version of Ubuntu. I&#8217;m now running Ubuntu 8.04 LTS on the desktop and all I can say is that it&#8217;s a step forward for Linux on the desktop. I still can&#8217;t wrap my head around the reason for making Mozilla Firefox 3 Beta 5 the default browser on an LTS (Long-term Support) release. But it looks like it was a good decision to do so. The only thing missing are some key extensions that I use a lot, such as Firebug and the Del.icio.us extension.</p>

<p>For a Beta release, Firefox 3 is pretty solid and feels really fast. I haven&#8217;t had nspluginwrapper crash on me yet, as opposed to the previous version which would crash from time to time especially when viewing sites with multiple Flash movies. Hopefully, Evolution mail client crashes have been fixed in this LTS release. It&#8217;s caused me a lot of grief before when it would crash randomly and then keep crashing when I restart it.</p>

<p>Desktop effects still suck though. When I enabled it, I still get that ugly black screen flash whenever I start Firefox. The new clock applet finally supports multiple timezones, very useful since I deal with clients in different timezones.</p>

<p>Two apps the I use a lot, Wine and Cinelerra, both have repositories for 8.04 so it looks like I have everything I need. Overall it feels like a solid release worth of the &#8220;LTS&#8221; designation.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2008/feels-like-christmas-came-early-this-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Server</title>
		<link>http://abing.gotdns.com/posts/2008/new-server/</link>
		<comments>http://abing.gotdns.com/posts/2008/new-server/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 01:38:31 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/?p=140</guid>
		<description><![CDATA[Finally after weeks of fumbling through the Internet looking for cheap reliable managed hosting, I now have my own server. I&#8217;m still in the process of setting things up in preparation for the virtual hosting service that I will be offering for Studio Arsenic clients. I have tried installing ISPConfig as my hosting control panel [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>Finally after weeks of fumbling through the Internet looking for cheap reliable managed hosting, I now have my own server. I&#8217;m still in the process of setting things up in preparation for the virtual hosting service that I will be offering for Studio Arsenic clients. I have tried installing ISPConfig as my hosting control panel only to find that it&#8217;s woefully inadequate for my needs so I decided to settle on Webmin with the Virtualmin GPL module.</p>

<p>Server Specs:</p>

<ul>
<li>Intel Xeon 3220-Quad Core 2.4GHz</li>
<li>2GB Generic DDR Memory</li>
<li>250GB Western Digital WD Caviar RE 16 WD2500YS</li>
</ul>

<p>Runs CentOS 5 of course.</p>

<p>I will be posting more on my experiences with setting this thing up in the coming days. I still need to recover from the frustrating episode I had with installing ISPConfig.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2008/new-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running a Budget Web Hosting Company (or Not)</title>
		<link>http://abing.gotdns.com/posts/2008/running-a-budget-web-hosting-company-or-not/</link>
		<comments>http://abing.gotdns.com/posts/2008/running-a-budget-web-hosting-company-or-not/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 07:19:46 +0000</pubDate>
		<dc:creator>nimrod.abing</dc:creator>
				<category><![CDATA[Code and Consequences]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[You are doing it WRONG!!!]]></category>
		<category><![CDATA[bullshit]]></category>
		<category><![CDATA[damn lies]]></category>
		<category><![CDATA[numbers game]]></category>
		<category><![CDATA[Shenanigans]]></category>

		<guid isPermaLink="false">http://abing.gotdns.com/?p=137</guid>
		<description><![CDATA[I will be buying a new server to host my site and possibly use it for web hosting. I have been scoping out the competition. There are a lot of them out there and it&#8217;s scary what some of these web hosting companies appear to be offering. On the surface they certainly look very attractive, [...]
<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>I will be buying a new server to host my site and possibly use it for web hosting. I have been scoping out the competition. There are a lot of them out there and it&#8217;s scary what some of these web hosting companies appear to be offering. On the surface they certainly look very attractive, not so much for their glossy landing pages and slick designs, but because of the numbers they put out on their packages.</p>

<p>A colleague brought up one web hosting company the other day. Ultra-cheap packages and impressive numbers make it very attractive to those who are looking to host their site for the first time. I don&#8217;t know what bothers me more. Is it the fact that people buy into these bullshit packages? Or the fact that some unscrupulous web hosting companies take advantage of numbers to market their crappy service. To be fair to them (and so you don&#8217;t fall prey to them as well), I won&#8217;t mention that company here. However, I will take a look at the packages they offer.</p>

<p><span id="more-137"></span></p>

<h3>Marketing</h3>

<p>Here are some of the interesting bits on their hosting packages page:</p>

<blockquote>
  <ul>
  <li>99.9% Uptime Guarantee</li>
  <li>27/7 Support</li>
  <li>Lowest Latency</li>
  <li>Highest Reliability</li>
  <li>Powerful Servers</li>
  </ul>
  
  <p>Our servers are packed with powerful Dual Quad Core Clovertown Xeon (8 logical CPU&#8217;s) machines with 4GB of memory, SCSI drives, and being monitored by sytem administrator 24/7.</p>
  
  <p>Our network having the best network equipment will give you the hightest reliability, lowest latency and 99.9% uptime guarantee.</p>
  
  <p><strong>Cisco Routers &#038; Switches</strong> &#8211; 6500, 3750, 2900 Series routers and switches with gigabit speeds available from the individual server to the Internet.</p>
  
  <p><strong>Redundant GigE Backbone</strong> &#8211; Multi-router gigabit connections to the Internap, SAVVIS, VERIO/NTT, Abovenet, and Global Crossing core backbone exchanges located in the INFOMART in Dallas, Texas</p>
  
  <p><strong>Traffic Management &#038; Analysis</strong> &#8211; Utilizing Peakflow from Arbor Networks coupled with Netflow data from Cisco routers and switches, network engineers continuously monitor the health, reliability, and performance of the network. Historical analysis is critical for demand and capacity planning.</p>
  
  <p><strong>Network IDS, IPS &#038; DDOS</strong> &#8211; Industry best solutions from Tipping Point are utilized to guard against denial of service, malicious traffic, viruses, malware, phishing, spyware and other types of Internet threats via wire speed detection and remediation coupled with automatic and zero day response.</p>
  
  <p>The datacenter which our servers are housed in is a tier one datacenter facility located inside the well-known INFOMART telecom hotel near downtown Dallas. Specializing in datacenter and hosting facilities, INFOMART is home to multiple datacenters including MCI, Level 3, Equinix, Verio, Switch &#038; Data, Verizon, DataSides, and more. The building sits atop three redundant electrical grids from TXU delivering diverse power to each quadrant of the building. HVAC needs are supplied via five one hundred ton onsite water chillers to deliver N+1 cooling requirements. Home to over twelve switch sites and thirty-five different carriers, INFOMART houses technology and telecom related businesses in a complex communications ecosystem.</p>
  
  <ul>
  <li>2000AMPS 480V Input Power</li>
  <li>Parallel 500Kva UPS Battery Backup Units</li>
  <li>2000Kw Diesel Generator with Onsite Fuel Storage</li>
  <li>Redundant Liebert 20 Ton HVAC Units</li>
  <li>Pre-Action Dry Pipe Fire Suppression</li>
  <li>Digital Security Video Surveillance</li>
  </ul>
</blockquote>

<p>At first glance it&#8217;s all pretty impressive huh? If you&#8217;re impressed then they almost have you at their mercy at this point. Don&#8217;t fall for it though. It&#8217;s all smoke and mirrors. A company putting up an infrastructure such as this will have spent millions of dollars to set it up. Every web hosting company I have reviewed has drivel like this in one form or another. Surely if they all had &#8220;data centers&#8221; as they claim on their marketing page, Dallas would be full of these concrete bunkers by now.</p>

<p>The truth of the matter is that these web hosting companies are just copy/pasting specs from the company doing the actual web hosting. More likely these web hosting companies are co-located or have managed servers under companies like RackSpace, Serverbeach, or Softlayer.</p>

<p>It&#8217;s not that they&#8217;re lying or anything. Since they are co-located or managed by another company, then the drivel also applies to them as well.</p>

<h3>The Numbers! They Lie!</h3>

<p>Web hosting companies will usually offer several packages with varying price points and features. Usually it all boils down to the following:</p>

<ul>
<li>Disk quota</li>
<li>Bandwidth</li>
<li>Number of email accounts</li>
<li>Number of FTP accounts</li>
<li>Number of subdomains</li>
<li>Number of databases</li>
<li>Occasionally, number of support tickets</li>
</ul>

<p>Here&#8217;s a very interesting set of packages from one web hosting company:</p>

<h4>Package 1</h4>

<ul>
<li><strong>Monthly rate</strong> &#8211; $3.95</li>
<li><strong>Disk Quota</strong> &#8211; 1GB</li>
<li><strong>Bandwidth</strong> &#8211; 10GB/Month</li>
<li><strong>Email Accounts</strong> &#8211; Unlimited</li>
<li><strong>FTP Accounts</strong> &#8211; Unlimited</li>
<li><strong>Subdomains</strong> &#8211; 10</li>
<li><strong>Databases</strong> &#8211; 10 MySQL</li>
</ul>

<h4>Package 2</h4>

<ul>
<li><strong>Monthly rate</strong> &#8211; $7.95</li>
<li><strong>Disk Quota</strong> &#8211; 5GB</li>
<li><strong>Bandwidth</strong> &#8211; 50GB/Month</li>
<li><strong>Email Accounts</strong> &#8211; Unlimited</li>
<li><strong>FTP Accounts</strong> &#8211; Unlimited</li>
<li><strong>Subdomains</strong> &#8211; 20</li>
<li><strong>Databases</strong> &#8211; 20 MySQL</li>
</ul>

<h4>Package 3</h4>

<ul>
<li><strong>Monthly rate</strong> &#8211; $14.95</li>
<li><strong>Disk Quota</strong> &#8211; 10GB</li>
<li><strong>Bandwidth</strong> &#8211; 100GB/Month</li>
<li><strong>Email Accounts</strong> &#8211; Unlimited</li>
<li><strong>FTP Accounts</strong> &#8211; Unlimited</li>
<li><strong>Subdomains</strong> &#8211; 40</li>
<li><strong>Databases</strong> &#8211; 40 MySQL</li>
</ul>

<p>Pretty impressive huh? But let&#8217;s take a closer look and put ourselves in the shoes of someone who wants to run a web hosting business. First let&#8217;s deal with the claim of &#8220;Our servers are packed with powerful Dual Quad Core Clovertown Xeon (8 logical CPU&#8217;s) machines with 4GB of memory, SCSI drives&#8221;. So far I&#8217;ve found that the cheapest Dual Quad Core Xeon servers cost around $259 (not including taxes) for a managed server at Softlayer (Rackspace and Serverbeach have them but at $300+). The cheap setup I&#8217;m going with does not have any add-ons for storage, CPanel with WHM at additional $25. The Linux distribution is not a factor as all of the offerings are the free distros anyway. Total cost each month to keep the server running is $284.</p>

<p>The server setup is like this:</p>

<ul>
<li><strong>Processor</strong> &#8211; Dual Processor Quad Core Xeon 5310</li>
<li><strong>Memory</strong> &#8211; 2 GB FB-DIMM Registered 533/667</li>
<li><strong>Uplink Port Speed</strong> &#8211; 10 Mbps Public &#038; Private Networks</li>
<li><strong>Public Bandwidth</strong> &#8211; 2000 GB Bandwidth</li>
<li><strong>Disk</strong> &#8211; 250GB SATA II</li>
</ul>

<p>OK. So it takes $284 to run the server each month. Let&#8217;s take the most expensive package offering, Package 3. To break even, you need 284 / 14.55 = 18.99 hosting clients. Let&#8217;s round it off to 19. That gives you $284.05 per month, with a profit of $0.05. Not enough profit if you ask me. What&#8217;s the point of running a business if you don&#8217;t turn any profits?!? Let&#8217;s up our clients to 25! We get $373.75 a month. That&#8217;s $89.75 in monthly profits.</p>

<p>Now let&#8217;s turn our attention to resource usage. First off, disk space usage. Remember we have a 250GB disk. The OS will use around 10GB of that for a typical server installation. For 25 clients each requiring 10GB disk quota, we would need 25 * 10GB = 250GB. That would not leave us enough room for our operating system! Let&#8217;s say we adjust our purchase and instead of the 250GB disk, we get the 500GB disk. This will cost us an additional $30 each month. So we are left with $59.75 in monthly profits. But now we have a bigger disk, we can accommodate more clients. So let&#8217;s assume we have 40 clients. That&#8217;s 40 * $14.95 = $598 per month. We have a monthly profit of $284 now and we have 100GB disk space to spare as well.</p>

<p>Now let&#8217;s look at bandwidth usage. Let&#8217;s say all 40 clients soak up their 100GB per month. That&#8217;s already 4000GB, twice as much bandwidth that was allocated for our server. Say we purchase more bandwidth 4000GB is $200 extra. But that would be cutting it really close. So now our profits are cut down to $84 per month putting us back where we started!</p>

<p>I&#8217;ve been in the web hosting business once and quite frankly tech support is a nightmare. Especially if you make the mistake of enabling phone-in tech support. Phone in tech support is something that you would outsource and call centers don&#8217;t come cheap. So for a budget outfit like the one I&#8217;m describing here, it really makes you wonder if it&#8217;s not just some fly-by-night company.</p>

<h3>Afterthoughts</h3>

<p>I have been contemplating on running a small &#8220;custom web hosting&#8221; shop for 2 years now. I planned to focus on catering to Django-powered sites. But with the recent release of Google App Engine I think it really hit the nail on the coffin for that idea. It&#8217;s really not worth the expense and the tech support nightmare.</p>

<p>So far SoftLayer is the cheapest managed hosting I&#8217;ve found. I&#8217;ve looked at DimeHost but I hear a lot of their IP&#8217;s are black listed because spammers used them in the past.</p>

<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://abing.gotdns.com/posts/2008/running-a-budget-web-hosting-company-or-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
