<?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>Kirrus' Blog &#187; debian</title>
	<atom:link href="http://kirrus.co.uk/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://kirrus.co.uk</link>
	<description>MindDump. Photos. And random ramblings.</description>
	<lastBuildDate>Sat, 21 Apr 2012 14:22:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Deleting lots of tiny files really really quickly</title>
		<link>http://kirrus.co.uk/2012/02/deleting-lots-of-tiny-files-really-really-quickly/</link>
		<comments>http://kirrus.co.uk/2012/02/deleting-lots-of-tiny-files-really-really-quickly/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 16:19:06 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Remember This]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=691</guid>
		<description><![CDATA[This is the second half of that magento issue. Mainly, after having got a directory with millions of files in it, you can do one of two things. mv sessions sessions_full &#38;&#38; mkdir sessions &#38;&#38; chown www-data:www-data sessions rm -rfv sessions_full Or find /loc/of/sessions -ctime +1 -type f -exec rm -v {} \;]]></description>
			<content:encoded><![CDATA[<p>This is the second half of that magento issue. Mainly, after having got a directory with millions of files in it, you can do one of two things.</p>
<pre>mv sessions sessions_full &amp;&amp; mkdir sessions &amp;&amp; chown www-data:www-data sessions</pre>
<pre>rm -rfv sessions_full</pre>
<p>Or</p>
<pre>find /loc/of/sessions -ctime +1 -type f -exec rm -v {} \;</pre>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2012/02/deleting-lots-of-tiny-files-really-really-quickly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bind refuses to restart, debian squeeze</title>
		<link>http://kirrus.co.uk/2012/02/bind-refuses-to-restart-debian-squeeze/</link>
		<comments>http://kirrus.co.uk/2012/02/bind-refuses-to-restart-debian-squeeze/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 13:34:13 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Remember This]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[squeeze]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=681</guid>
		<description><![CDATA[After an upgrade, I&#8217;ve noticed a few times that bind has refused to restart or reload, saying: Stopping domain name service: namedrndc: connect failed: connection refused This seems to be a permissions bug in debian, quite a long lasting one. In order to cheat-fix it quickly, I do the following: chown bind:root /etc/bind/rndc.key chmod 660 [...]]]></description>
			<content:encoded><![CDATA[<p>After an upgrade, I&#8217;ve noticed a few times that bind has refused to restart or reload, saying:</p>
<pre>Stopping domain name service: namedrndc: connect failed: connection refused</pre>
<p>This seems to be a permissions bug in debian, quite a long lasting one. In order to cheat-fix it quickly, I do the following:</p>
<pre>chown bind:root /etc/bind/rndc.key</pre>
<pre>chmod 660</pre>
<pre>/etc/init.d/bind9 restart</pre>
<p>That seems to fix it well enough. I think it&#8217;s a problem in that bind starts as one user, but runs as another. It may be that 440 are all the perms that are necessary. The debian bug report is here: <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=169577">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=169577</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2012/02/bind-refuses-to-restart-debian-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Day 2: Church</title>
		<link>http://kirrus.co.uk/2008/11/day-2-church/</link>
		<comments>http://kirrus.co.uk/2008/11/day-2-church/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 09:02:37 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[NaBloPoMo]]></category>
		<category><![CDATA[oncall]]></category>
		<category><![CDATA[tube]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=82</guid>
		<description><![CDATA[Yay! I&#8217;m actually going to get to church this week, for the first time in 4 weeks (Yes, for those readers who don&#8217;t know, I&#8217;m a Christian) Reasons I haven&#8217;t been to church the past 3 weeks: Week 1: Moving servers from old datacentre to new one Week 2: On-call busy weekend. Worked 22 hours [...]]]></description>
			<content:encoded><![CDATA[<p>Yay! I&#8217;m actually going to get to church this week, for the first time in 4 weeks <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>(Yes, for those readers who don&#8217;t know, I&#8217;m a Christian)</p>
<p>Reasons I haven&#8217;t been to church the past 3 weeks:</p>
<ul>
<li>Week 1: Moving servers from old datacentre to new one</li>
<li>Week 2: On-call busy weekend. Worked 22 hours in 24, I was asleep Sunday morning. There&#8217;s a story in that itself&#8230;</li>
<li>Week 3: Moving servers again. Yay, 2 down, 1 to go.</li>
</ul>
<p>So this week I get to go to church, and next weekend I don&#8217;t, as we&#8217;ve got the last server move. I&#8217;ve been trying to find a new church at the moment, which is harder than it sounds in London. At the moment, I&#8217;m going to one that my friend (and old youthleader) Roger is working for <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If anyone reading knows Rog and Terry &#8211; Roger has picked up Terry&#8217;s &#8216;Bones&#8217; <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Week 2&#8242;s story&#8230; A server failed during the day (partitions went read-only) and so I had to go to the datacentre, to replace the hardware. (That was when I was twittering about a debian install being stubborn about picking up mirrors. In the end, a reboot and reinstall from scratch sorted it &#8211; its routing table was stuffed.) Started to go in at 2000 Saturday, arrived back in town at about 0030 Sunday. ish.</p>
<p>Anyway, that&#8217;s enough rambling. I need to run to catch the tube <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Hopefully tomorow&#8217;s blog will have a bit more content and a little less rambling <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2008/11/day-2-church/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centos</title>
		<link>http://kirrus.co.uk/2008/04/centos/</link>
		<comments>http://kirrus.co.uk/2008/04/centos/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 16:02:18 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[package management]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=6</guid>
		<description><![CDATA[Well, its a couple of days into my trial and I&#8217;ve settled into Centos. (I went with Centos instead of Fedora, as its closer to RedHat according to the #ubuntu-uk guys andylockran &#38; popey [Thanks!], which is the OS I really was aiming to play with.) I&#8217;ve had a couple of niggles, like the old [...]]]></description>
			<content:encoded><![CDATA[<p>Well, its a couple of days into my trial and I&#8217;ve settled into Centos. (I went with Centos instead of Fedora, as its closer to RedHat according to the #ubuntu-uk guys andylockran &amp; popey [Thanks!], which is the OS I really was aiming to play with.)</p>
<p>I&#8217;ve had a couple of niggles, like the old version of Firefox (1.5x series instead of 2x) on Centos, the ease of installing java etc&#8230; Its only when you step away from Ubuntu that you realize just how advanced it actually is!</p>
<p>So far, I&#8217;ve installed 4 rpm packages manually, and compiled one successfully. (I tried to compile the last.fm client, but it wasn&#8217;t playing ball. I&#8217;ll get it working eventually&#8230;)</p>
<p>The package I compiled was pamusb, a really cool utility to allow you to use a USB key for authentication on your system, literally, you can use it to login with, use sudo commands without passwords, etc. I&#8217;ll probably post a guide at some point. From looking around on the web, it works better with Ubuntu than Centos as the packages you need are in Ubuntu&#8217;s repos. I&#8217;m not sure whether that includes the pam configuration you have to do, but I&#8217;d expect so.</p>
<p>You can get pamusb here: http://www.pamusb.org/ (or as mentioned, in the Ubuntu Repositories) [<strong>Update</strong>: Don't use the Ubuntu Repository version: its out of date]</p>
<p>Centos&#8217;s graphical package manager isn&#8217;t anything as nice as Ubuntu&#8217;s, but the command line &#8220;yum&#8221; is certainly better, giving more information in &#8220;yum search &lt;package or purpose&gt;&#8221; than a &#8220;apt-cache search &lt;package&gt;&#8221; would.</p>
<p>With this reinstall I put /home/ on a separate partition, so that should make jumping easier. I&#8217;ll probably try Fedora at some point&#8230; and Debian&#8230;.</p>
<p>&lt;/blog-entry&gt;</p>
<div class="entryBody">
<div class="plain">
<div></div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2008/04/centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

