<?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>Mike Renfro's Blog &#187; Stupid!</title>
	<atom:link href="http://blogs.cae.tntech.edu/mwr/category/stupid/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.cae.tntech.edu/mwr</link>
	<description>A partial repository of whatever comes to mind</description>
	<lastBuildDate>Sat, 31 Oct 2009 23:02:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>I Killed the Mail Server Today</title>
		<link>http://blogs.cae.tntech.edu/mwr/2008/07/09/i-killed-the-mail-server-today/</link>
		<comments>http://blogs.cae.tntech.edu/mwr/2008/07/09/i-killed-the-mail-server-today/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 03:00:57 +0000</pubDate>
		<dc:creator>Mike Renfro</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Stupid!]]></category>
		<category><![CDATA[Xen]]></category>
		<category><![CDATA[infrastructures]]></category>
		<category><![CDATA[puppet]]></category>

		<guid isPermaLink="false">http://blogs.cae.tntech.edu/mwr/2008/07/09/i-killed-the-mail-server-today-2/</guid>
		<description><![CDATA[
It all started so simply: I was going to set up a little Xen instance to be my next cluster submit host, and needed a spare address for it:

I started setting up an instance for ch208i.cae.tntech.edu, since it was no longer on the Xen host like it was several months ago. Crap, the reason it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<div><a href="http://icanhascheezburger.com/2008/07/07/funny-pictures-i-have-the-dumb/"><img class="mine_1410833" src="http://icanhascheezburger.wordpress.com/files/2008/07/funny-pictures-cat-cannot-brain-today.jpg" alt="cat" /></a></div>
<p>It all started so simply: I was going to set up a little Xen instance to be my next cluster submit host, and needed a spare address for it:</p>
<ol>
<li>I started setting up an instance for ch208i.cae.tntech.edu, since it was no longer on the Xen host like it was several months ago. Crap, the reason it&#8217;s no longer on the Xen instance is because I moved it to its own dedicated hardware &#8212; it&#8217;s still my main ftp/mirror server. Ctrl-C that one.</li>
<li>Hmm, what&#8217;s available from old Xen instances? mail2.cae.tntech.edu.cfg from when I was testing out a new mail server setup last fall &#8212; doesn&#8217;t ping, doesn&#8217;t show up in <code>xm list</code>, no problem.
<pre>xen-create-image --hostname=mail2.cae.tntech.edu --ip=149.149.254.23 \
    --gateway=149.149.254.4 --netmask=255.255.255.0 --size=10Gb --memory=256Mb \
    --swap=1Gb --debootstrap --force</pre>
<p>A few minutes later, my instance is debootstrapped and ready to go.</li>
<li>Oh, crap. Why am I getting an error on <code>xm create</code> that says my LVM is already in use on a domU somewhere?</li>
<li>Further crap. Looking in <code>/etc/xen/mail.cae.tntech.edu.cfg</code> for the production mail server, it apparently uses the old mail2.cae.tntech.edu LVMs. Wonderful. <code>ssh mail</code>? It works since sshd was already memory-resident, but <code>/root/.profile</code> doesn&#8217;t exist. And neither does much of anything else.</li>
<li>Great. I&#8217;ve just killed the mail server. Off to the Amanda server to do a quick restore of its data. What? I never put mail.cae.tntech.edu into the backup list? Not normally the end of the world, since the mail stores are held accessed over NFS from the main file server, but what about my dovecot and postfix configurations?</li>
<li>Oh, well. Time to see how good my puppet manifests are for the mail server.</li>
</ol>
<p>Not too bad, as it turns out. Total downtime was only a couple hours, including having to redo the postfix and dovecot configurations (which were then copied off to the puppetmaster). I still have a few more things to fix, but mail delivery is up, and imap is running. TLS support for my sending mail from home isn&#8217;t up yet, but it&#8217;ll be fixed shortly.</p>
<p>I still need to fix that submit host, though. Next time, I think I&#8217;ll use an IP address reserved for my office.</p>
<p><strong>Update:</strong> after getting a partial TLS/SASL setup going late Wednesday night, I went to sleep without realizing I&#8217;d killed mail delivery again. Finally got it straightened out Thursday morning.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.cae.tntech.edu/mwr/2008/07/09/i-killed-the-mail-server-today/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Stupid Software!</title>
		<link>http://blogs.cae.tntech.edu/mwr/2007/08/31/stupid-software/</link>
		<comments>http://blogs.cae.tntech.edu/mwr/2007/08/31/stupid-software/#comments</comments>
		<pubDate>Fri, 31 Aug 2007 16:41:26 +0000</pubDate>
		<dc:creator>Mike Renfro</dc:creator>
				<category><![CDATA[Stupid!]]></category>

		<guid isPermaLink="false">http://blogs.cae.tntech.edu/mwr/2007/08/31/stupid-software/</guid>
		<description><![CDATA[
Stupid Winamp. I update it on my laptop last weekend, and suddenly none of the MS Office products work any more.
Stupid MS Ofice. After I get back to the office, I try to repair it by pointing it at the setup files it&#8217;s been looking for all weekend, but it doesn&#8217;t like those setup files.
Stupid [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Stupid Winamp. I update it on my laptop last weekend, and suddenly none of the MS Office products work any more.</li>
<li>Stupid MS Ofice. After I get back to the office, I try to repair it by pointing it at the setup files it&#8217;s been looking for all weekend, but it doesn&#8217;t like those setup files.</li>
<li>Stupid Windows. After I uninstall Office, it wants me to reboot. When I do, Windows blue screens right after I log in.</li>
<li>Stupid Windows installation CDs. For some reason, you think the USB Zip drive with no disk inserted in it would make a lovely drive C:. Realizing that it has no disk inserted in it, you happily install Windows to my hard disk like I&#8217;d expect, which you then label drive E:.</li>
<li>Stupid Windows management tools. I move the Zip drive to Z: like it had been before, but you won&#8217;t let me change the drive letter on the boot drive from E: to C:. So I unplug the Zip drive and reinstall Windows.</li>
<li>Stupid OS X. When mounting a 8.86 TB Samba volume with 7.70 TB free, you think it&#8217;s an 800 GB volume with nothing free. Mount the same volume via Netatalk, and you&#8217;re fine.</li>
<li><a href="http://www.nabble.com/spurious-%22file-changed-as-we-read-it%22-error-t4207374.html">Stupid GNU tar</a>. If I blindly chmod a bunch of files that my users might have the wrong permissions on, you think I&#8217;ve done something to the file contents, even if the permissions before and after are identical. I&#8217;ve not gotten a good backup of this one student&#8217;s 80GB of data yet, as far as you&#8217;re concerned.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blogs.cae.tntech.edu/mwr/2007/08/31/stupid-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
