<?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>Christian Riesen &#187; System Administration</title>
	<atom:link href="http://christianriesen.com/category/system-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://christianriesen.com</link>
	<description>Life and work in the information and communication age</description>
	<lastBuildDate>Mon, 12 Jul 2010 10:39:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Debian Killall Command</title>
		<link>http://christianriesen.com/2010/04/debian-killall-command/</link>
		<comments>http://christianriesen.com/2010/04/debian-killall-command/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 10:39:35 +0000</pubDate>
		<dc:creator>Christian Riesen</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Killall]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://christianriesen.com/?p=180</guid>
		<description><![CDATA[After running into this yet again today, here is how yo [...]]]></description>
			<content:encoded><![CDATA[<p>After running into this yet again today, here is how you get the killall command on a modern Debian distribution:</p>
<blockquote><p>aptitude install psmisc</p></blockquote>
<p>Works perfectly fine on lenny. Hopefully I never have to look this up again.</p>
 <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank" onclick="pageTracker._trackPageview('/outgoing/flattr.com/?referer=');">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank" onclick="pageTracker._trackPageview('/outgoing/flattr.com/?referer=');"><img src="http://christianriesen.com/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://christianriesen.com/2010/04/debian-killall-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoDaddy SSL Certificate and Apache</title>
		<link>http://christianriesen.com/2009/12/godaddy-ssl-certificate-and-apache/</link>
		<comments>http://christianriesen.com/2009/12/godaddy-ssl-certificate-and-apache/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 08:51:32 +0000</pubDate>
		<dc:creator>Christian Riesen</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Certificate]]></category>
		<category><![CDATA[GoDaddy]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://christianriesen.com/?p=99</guid>
		<description><![CDATA[The company I work for ran into a small problem with an [...]]]></description>
			<content:encoded><![CDATA[<p>The company I work for ran into a small problem with an SSL certificate from GoDaddy. For some reason it worked flawlessly on most machines but a fresh install of Firefox and most smart phones didn&#8217;t like it at all. Asking the GoDaddy support was a rather long waste of time. They actually told me it was installed correctly which sent me off track immediately.<br />
<span id="more-99"></span><br />
After running around and already considering going with another (much more expensive) certificate, I stumbled across DigiCert&#8217;s <a href="http://www.digicert.com/help/" onclick="pageTracker._trackPageview('/outgoing/www.digicert.com/help/?referer=');">SSL Certificate Tester</a>. Entering the hostname for the certificate checked it and voila, I found something wrong. Between the server certificate and the intermediate certificate there was a break in the chain. Why this worked still on my browser (without installing the certificate) and many others, but not on a fresh install is still not exactly clear, but that clearly was a problem. Without a proper chain, the browser would show nasty messages about this page not being secure and so on. Some of the customers are banks so they were not very happy about that message, considering this was a new feature for the page that should increase security not decrease it.</p>
<p>So I went back to the GoDaddy page and looked everything over again. The <a href="http://help.godaddy.com/article/5346" onclick="pageTracker._trackPageview('/outgoing/help.godaddy.com/article/5346?referer=');">installation instructions</a> lead to how to <a href="http://help.godaddy.com/topic/742/article/5238" onclick="pageTracker._trackPageview('/outgoing/help.godaddy.com/topic/742/article/5238?referer=');">install them on apache</a>. Now considering everything else went right, there is one specific point where it failed. The instructions tell you to get the <a href="https://certs.godaddy.com/repository/" onclick="pageTracker._trackPageview('/outgoing/certs.godaddy.com/repository/?referer=');">intermediate certificate bundle</a> from their repository and then point to that file on your server using the SSLCertificateChainFile directive. Browsing to that page shows you a lot of files, and if you have no other pointers it might get slightly confusing.</p>
<p>For apache, what you need is the file called gd_bundle.crt to have the correct one. It&#8217;s in the first section of the page called &#8220;Godaddy Certificate Chain&#8221;. Save it on your server, point the SSLCertificateChainFile directive to it and you are all set. If you use a different file, say for example one of the lower ones, you get these chain breaking effects.</p>
<p>A flaw in the directions in my opinion, but hopefully this post will remedy some of it for people running into the same troubles.</p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.11';
var flattr_uid = '756';
var flattr_url = 'http://christianriesen.com';
var flattr_lng = 'en_GB';
var flattr_cat = 'text';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'Christian Riesen';
var flattr_dsc = 'Life and work in the information and communication age';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script> <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank" onclick="pageTracker._trackPageview('/outgoing/flattr.com/?referer=');">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank" onclick="pageTracker._trackPageview('/outgoing/flattr.com/?referer=');"><img src="http://christianriesen.com/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://christianriesen.com/2009/12/godaddy-ssl-certificate-and-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wget in php</title>
		<link>http://christianriesen.com/2009/10/wget-in-php/</link>
		<comments>http://christianriesen.com/2009/10/wget-in-php/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 13:12:16 +0000</pubDate>
		<dc:creator>Christian Riesen</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://christianriesen.com/?p=92</guid>
		<description><![CDATA[Ok, this is far from what wget is capable of, but most  [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, this is far from what wget is capable of, but most people do only need one function for wget. Enter url, get content. Especially during the setup phase this is often needed and sometimes wget is not available or libraries are missing. For those that have a working php installation but no working wget, this little script does exactly that, download a file and save it locally. This little helper has done valuable services for me now a few times, so here it is for anyone to use.</p>
<pre class="brush: php;">&lt;?php
// wget substitute
if ($argc != 2) {
?&gt;
This works a bit like wget. Just run it with the url as argumnet
&lt;?php
    exit;
}

$url = $argv[1];
$filename = basename($url);

file_put_contents($filename,file_get_contents($url));

echo PHP_EOL. 'Written file ' . $filename . PHP_EOL;</pre>
<p>Usage is rather simple now:<br />
<code>php wget.php URL</code></p>
 <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank" onclick="pageTracker._trackPageview('/outgoing/flattr.com/?referer=');">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank" onclick="pageTracker._trackPageview('/outgoing/flattr.com/?referer=');"><img src="http://christianriesen.com/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://christianriesen.com/2009/10/wget-in-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>(128)Network is unreachable: connect to listener on [::]:80</title>
		<link>http://christianriesen.com/2009/10/128network-is-unreachable-connect-to-listener-on-80/</link>
		<comments>http://christianriesen.com/2009/10/128network-is-unreachable-connect-to-listener-on-80/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 11:24:53 +0000</pubDate>
		<dc:creator>Christian Riesen</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Solaris 10]]></category>

		<guid isPermaLink="false">http://christianriesen.com/?p=87</guid>
		<description><![CDATA[Apache has been giving me some interesting errors latel [...]]]></description>
			<content:encoded><![CDATA[<p>Apache has been giving me some interesting errors lately. In debugging I have come across a bunch of these in the otherwise largely ignored errors log.</p>
<p><code>(128)Network is unreachable: connect to listener on [::]:80<br />
(128)Network is unreachable: connect to listener on [::]:443</code></p>
<p>So what does it mean? No idea. But I found the solution in the end to be to change the listen config.</p>
<p><code>Before: Listen 80<br />
After:  Listen 0.0.0.0:80</code></p>
<p>Same for 443 and you wont see those messages ever again. Oh and this happened under Solaris 10 by the way, never saw this on any other machine.</p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.11';
var flattr_uid = '756';
var flattr_url = 'http://christianriesen.com';
var flattr_lng = 'en_GB';
var flattr_cat = 'text';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'Christian Riesen';
var flattr_dsc = 'Life and work in the information and communication age';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script> <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank" onclick="pageTracker._trackPageview('/outgoing/flattr.com/?referer=');">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank" onclick="pageTracker._trackPageview('/outgoing/flattr.com/?referer=');"><img src="http://christianriesen.com/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://christianriesen.com/2009/10/128network-is-unreachable-connect-to-listener-on-80/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
