<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Slaptijack</title>
	
	<link>http://slaptijack.com</link>
	<description>I’ve spent the last 10+ years hoarding network and system administration knowledge. Now, in an attempt to organize all the sticky notes and scraps of paper floating around my office, I’m steadily putting everything in one place. Not only does this site serve as my personal library of collected information, but it’s available to all admins — beginners and experts alike.</description>
	<lastBuildDate>Mon, 29 Apr 2013 13:00:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/slaptijack" /><feedburner:info uri="slaptijack" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license><xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /><image><link>http://slaptijack.com/</link><url>http://slaptijack.com/images/slaptijack-budhand-340x70.jpg</url><title>Slaptijack Logo</title></image><feedburner:emailServiceId>slaptijack</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>OS X CLI: Install VirtualBox</title>
		<link>http://feedproxy.google.com/~r/slaptijack/~3/RKGOAFzjQI0/</link>
		<comments>http://slaptijack.com/system-administration/os-x-cli-install-virtualbox/#comments</comments>
		<pubDate>Mon, 29 Apr 2013 13:00:26 +0000</pubDate>
		<dc:creator>Scott Hebert</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://slaptijack.com/?p=5984</guid>
		<description><![CDATA[I decided the other night to begin doing some testing using my headless Mac Mini. I use VirtualBox for all my testing on my Mac OS X systems. Since the Mini is headless, I decided now was as a good a time as any to start using VirtualBox via the command line. Obviously, installing VirtualBox via the command line is not the same as running VirtualBox via the command line, but installing any package from the command line must be practiced to be remembered.]]></description>
				<content:encoded><![CDATA[<p><a href="http://slaptijack.com/tag/virtualbox"><img alt="VirtualBox" src="http://lh6.googleusercontent.com/-8WgG0buj8ys/UXmLBMHK9vI/AAAAAAAAERo/ZQn5wTPd8tQ/s144/oracle_virtualbox_logo.png" title="VirtualBox" class="alignright" width="144" height="144" /></a>I decided the other night to begin doing some testing using my headless Mac Mini. I use <a href="https://www.virtualbox.org/" title="Oracle VirtualBox">VirtualBox</a> for all my testing on my Mac OS X systems. Since the Mini is headless, I decided now was as a good a time as any to start using VirtualBox via the command line. Obviously, installing VirtualBox via the command line is not the same as running VirtualBox via the command line, but installing any package from the command line must be practiced to be remembered.</p>
<p>Download the latest package. I'm using <a href="http://www.gnu.org/software/wget/" title="GNU wget">wget</a> which you'll only have if you've specifically installed it. I use <a href="http://www.macports.org/" title="TheMacPorts Project">MacPorts</a>, but <a href="http://mxcl.github.io/homebrew/" title="Homebrew">Homebrew</a> is another option.</p>
<pre><code class='block'>$ wget http://download.virtualbox.org/virtualbox/4.2.12/VirtualBox-4.2.12-84980-OSX.dmg</code></pre>
<p>Mount the disk image (.dmg). The disk image contents will now be mounted on <code>/Volumes/VirtualBox</code>.</p>
<pre><code class='block'>$ hdiutil mount VirtualBox-4.2.12-84980-OSX.dmg</code></pre>
<p>Now, install the package. Note that the target is set to <code>/</code>. In addition to installing VirtualBox in <code>/Applications</code>, this will also put the command line tools in <code>/usr/bin</code>.</p>
<p><code class='block'>$ sudo installer -pkg /Volumes/VirtualBox/VirtualBox.pkg -target /</code></p>
<p>Now unmount the disk image and clean up.</p>
<p><code class='block'>$ hdiutil unmount /Volumes/VirtualBox/<br />
$ rm VirtualBox-4.2.12-84980-OSX.dmg</code></p>
<p>Download and install the VirtualBox Extension Pack.</p>
<p><code class='block'>$ wget http://download.virtualbox.org/virtualbox/4.2.12/Oracle_VM_VirtualBox_Extension_Pack-4.2.12-84980.vbox-extpack<br />
$ sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.2.12-84980.vbox-extpack<br />
$ rm Oracle_VM_VirtualBox_Extension_Pack-4.2.12-84980.vbox-extpack</code></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/slaptijack?a=RKGOAFzjQI0:jQE_qFd5LqM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=RKGOAFzjQI0:jQE_qFd5LqM:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=RKGOAFzjQI0:jQE_qFd5LqM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=RKGOAFzjQI0:jQE_qFd5LqM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=RKGOAFzjQI0:jQE_qFd5LqM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=RKGOAFzjQI0:jQE_qFd5LqM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=RKGOAFzjQI0:jQE_qFd5LqM:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=RKGOAFzjQI0:jQE_qFd5LqM:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://slaptijack.com/system-administration/os-x-cli-install-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slaptijack.com/system-administration/os-x-cli-install-virtualbox/</feedburner:origLink></item>
		<item>
		<title>Tech Messages | 2013-03-10</title>
		<link>http://feedproxy.google.com/~r/slaptijack/~3/MrHGVnVFjnE/</link>
		<comments>http://slaptijack.com/tech-messages/tech-messages-2013-03-10/#comments</comments>
		<pubDate>Mon, 11 Mar 2013 21:39:00 +0000</pubDate>
		<dc:creator>Scott Hebert</dc:creator>
				<category><![CDATA[Tech Messages]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[redis]]></category>
		<category><![CDATA[slaptijack]]></category>

		<guid isPermaLink="false">http://slaptijack.com/?p=5966</guid>
		<description><![CDATA[A special extended edition of Tech Messages for 2013-03-07 through 2013-03-10: http://eyeseast.github.com/python-tablefu/Really looking forward to trying this out. Anyone interested in weighing in with their experiences? How to selectively kill queries in MySQL? &#8212; dba square &#124; A resource on MySQLEspecially helpful when you have hundreds of queries that need to die. Redis with an [...]]]></description>
				<content:encoded><![CDATA[<p><img src='http://lh6.googleusercontent.com/-6eMrbzADzwQ/S8c-0WYB5PI/AAAAAAAACLM/tSnVMHlA20k/s144/green_network.jpg' alt='Green Network' class="alignright" />A special extended edition of Tech Messages for 2013-03-07 through 2013-03-10:</p>
<ul>
<li><a href="http://eyeseast.github.com/python-tablefu/">http://eyeseast.github.com/python-tablefu/</a><br />Really looking forward to trying this out. Anyone interested in weighing in with their experiences?</li>
<li><a href="http://www.dbasquare.com/2012/04/04/how-to-selectively-kill-queries-in-mysql/">How to selectively kill queries in MySQL? &mdash; dba square | A resource on MySQL</a><br />Especially helpful when you have hundreds of queries that need to die.</li>
<li><a href="http://antirez.com/news/52">Redis with an SSD swap, not what you want - Antirez weblog</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/slaptijack?a=MrHGVnVFjnE:ZkN6W_uSRz0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=MrHGVnVFjnE:ZkN6W_uSRz0:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=MrHGVnVFjnE:ZkN6W_uSRz0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=MrHGVnVFjnE:ZkN6W_uSRz0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=MrHGVnVFjnE:ZkN6W_uSRz0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=MrHGVnVFjnE:ZkN6W_uSRz0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=MrHGVnVFjnE:ZkN6W_uSRz0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=MrHGVnVFjnE:ZkN6W_uSRz0:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://slaptijack.com/tech-messages/tech-messages-2013-03-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slaptijack.com/tech-messages/tech-messages-2013-03-10/</feedburner:origLink></item>
		<item>
		<title>Google Chrome Stuck Overseas</title>
		<link>http://feedproxy.google.com/~r/slaptijack/~3/9gB1NpkkFeo/</link>
		<comments>http://slaptijack.com/software/google-chrome-stuck-overseas/#comments</comments>
		<pubDate>Mon, 25 Feb 2013 14:00:23 +0000</pubDate>
		<dc:creator>Scott Hebert</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google chrome]]></category>

		<guid isPermaLink="false">http://slaptijack.com/?p=5954</guid>
		<description><![CDATA[I recently spent six weeks in Sydney working for my new job. Naturally, while I was there, I let Google Chrome's omnibox redirect my searches to Google Australia. Fast forward a few weeks, and I'm back in the States, but Chrome is living in the past. After trying just about everything, here is what I [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://slaptijack.com/tag/google-chrome/"><img src="https://lh5.googleusercontent.com/-D7kGdewKq9I/USbao25fWCI/AAAAAAAAEQ8/o41aJod7WdM/s246/chrome_logo_2x.png" width="246" height="80" alt="Google Chrome Logo" class="alignright" /></a>I recently spent six weeks in Sydney working for <a href="http://www.anchor.com.au/" title="Anchor Systems">my new job</a>. Naturally, while I was there, I let Google Chrome's omnibox redirect my searches to Google Australia. Fast forward a few weeks, and I'm back in the States, but Chrome is living in the past. After trying just about everything, here is what I finally did to fix it.</p>
<p>First, shut down Google Chrome. Find the Google Chrome default preferences file. On my Mac, that's <code>~/Library/Application Support/Google/Chrome/Default/Preferences</code>. This is a JSON file. You are looking for an attribute called <code>"last_known_google_url"</code>. Mine was set to <code>"https://www.google.com.au/"</code>. All I did was change this to <code>"https://www.google.com/"</code>.</p>
<p>Good luck!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/slaptijack?a=9gB1NpkkFeo:kW0EAZ_c2VQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=9gB1NpkkFeo:kW0EAZ_c2VQ:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=9gB1NpkkFeo:kW0EAZ_c2VQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=9gB1NpkkFeo:kW0EAZ_c2VQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=9gB1NpkkFeo:kW0EAZ_c2VQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=9gB1NpkkFeo:kW0EAZ_c2VQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=9gB1NpkkFeo:kW0EAZ_c2VQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=9gB1NpkkFeo:kW0EAZ_c2VQ:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://slaptijack.com/software/google-chrome-stuck-overseas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slaptijack.com/software/google-chrome-stuck-overseas/</feedburner:origLink></item>
		<item>
		<title>Asterisk 1.2 Variable Length Limit</title>
		<link>http://feedproxy.google.com/~r/slaptijack/~3/f9hOK5e5ONw/</link>
		<comments>http://slaptijack.com/voice/asterisk-1-2-variable-length-limit/#comments</comments>
		<pubDate>Mon, 28 Jan 2013 14:00:49 +0000</pubDate>
		<dc:creator>Scott Hebert</dc:creator>
				<category><![CDATA[Voice / Voice over IP]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[digium]]></category>

		<guid isPermaLink="false">http://slaptijack.com/?p=5946</guid>
		<description><![CDATA[It seems the maximum length for variables (at least those in extensions.conf) in Asterisk 1.2 is 255 characters. Running into this problem has to be uncommon, but it can really bite you if aren't aware. Although I am only aware of this limitation in Asterisk 1.2, it might exist in other version as well.]]></description>
				<content:encoded><![CDATA[<p><a href="http://slaptijack.com/tag/asterisk"><img alt="Asterisk Logo" src="http://lh3.ggpht.com/_LF9bAucktRs/SvNNCfSC4wI/AAAAAAAACBo/GG7QYcHDLRE/s800/asterisk_logo.jpg" title="Asterisk Logo" class="alignright" width="138" height="79" /></a>It seems the maximum length for variables (at least those in extensions.conf) in Asterisk 1.2 is 255 characters. Running into this problem has to be uncommon, but it can really bite you if aren't aware.</p>
<p>Although I am only aware of this limitation in Asterisk 1.2, it might exist in other version as well.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/slaptijack?a=f9hOK5e5ONw:xb8YCZ4qhzw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=f9hOK5e5ONw:xb8YCZ4qhzw:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=f9hOK5e5ONw:xb8YCZ4qhzw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=f9hOK5e5ONw:xb8YCZ4qhzw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=f9hOK5e5ONw:xb8YCZ4qhzw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=f9hOK5e5ONw:xb8YCZ4qhzw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=f9hOK5e5ONw:xb8YCZ4qhzw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=f9hOK5e5ONw:xb8YCZ4qhzw:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://slaptijack.com/voice/asterisk-1-2-variable-length-limit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slaptijack.com/voice/asterisk-1-2-variable-length-limit/</feedburner:origLink></item>
		<item>
		<title>Restart Brother ControlCenter</title>
		<link>http://feedproxy.google.com/~r/slaptijack/~3/ICxm6_d1GY4/</link>
		<comments>http://slaptijack.com/system-administration/restart-brother-controlcenter/#comments</comments>
		<pubDate>Tue, 06 Nov 2012 14:45:49 +0000</pubDate>
		<dc:creator>Scott Hebert</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[brother]]></category>
		<category><![CDATA[launchd]]></category>
		<category><![CDATA[mac os x]]></category>

		<guid isPermaLink="false">http://slaptijack.com/?p=5933</guid>
		<description><![CDATA[On your Mac, the Brother ControlCenter software that let's you scan an image from your Brother MFC to your computer is started at boot by launchd. Therefore, it can be restarted from the command line. For example, here is a list of processes controlled by launchd: $ launchctl list &#124; grep brother 286 - [0x0-0x17017].com.brother.ControlCenter [...]]]></description>
				<content:encoded><![CDATA[<p>On your Mac, the Brother ControlCenter software that let's you scan an image from your Brother MFC to your computer is started at boot by launchd. Therefore, it can be restarted from the command line. </p>
<p>For example, here is a list of processes controlled by launchd:</p>
<pre><code class="block">$ launchctl list | grep brother
286	-	[0x0-0x17017].com.brother.ControlCenter
282	-	[0x0-0x16016].com.brother.utility.NETserver
281	-	[0x0-0x15015].com.brother.utility.USBserver
266	-	com.brother.LOGINserver</code></pre>
<p>I found that stopping LOGINserver caused all the other services to restart:</p>
<pre><code class="block">$ launchctl stop com.brother.LOGINserver
$ launchctl list | grep brother
36825	-	[0x0-0x258a588].com.brother.ControlCenter
36824	-	[0x0-0x2589587].com.brother.utility.NETserver
36823	-	[0x0-0x2588586].com.brother.utility.USBserver
36818	-	com.brother.LOGINserver</code></pre>
<p>Good luck!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/slaptijack?a=ICxm6_d1GY4:7anECkbLOLQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=ICxm6_d1GY4:7anECkbLOLQ:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=ICxm6_d1GY4:7anECkbLOLQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=ICxm6_d1GY4:7anECkbLOLQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=ICxm6_d1GY4:7anECkbLOLQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=ICxm6_d1GY4:7anECkbLOLQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=ICxm6_d1GY4:7anECkbLOLQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=ICxm6_d1GY4:7anECkbLOLQ:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://slaptijack.com/system-administration/restart-brother-controlcenter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://slaptijack.com/system-administration/restart-brother-controlcenter/</feedburner:origLink></item>
		<item>
		<title>Tech Messages | 2012-10-25</title>
		<link>http://feedproxy.google.com/~r/slaptijack/~3/7-ymxm3H96M/</link>
		<comments>http://slaptijack.com/tech-messages/tech-messages-2012-10-25/#comments</comments>
		<pubDate>Thu, 25 Oct 2012 21:07:04 +0000</pubDate>
		<dc:creator>Scott Hebert</dc:creator>
				<category><![CDATA[Tech Messages]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[devops]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[isp]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[puppet]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sha-1]]></category>
		<category><![CDATA[slaptijack]]></category>

		<guid isPermaLink="false">http://slaptijack.com/?p=5919</guid>
		<description><![CDATA[A special extended edition of Tech Messages for 2012-10-05 through 2012-10-25: Puppet Core Types Cheatsheet Dealing with Git: Your branch is behind &#8216;origin/master&#8217; by xx commits &#124; A Blog about Skateboarding, Technology, and Entrepreneurship Reference Is Not a Tree Schneier on Security: When Will We See Collisions for SHA-1? Building Large IPv6 Service Provider Networks]]></description>
				<content:encoded><![CDATA[<p><img src='http://lh6.googleusercontent.com/-6eMrbzADzwQ/S8c-0WYB5PI/AAAAAAAACLM/tSnVMHlA20k/s144/green_network.jpg' alt='Green Network' class="alignright" />A special extended edition of Tech Messages for 2012-10-05 through 2012-10-25:</p>
<ul>
<li><a href="http://docs.puppetlabs.com/puppet_core_types_cheatsheet.pdf">Puppet Core Types Cheatsheet</a></li>
<li><a href="http://www.techskater.com/web-stuff/dealing-with-git-your-branch-is-behind-originmaster-by-xx-commits/">Dealing with Git: Your branch is behind &lsquo;origin/master&rsquo; by xx commits | A Blog about Skateboarding, Technology, and Entrepreneurship</a></li>
<li><a href="http://blog.pioneeringsoftware.co.uk/2012/01/13/reference-is-not-a-tree">Reference Is Not a Tree</a></li>
<li><a href="http://www.schneier.com/blog/archives/2012/10/when_will_we_se.html">Schneier on Security: When Will We See Collisions for SHA-1?</a></li>
<li><a href="http://www.ipspace.net/Building_Large_IPv6_Service_Provider_Networks">Building Large IPv6 Service Provider Networks</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/slaptijack?a=7-ymxm3H96M:khxNgPXmskE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=7-ymxm3H96M:khxNgPXmskE:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=7-ymxm3H96M:khxNgPXmskE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=7-ymxm3H96M:khxNgPXmskE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=7-ymxm3H96M:khxNgPXmskE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=7-ymxm3H96M:khxNgPXmskE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=7-ymxm3H96M:khxNgPXmskE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=7-ymxm3H96M:khxNgPXmskE:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://slaptijack.com/tech-messages/tech-messages-2012-10-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slaptijack.com/tech-messages/tech-messages-2012-10-25/</feedburner:origLink></item>
		<item>
		<title>Stuck at "copying to tmp table"</title>
		<link>http://feedproxy.google.com/~r/slaptijack/~3/v3xiFEyxIP0/</link>
		<comments>http://slaptijack.com/system-administration/stuck-at-copying-to-tmp-table/#comments</comments>
		<pubDate>Tue, 04 Sep 2012 16:55:46 +0000</pubDate>
		<dc:creator>Scott Hebert</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://slaptijack.com/?p=5904</guid>
		<description><![CDATA[I have a fairly lightly loaded MySQL server with a few tables that are updated every five minutes. Other than these updates, there are very few queries run against the database. The data is queried just a few times per month. Ever so often, one of the more complicated queries will result in the process getting hung in the "copying to tmp table" state. To be honest, the queries that get hung aren't even that complicated. Usually there's one or two joins, a GROUP BY, and an ORDER BY.]]></description>
				<content:encoded><![CDATA[<p><a href="http://slaptijack.com/tag/mysql"><img alt="Powered By MySQL" src="http://lh5.ggpht.com/_LF9bAucktRs/TMCiKx85wXI/AAAAAAAACSQ/6WxfAHCPF94/s800/powered-by-mysql-125x64.png" title="Powered By MySQL" class="alignright" width="125" height="64" /></a>I have a fairly lightly loaded MySQL server with a few tables that are updated every five minutes. Other than these updates, there are very few queries run against the database. The data is queried just a few times per month. Ever so often, one of the more complicated queries will result in the process getting hung in the "copying to tmp table" state. To be honest, the queries that get hung aren't even that complicated. Usually there's one or two joins, a <code>GROUP BY</code>, and an <code>ORDER BY</code>.</p>
<p>So far, when a process gets stuck in this state, I find that killing and restarting the process does not clear up the problem. I've changed my recovery method to killing the process, issuing a <code>FLUSH TABLES</code>, and restarting the process. This has worked fine for me, but I've heard of others that had to resort to restarting the daemon.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/slaptijack?a=v3xiFEyxIP0:5Hq1IKIictk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=v3xiFEyxIP0:5Hq1IKIictk:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=v3xiFEyxIP0:5Hq1IKIictk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=v3xiFEyxIP0:5Hq1IKIictk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=v3xiFEyxIP0:5Hq1IKIictk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=v3xiFEyxIP0:5Hq1IKIictk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=v3xiFEyxIP0:5Hq1IKIictk:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=v3xiFEyxIP0:5Hq1IKIictk:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://slaptijack.com/system-administration/stuck-at-copying-to-tmp-table/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://slaptijack.com/system-administration/stuck-at-copying-to-tmp-table/</feedburner:origLink></item>
		<item>
		<title>Tech Messages | 2012-08-24</title>
		<link>http://feedproxy.google.com/~r/slaptijack/~3/wDvpPQ4V4fU/</link>
		<comments>http://slaptijack.com/tech-messages/tech-messages-2012-08-24/#comments</comments>
		<pubDate>Sat, 01 Sep 2012 22:00:00 +0000</pubDate>
		<dc:creator>Scott Hebert</dc:creator>
				<category><![CDATA[Tech Messages]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[hg]]></category>
		<category><![CDATA[mercurial]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[slaptijack]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://slaptijack.com/tech-messages/tech-messages-2012-08-24/</guid>
		<description><![CDATA[A special extended edition of Tech Messages for 2012-05-28 through 2012-08-24: Composing Mercurial commit messages in TextMate Test-Driven Djano TutorialDjango is gathering steam. This tutorial introduces you to functional tests and related concepts. LFS - Lightning Fast ShopThis is an open-source shopping cart built on Python, Django, and jQuery. Has anyone tried it?]]></description>
				<content:encoded><![CDATA[<p><img src='http://lh6.googleusercontent.com/-6eMrbzADzwQ/S8c-0WYB5PI/AAAAAAAACLM/tSnVMHlA20k/s144/green_network.jpg' alt='Green Network' class="alignright" />A special extended edition of Tech Messages for 2012-05-28 through 2012-08-24:</p>
<ul>
<li><a href="http://davidchambersdesign.com/composing-mercurial-commit-messages-in-textmate/">Composing Mercurial commit messages in TextMate</a></li>
<li><a href="http://www.tdd-django-tutorial.com/">Test-Driven Djano Tutorial</a><br />Django is gathering steam. This tutorial introduces you to functional tests and related concepts.</li>
<li><a href="http://www.getlfs.com/">LFS - Lightning Fast Shop</a><br />This is an open-source shopping cart built on Python, Django, and jQuery. Has anyone tried it?</li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/slaptijack?a=wDvpPQ4V4fU:8ZUCSnOCVq0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=wDvpPQ4V4fU:8ZUCSnOCVq0:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=wDvpPQ4V4fU:8ZUCSnOCVq0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=wDvpPQ4V4fU:8ZUCSnOCVq0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=wDvpPQ4V4fU:8ZUCSnOCVq0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=wDvpPQ4V4fU:8ZUCSnOCVq0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=wDvpPQ4V4fU:8ZUCSnOCVq0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=wDvpPQ4V4fU:8ZUCSnOCVq0:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://slaptijack.com/tech-messages/tech-messages-2012-08-24/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slaptijack.com/tech-messages/tech-messages-2012-08-24/</feedburner:origLink></item>
		<item>
		<title>Cisco: Telnet/SSH work, HTTP Gives Permission Denied</title>
		<link>http://feedproxy.google.com/~r/slaptijack/~3/UPWCLVJdmn8/</link>
		<comments>http://slaptijack.com/networking/cisco-telnetssh-work-http-gives-permission-denied/#comments</comments>
		<pubDate>Mon, 27 Aug 2012 13:00:50 +0000</pubDate>
		<dc:creator>Scott Hebert</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[aaa]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://slaptijack.com/?p=5889</guid>
		<description><![CDATA[Here are a few tips that might be helpful if you are having trouble accessing your Cisco router or switch via the web server. Make sure you have the right password! This is pretty obvious, but it's definitely the first thing worth checking. If you're using aaa new-model, you will need to tell the web [...]]]></description>
				<content:encoded><![CDATA[<p>Here are a few tips that might be helpful if you are having trouble accessing your Cisco router or switch via the web server.</p>
<ul>
<li>Make sure you have the right password! This is pretty obvious, but it's definitely the first thing worth checking.</li>
<li>If you're using <code>aaa new-model</code>, you will need to tell the web server what group to use for authentication: <code>ip http authentication local</code>.</li>
<li>In order to make changes to the device, your user will need access level 15. You can set this with the username command: <code>username slap privilege 15</code>.</li>
<li>It's a good idea to use HTTPS instead of HTTP if possible. Enable that with <code>ip http secure-server</code>. You can disable the non-encrypted web server with <code>no ip http server</code>.</li>
<li>The web server supports a very basic access list. You can lock your web server down even further by limiting who can connect to it. Use <code>ip http access-class 9</code>. Remember to set up your access list first!</li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/slaptijack?a=UPWCLVJdmn8:fkk6sdFAReg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=UPWCLVJdmn8:fkk6sdFAReg:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=UPWCLVJdmn8:fkk6sdFAReg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=UPWCLVJdmn8:fkk6sdFAReg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=UPWCLVJdmn8:fkk6sdFAReg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=UPWCLVJdmn8:fkk6sdFAReg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=UPWCLVJdmn8:fkk6sdFAReg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=UPWCLVJdmn8:fkk6sdFAReg:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://slaptijack.com/networking/cisco-telnetssh-work-http-gives-permission-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://slaptijack.com/networking/cisco-telnetssh-work-http-gives-permission-denied/</feedburner:origLink></item>
		<item>
		<title>Apache Can't Use Remote MySQL Server When SELinux is Enabled</title>
		<link>http://feedproxy.google.com/~r/slaptijack/~3/RFE7hD33hkw/</link>
		<comments>http://slaptijack.com/system-administration/apache-cant-use-remote-mysql-server-when-selinux-is-enabled/#comments</comments>
		<pubDate>Mon, 20 Aug 2012 13:00:20 +0000</pubDate>
		<dc:creator>Scott Hebert</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[red hat enterprise linux]]></category>
		<category><![CDATA[rhel6]]></category>
		<category><![CDATA[selinux]]></category>

		<guid isPermaLink="false">http://slaptijack.com/?p=5877</guid>
		<description><![CDATA[I don't know why SELinux problems seem so frustrating. The problem almost certainly is related to the fact that there is frequently no error message. This is exactly the problem I ran into while turning up a new Apache web server on Red Hat Enterprise Linux 6 (RHEL6) with SELinux enabled.]]></description>
				<content:encoded><![CDATA[<p><a href="http://slaptijack.com/tag/selinux/"><img alt="SELinux" src="http://lh4.googleusercontent.com/-cDYIA7fFN1o/UC7k3qITWvI/AAAAAAAAEMc/kPMqw3rJDvI/s144/selinux-penguin_512x512x32.png" title="SELinux" class="alignright" width="144" height="144" /></a>I don't know why <a href="http://slaptijack.com/tag/selinux/" title="SELinux | Slaptijack">SELinux</a> problems seem so frustrating. The problem almost certainly is related to the fact that there is frequently no error message. This is exactly the problem I ran into while turning up a new <a href="http://slaptijack.com/tag/apache" title="Apache">Apache</a> web server on <a href="http://slaptijack.com/tag/rhel6" title="Red Hat Enterprise Linux 6 (RHEL6)">Red Hat Enterprise Linux 6 (RHEL6)</a> with SELinux enabled.</p>
<p><span id="more-5877"></span></p>
<p>The problem is that SELinux prevents Apache from making network connections by default. This is defined by the SELinux boolean <code>httpd_can_network_connect_db</code>. In order to change this value, issue the following command:</p>
<pre><code class="block"># setsebool -P httpd_can_network_connect_db true</code></pre>
<p>The <code>-P</code> indicates the command is persistent and that the setting should survive reboots.</p>
<p>For reference, here is a list of all httpd-related SELinux booleans and their default values in RHEL6:</p>
<pre><code class="block"># getsebool -a | egrep '^httpd'
httpd_builtin_scripting --&gt; on
httpd_can_check_spam --&gt; off
httpd_can_network_connect --&gt; off
httpd_can_network_connect_cobbler --&gt; off
httpd_can_network_connect_db --&gt; off
httpd_can_network_memcache --&gt; off
httpd_can_network_relay --&gt; off
httpd_can_sendmail --&gt; off
httpd_dbus_avahi --&gt; on
httpd_enable_cgi --&gt; on
httpd_enable_ftp_server --&gt; off
httpd_enable_homedirs --&gt; off
httpd_execmem --&gt; off
httpd_manage_ipa --&gt; off
httpd_read_user_content --&gt; off
httpd_setrlimit --&gt; off
httpd_ssi_exec --&gt; off
httpd_tmp_exec --&gt; off
httpd_tty_comm --&gt; on
httpd_unified --&gt; on
httpd_use_cifs --&gt; off
httpd_use_gpg --&gt; off
httpd_use_nfs --&gt; off
httpd_use_openstack --&gt; off</code></pre>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/slaptijack?a=RFE7hD33hkw:kzpE35tWRIk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=RFE7hD33hkw:kzpE35tWRIk:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/slaptijack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=RFE7hD33hkw:kzpE35tWRIk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=RFE7hD33hkw:kzpE35tWRIk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=RFE7hD33hkw:kzpE35tWRIk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=RFE7hD33hkw:kzpE35tWRIk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/slaptijack?a=RFE7hD33hkw:kzpE35tWRIk:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/slaptijack?i=RFE7hD33hkw:kzpE35tWRIk:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://slaptijack.com/system-administration/apache-cant-use-remote-mysql-server-when-selinux-is-enabled/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://slaptijack.com/system-administration/apache-cant-use-remote-mysql-server-when-selinux-is-enabled/</feedburner:origLink></item>
	</channel>
</rss>
