<?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>Helm&#039;s Technology Blog</title>
	<atom:link href="http://www.ihelm.org.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ihelm.org.uk</link>
	<description>Linux Servers, Cpanel and Mysql along with my own tech thoughts</description>
	<lastBuildDate>Sun, 11 Jul 2010 10:50:00 +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>Twitter Weekly Updates for 2010-07-11</title>
		<link>http://www.ihelm.org.uk/2010/07/twitter-weekly-updates-for-2010-07-11/</link>
		<comments>http://www.ihelm.org.uk/2010/07/twitter-weekly-updates-for-2010-07-11/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 10:50:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tweets]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/2010/07/twitter-weekly-updates-for-2010-07-11/</guid>
		<description><![CDATA[RT @guardianchorley: Well done to everyone connected with the Picnic in the Park and the Smile Awards. The people made up for the weather. #]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>RT @<a href="http://twitter.com/guardianchorley" class="aktt_username">guardianchorley</a>: Well done to everyone connected with the Picnic in the Park and the  Smile Awards. The people made up for the weather. <a href="http://twitter.com/mascotmike/statuses/17737085044" class="aktt_tweet_time">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2010/07/twitter-weekly-updates-for-2010-07-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Weekly Updates for 2010-05-30</title>
		<link>http://www.ihelm.org.uk/2010/05/twitter-weekly-updates-for-2010-05-30/</link>
		<comments>http://www.ihelm.org.uk/2010/05/twitter-weekly-updates-for-2010-05-30/#comments</comments>
		<pubDate>Sun, 30 May 2010 10:50:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tweets]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/2010/05/twitter-weekly-updates-for-2010-05-30/</guid>
		<description><![CDATA[Learnt today that whilst a ups failure might not damage your servers &#8211; cisco routers are not so resilient # leRNT TODA #]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>Learnt today that whilst a ups failure might not damage your servers &#8211; cisco routers are not so resilient <a href="http://twitter.com/mascotmike/statuses/14858602357" class="aktt_tweet_time">#</a></li>
<li>leRNT TODA <a href="http://twitter.com/mascotmike/statuses/14858559910" class="aktt_tweet_time">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2010/05/twitter-weekly-updates-for-2010-05-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Weekly Updates for 2010-05-23</title>
		<link>http://www.ihelm.org.uk/2010/05/twitter-weekly-updates-for-2010-05-23/</link>
		<comments>http://www.ihelm.org.uk/2010/05/twitter-weekly-updates-for-2010-05-23/#comments</comments>
		<pubDate>Sun, 23 May 2010 10:50:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tweets]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/2010/05/twitter-weekly-updates-for-2010-05-23/</guid>
		<description><![CDATA[Wonders if anyone else got a flyer from tesco&#39;s for solar panels&#8230;. and wonders where Tesco&#39;s thinks they have 6k+ for them! # Researching Load Balancing for iknow-uk&#39;s new webfarm &#8211; such fun! Ah well a series of guides might come out of it! #]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>Wonders if anyone else got a flyer from tesco&#39;s for solar panels&#8230;. and wonders where Tesco&#39;s thinks they have 6k+ for them! <a href="http://twitter.com/mascotmike/statuses/14184375698" class="aktt_tweet_time">#</a></li>
<li>Researching Load Balancing for iknow-uk&#39;s new webfarm &#8211; such fun!  Ah well a series of guides might come out of it! <a href="http://twitter.com/mascotmike/statuses/14183210468" class="aktt_tweet_time">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2010/05/twitter-weekly-updates-for-2010-05-23/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webmail not working in Cpanel</title>
		<link>http://www.ihelm.org.uk/2010/05/webmail-not-working-in-cpanel/</link>
		<comments>http://www.ihelm.org.uk/2010/05/webmail-not-working-in-cpanel/#comments</comments>
		<pubDate>Mon, 10 May 2010 20:59:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[CSF]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=130</guid>
		<description><![CDATA[Had a problem earlier this week, webmail couldn't always send e-mail.  It was coming back with the following error:

SMTP Error: SMTP error: Connection failed: Failed to connect socket: Connection timed out.]]></description>
			<content:encoded><![CDATA[<p>Had a problem earlier this week, webmail couldn&#8217;t always send e-mail.  It was coming back with the following error:</p>
<p>SMTP Error: SMTP error: Connection failed: Failed to connect socket: Connection timed out.</p>
<p>After reading a few things  I turned on the SMTP tweak..  things appeared to work for a few hours, then it started failing again.</p>
<p>Searching online said to trying telnet on the command line &#8211; so did that, connected to port 25 &#8211; all fine&#8230; hmm odd &#8211; tried webmail again &#8211; failed&#8230;..</p>
<p>After a more indepth search I found a forum which gave me a hint &#8211; apparently other people have had the same problem when using the firewall for cpanel &#8211; CSF.  CSF is definately one of the best firewalls around for linux and works really well with Cpanel &#8211; however every now and again the amount of options can cause you to miss out something obvious:</p>
<p># If SMTP_BLOCK is enabled but you want to allow local connections to port 25<br />
# on the server (e.g. for webmail or web scripts) then enable this option to<br />
# allow outgoing SMTP connections to 127.0.0.1<br />
SMTP_ALLOWLOCAL = 0</p>
<p>The SMTP_ALLOWLOCAL set to 0 stops webmail etc&#8230; not sure when this appeared (the server has been working fine for about 4 months) but change it to 1 &#8211; restart CSF and there we go it&#8217;s working fine <img src='http://www.ihelm.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2010/05/webmail-not-working-in-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can&#8217;t create or edit a file &#8211; Linux &#8211; but have diskspace?</title>
		<link>http://www.ihelm.org.uk/2010/05/cant-create-or-edit-a-file-linux-but-have-diskspace/</link>
		<comments>http://www.ihelm.org.uk/2010/05/cant-create-or-edit-a-file-linux-but-have-diskspace/#comments</comments>
		<pubDate>Tue, 04 May 2010 21:05:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[disks]]></category>
		<category><![CDATA[inode]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=127</guid>
		<description><![CDATA[Have you ever had a linux server or desktop which all of a sudden couldn't create a file - running "df -h" shows you your disk partitions aren't full?

You've logged in as root to check - and yup you still can't write any files - even a "touch test.txt" fails with a message saying can't write file - disk or partition full?]]></description>
			<content:encoded><![CDATA[<p>Have you ever had a linux server or desktop which all of a sudden couldn&#8217;t create a file &#8211; running &#8220;df -h&#8221; shows you your disk partitions aren&#8217;t full?</p>
<p>You&#8217;ve logged in as root to check &#8211; and yup you still can&#8217;t write any files &#8211; even a &#8220;touch test.txt&#8221; fails with a message saying can&#8217;t write file &#8211; disk or partition full?</p>
<p>You could be out of inodes! Linux stores file address information in inodes &#8211; and if you have a lot of very small files (or quite an oddly setup filesystem) you could be out of inodes&#8230;</p>
<p>How do you find out though?</p>
<p>just type in</p>
<p>&#8220;df -i&#8221; &#8211; same as the normal diskfree space command except it tells you inodes, if you have none left (or very few) you may not be able to create a new file (or edit it if your editor creates temporary lockfiles).</p>
<p>In a future blog I&#8217;ll go through how to resize the number of inodes available (primarily aimed at your temporary dev/shm space as this can suffer from the inode problem if you allocate more to it from a small size &#8211; the number of inodes is not increased so you can run out).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2010/05/cant-create-or-edit-a-file-linux-but-have-diskspace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux &#8211; Calculating Diskspace free</title>
		<link>http://www.ihelm.org.uk/2010/05/linux-calculating-diskspace-free/</link>
		<comments>http://www.ihelm.org.uk/2010/05/linux-calculating-diskspace-free/#comments</comments>
		<pubDate>Mon, 03 May 2010 21:29:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[df]]></category>
		<category><![CDATA[diskspace]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[watch]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=124</guid>
		<description><![CDATA[With linux servers a couple of things can take up disk-space unexpectedly. Log files is the usual culprit, but if your server is a rented one you might be stuck with a bit of a weird partition setup.

For some reason some hosts will give little storage to partitions which then get filled up unexpectedly.  ]]></description>
			<content:encoded><![CDATA[<p>With linux servers a couple of things can take up disk-space unexpectedly. Log files is the usual culprit, but if your server is a rented one you might be stuck with a bit of a weird partition setup.</p>
<p>For some reason some hosts will give little storage to partitions which then get filled up unexpectedly.</p>
<p>To find out how much space you have just use the following command.</p>
<p>df</p>
<p>- want to make it more readable?</p>
<p>Use df-h</p>
<p>Also if you want to see your diskspace changing over time the you can use the watch command. For example</p>
<p>watch -n 1 &#8220;df&#8221;</p>
<p>This will run the disk space command each second and you can view it&#8217;s output on the commandline &#8211; useful if you want to monitor some specific activity in real time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2010/05/linux-calculating-diskspace-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Re-mounting linux filesystems on the fly.</title>
		<link>http://www.ihelm.org.uk/2010/04/re-mounting-linux-filesystems-on-the-fly/</link>
		<comments>http://www.ihelm.org.uk/2010/04/re-mounting-linux-filesystems-on-the-fly/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 21:28:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[partitions]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[umount]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=121</guid>
		<description><![CDATA[You can remount a linux system on the fly like this:-

umount tmpfs]]></description>
			<content:encoded><![CDATA[<p>You can remount a linux system on the fly like this:-</p>
<p>umount tmpfs</p>
<p>The above command will ask the OS to unmount the filesystem identified by tmpfs in the fstab file.</p>
<p>This may return an error if you are actively using it &#8211; i.e. you have an ssh session open and are in the filesystem or open files exist. &#8211; Exit any of these and try again <img src='http://www.ihelm.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>mount tmpfs</p>
<p>The above command will attempt to re-mount the drive.</p>
<p>When would you use this?  Normally if you have done some dynamic re-sizing of a partition  - for example the tmpfs partition &#8211; see post:</p>
<p><a href="http://www.ihelm.org.uk/2010/04/resizing-ram-disk-in-linux-devshm/">http://www.ihelm.org.uk/2010/04/resizing-ram-disk-in-linux-devshm/</a></p>
<p>for more info on how to do that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2010/04/re-mounting-linux-filesystems-on-the-fly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resizing Ram disk in Linux (/dev/shm)</title>
		<link>http://www.ihelm.org.uk/2010/04/resizing-ram-disk-in-linux-devshm/</link>
		<comments>http://www.ihelm.org.uk/2010/04/resizing-ram-disk-in-linux-devshm/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 08:52:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[fstab]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ram]]></category>
		<category><![CDATA[shm]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=117</guid>
		<description><![CDATA[As many people know linux has a built in ramdisk - this is temporary memory and is very very fast (as it's in ram).  AS standard linux allocates 50% of your ram to this (don't worry if you don't use it linux uses all your ram anyway).

However sometimes you may decide the 50% is not enough (or is too much) ]]></description>
			<content:encoded><![CDATA[<p>As many people know linux has a built in ramdisk &#8211; this is temporary memory and is very very fast (as it&#8217;s in ram).  AS standard linux allocates 50% of your ram to this (don&#8217;t worry if you don&#8217;t use it linux uses all your ram anyway).</p>
<p>However sometimes you may decide the 50% is not enough (or is too much) &#8211; especially if the server is upgradeable you may decide you would want to manage the percentage.</p>
<p>Below is an example default entry from /etc/fstab</p>
<pre>tmpfs                           /dev/shm        tmpfs   defaults        0 0
</pre>
<p>This just creates the temporary system using default settings &#8211; nothing fancy &#8211; however if you want it to take 75%  of your ram (or any other percentage) just change it to the code below</p>
<p>- reboot (or remount) and your done.</p>
<pre>tmpfs                           /dev/shm                        tmpfs   size=75%                                0 0

How to unmount the tmpfs

umount tmpfs

To remount it with the new settings

mount tmpfs
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2010/04/resizing-ram-disk-in-linux-devshm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Migrating Cpanel accounts to  new Cpanel Server &#8211; by command line.</title>
		<link>http://www.ihelm.org.uk/2010/03/migrating-cpanel-accounts-to-new-cpanel-server-by-command-line/</link>
		<comments>http://www.ihelm.org.uk/2010/03/migrating-cpanel-accounts-to-new-cpanel-server-by-command-line/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 21:26:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=112</guid>
		<description><![CDATA[The Cpanel system has a feature to migrate accounts from another server - be it Cpanel or another webhosting panel - this often works, recently though I've had a problem with using it for Cpanel to Cpanel where it would connect but fail to transfer the backup file.]]></description>
			<content:encoded><![CDATA[<p>Cpanel is a good system for administrating a server with many sites on it, i&#8217;ve used ensim, webmin and a couple of others in years gone by (Plesk and parallels were disasters for me!).  However occasionally something that you think should work just doesn&#8217;t and for no obvious reason.</p>
<p>The Cpanel system has a feature to migrate accounts from another server &#8211; be it Cpanel or another webhosting panel &#8211; this often works, recently though I&#8217;ve had a problem with using it for Cpanel to Cpanel where it would connect but fail to transfer the backup file.</p>
<p>Fortunately it&#8217;s really easy to use the commandline with cpanel and you can do it manually (actually it&#8217;s easier than the wizard!)</p>
<p>On the server you are migrating from just type (while logged in as root!)</p>
<p><strong>/scripts/pkgacct <em><span style="text-decoration: underline;">username</span></em></strong></p>
<p>This will create a tar.gz in the /home directory on the server &#8211; just copy this to the new server (it could take a while &#8211; it has everything from the account you are copying).</p>
<p>On the destination server just type in</p>
<p><strong>/scripts/restorepkg </strong><em><span style="text-decoration: underline;"><strong>username</strong></span></em></p>
<p>This creates (or overwrites the account!) on the server &#8211; and your done!.  But what if you have a dedicated IP (due to SSL?)</p>
<p>Easy just use this instead</p>
<p><strong>/scripts/restorepkg &#8211;ip=y <em><span style="text-decoration: underline;">username</span></em></strong></p>
<p>This gives it the next free dedicated IP address (make sure you have one free!)</p>
<p>And that&#8217;s it &#8211; it is honestly easier than the wizard which requires you to add more info to establish the transfer link.</p>
<p>One thing to note is that you should ensure that the versions of cpanel are as near as you can get &#8211; otherwise it might fail or do things a little weird.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2010/03/migrating-cpanel-accounts-to-new-cpanel-server-by-command-line/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Eithne&#8217;s Knee</title>
		<link>http://www.ihelm.org.uk/2010/03/eithnes-knee/</link>
		<comments>http://www.ihelm.org.uk/2010/03/eithnes-knee/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 21:46:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Eithne]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=105</guid>
		<description><![CDATA[Five weeks ago Eithne's knee swelled up and she began to struggle to walk.  unfortunately no resolution yet - awaiting referral to a specialist consultant - we thought we would post some videos for friends and family that have heard about this but not been able to see her.]]></description>
			<content:encoded><![CDATA[<p>Five weeks ago Eithne&#8217;s knee swelled up and she began to struggle to walk.  unfortunately no resolution yet &#8211; awaiting referral to a specialist consultant &#8211; we thought we would post some videos for friends and family that have heard about this but not been able to see her.</p>
<p><a href="http://www.ihelm.org.uk/wp-content/uploads/2010/03/2010-17-03-17-11-10.wmv">Eithne&#8217;s Knee Video 1</a></p>
<p><a href="http://www.ihelm.org.uk/wp-content/uploads/2010/03/2010-17-03-17-16-31.wmv">Eithne&#8217;s Knee Video 2</a></p>
<p><a href="http://www.ihelm.org.uk/wp-content/uploads/2010/03/2010-17-03-17-14-28.wmv">Eithne&#8217;s Knee Video 3</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2010/03/eithnes-knee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.ihelm.org.uk/wp-content/uploads/2010/03/2010-17-03-17-11-10.wmv" length="11421781" type="video/x-ms-wmv" />
<enclosure url="http://www.ihelm.org.uk/wp-content/uploads/2010/03/2010-17-03-17-16-31.wmv" length="11309775" type="video/x-ms-wmv" />
<enclosure url="http://www.ihelm.org.uk/wp-content/uploads/2010/03/2010-17-03-17-14-28.wmv" length="11117769" type="video/x-ms-wmv" />
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->