<?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>Life, Work and Technology</title>
	<atom:link href="http://blog.francispereira.com/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.francispereira.com</link>
	<description>Francis Pereira&#039;s blog</description>
	<lastBuildDate>Tue, 27 Apr 2010 05:01:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>how to &#8211; enable spell check in firefox on fedora 12</title>
		<link>http://blog.francispereira.com/how-to-enable-spell-check-in-firefox-on-fedora12</link>
		<comments>http://blog.francispereira.com/how-to-enable-spell-check-in-firefox-on-fedora12#comments</comments>
		<pubDate>Tue, 27 Apr 2010 05:01:53 +0000</pubDate>
		<dc:creator>Francis</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[sysadmin's notes]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[spell check]]></category>

		<guid isPermaLink="false">http://blog.francispereira.com/?p=235</guid>
		<description><![CDATA[Quick fix:
$sudo yum install hunspell-en
Further reading:
Firefox does not spell check at Redhat&#8217;s Bugzilla
]]></description>
			<content:encoded><![CDATA[<p>Quick fix:</p>
<pre class="brush:bash gutter: false">$sudo yum install hunspell-en</pre>
<p>Further reading:</p>
<p><a title="Firefox does not spell check" href="https://bugzilla.redhat.com/show_bug.cgi?id=530914" target="_blank">Firefox does not spell check at Redhat&#8217;s Bugzilla</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.francispereira.com/how-to-enable-spell-check-in-firefox-on-fedora12/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aurora (webdev server) gets a  breath of new life</title>
		<link>http://blog.francispereira.com/aurora-webdev-server-gets-a-breath-of-new-life</link>
		<comments>http://blog.francispereira.com/aurora-webdev-server-gets-a-breath-of-new-life#comments</comments>
		<pubDate>Thu, 18 Mar 2010 21:37:34 +0000</pubDate>
		<dc:creator>Francis</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.francispereira.com/aurora-webdev-server-gets-a-breath-of-new-life</guid>
		<description><![CDATA[Another day, another server that needs special attention. I keep moving operating systems from old hardware to new, from bare metal to virtual and vice-versa every now and then, but today was different.
What makes Aurora so special is &#8211; its the first server I setup at my current workplace while I was four months into [...]]]></description>
			<content:encoded><![CDATA[<p>Another day, another server that needs special attention. I keep moving operating systems from old hardware to new, from bare metal to virtual and vice-versa every now and then, but today was different.</p>
<p>What makes Aurora so special is &#8211; its the first server I setup at my current workplace while I was four months into the job, hired as a Web Programmer. Running on a Intel Celeron, 20GB hdd and 256MB RAM it served us very well until a few months ago, when it started to randomly freeze and could not handle the load the dev guys threw at it. Complaints followed.  In the past two day it had to be restarted twice! Unscheduled restarts are irritating because it only means one thing &#8211; bad reliability.</p>
<p>Aurora was long over due for a hardware upgrade so I took this as an opportunity to process it. At around five in the evening when it hung, instead of going to restart it, I went over to the admins who were kind enough to give me a commodity DELL desktop( yes we run most of our in-house servers on commodity DELL boxes, some have their CPU&#8217;s upgraded to support hardware virtualization ). This was supposed to a quick cp -parv old_hdd new_hdd and grub-install  but turned out to be a seven hours exercise. The damn thing took five and a half hours to copy 15GB from the old IDE drive to the new SATA. On booting it on the new hardware, the kernel kept restarting while at boot. Turns out I had to pass &#8220;ro&#8221; as a parameter so that the root file system could be  checked before being used as root file system. Quite straight forward but the kernel rebooting without telling me this did not help. &#8220;noreboot and pause&#8221; as  parameters to the kernel did not help either.  &#8220;maxcpus=1&#8243; got it to boot successfully and do a disk check without going into a reboot cycle. I don&#8217;t know how and why, but it did. I used it because I had a feeling that the kernel could not support the new Core2 Duo&#8217;s dual cores.  That was not the end of the evening, the new hardware&#8217;s network chipset needed the e1000e driver which was not included in the kernel. Went over to the stores and got a old network card, which worked out of the box. Migration complete!</p>
<p>Aurora was perhaps when I went from being a &#8220;Web Programmer&#8221; to a &#8220;Web Administrator&#8221;. I would like to thank my ex-managers Seshadri and Krishnan for recognising my potential and nurturing it. Cheers you guys !</p>
<p>~Francis</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.francispereira.com/aurora-webdev-server-gets-a-breath-of-new-life/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://blog.francispereira.com/198</link>
		<comments>http://blog.francispereira.com/198#comments</comments>
		<pubDate>Wed, 17 Mar 2010 17:09:08 +0000</pubDate>
		<dc:creator>Francis</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[status update]]></category>
		<category><![CDATA[bombay]]></category>
		<category><![CDATA[travel]]></category>
		<category><![CDATA[virar]]></category>
		<category><![CDATA[western railways]]></category>

		<guid isPermaLink="false">http://blog.francispereira.com/?p=198</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="attachment_205" class="wp-caption aligncenter" style="width: 517px"><a rel="attachment wp-att-205" href="http://blog.francispereira.com/198/where_have_all_the_virar_trains_gone"><img class="size-large wp-image-205" title="where_have_all_the_virar_trains_gone" src="http://blog.francispereira.com/images/where_have_all_the_virar_trains_gone-507x380.png" alt="Where have all the Virar trains gone ?" width="507" height="380" /></a><p class="wp-caption-text">Where have all the Virar trains gone ?</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.francispereira.com/198/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>/lib/ld-linux.so.2: bad ELF interpreter</title>
		<link>http://blog.francispereira.com/libld-linux-so-2-bad-elf-interpreter</link>
		<comments>http://blog.francispereira.com/libld-linux-so-2-bad-elf-interpreter#comments</comments>
		<pubDate>Mon, 08 Mar 2010 13:49:39 +0000</pubDate>
		<dc:creator>Francis</dc:creator>
				<category><![CDATA[sysadmin's notes]]></category>
		<category><![CDATA[32 bit]]></category>
		<category><![CDATA[64 bit]]></category>
		<category><![CDATA[GNU+Linux]]></category>

		<guid isPermaLink="false">http://blog.francispereira.com/?p=187</guid>
		<description><![CDATA[Running apps/binaries compiled for 32bit enviornments seems to throw up &#8220;/lib/ld-linux.so.2: bad ELF interpreter&#8221; on a 64bit platform.
Quick note  &#8211; glibc provides the libraries required to run 32bit apps on 64bit platform, so the next time you come across this on a distro that uses the rpm package manager simply:
$sudo yum install glibc.i686
]]></description>
			<content:encoded><![CDATA[<p>Running apps/binaries compiled for 32bit enviornments seems to throw up &#8220;<strong>/lib/ld-linux.so.2: bad ELF interpreter</strong>&#8221; on a 64bit platform.</p>
<p>Quick note  &#8211; glibc provides the libraries required to run 32bit apps on 64bit platform, so the next time you come across this on a distro that uses the rpm package manager simply:</p>
<pre class="brush:bash gutter: false">$sudo yum install glibc.i686</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.francispereira.com/libld-linux-so-2-bad-elf-interpreter/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How-to: Flash Player 10 for 64-bit Linux ( in 4 easy steps )</title>
		<link>http://blog.francispereira.com/how-to-flash-player-10-for-64bit-linux-4-easy-steps</link>
		<comments>http://blog.francispereira.com/how-to-flash-player-10-for-64bit-linux-4-easy-steps#comments</comments>
		<pubDate>Thu, 04 Mar 2010 13:05:54 +0000</pubDate>
		<dc:creator>Francis</dc:creator>
				<category><![CDATA[sysadmin's notes]]></category>
		<category><![CDATA[64 bit]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://blog.francispereira.com/?p=174</guid>
		<description><![CDATA[Adobe&#8217;s newly released 64bit flash plugin for Firefox running on GNU+Linux makes installation on 64-bit operating systems a walk in the park ( like I said &#8211; 4 easy steps )

Download the plugin from http://labs.adobe.com/downloads/flashplayer10_64bit.html . Direct download link
Extract libflashplayer.so from the downloaded file
copy libflashplayer.so to /home/&#60;username&#62;/.mozilla/plugins/
restart Firefox !

]]></description>
			<content:encoded><![CDATA[<p>Adobe&#8217;s newly released 64bit flash plugin for Firefox running on GNU+Linux makes installation on 64-bit operating systems a walk in the park ( like I said &#8211; 4 easy steps )</p>
<ol>
<li>Download the plugin from http://labs.adobe.com/downloads/flashplayer10_64bit.html . <a title="Direct link to Adobe's Flash plugin for 64 bit Linux" href="http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz">Direct download link</a></li>
<li>Extract libflashplayer.so from the downloaded file</li>
<li>copy libflashplayer.so to /home/&lt;username&gt;/.mozilla/plugins/</li>
<li>restart Firefox !</li>
</ol>
<div id="attachment_211" class="wp-caption aligncenter" style="width: 517px"><a rel="attachment wp-att-211" href="http://blog.francispereira.com/how-to-flash-player-10-for-64bit-linux-4-easy-steps/blackberry_website_on_64bit_linux"><img class="size-large wp-image-211" title="Blackberry_website_on_64bit_linux" src="http://blog.francispereira.com/images/Blackberry_website_on_64bit_linux-507x276.png" alt="BlackBerry website running in Flash mode on 64 bit Firefox on Linux" width="507" height="276" /></a><p class="wp-caption-text">BlackBerry website running in Flash mode on 64 bit Firefox on Linux</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.francispereira.com/how-to-flash-player-10-for-64bit-linux-4-easy-steps/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>dhclient triggers / hooks with dhclient-script</title>
		<link>http://blog.francispereira.com/dhclient-triggers-hooks-with-dhclient-script</link>
		<comments>http://blog.francispereira.com/dhclient-triggers-hooks-with-dhclient-script#comments</comments>
		<pubDate>Thu, 18 Feb 2010 17:53:53 +0000</pubDate>
		<dc:creator>Francis</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[dhclient]]></category>
		<category><![CDATA[dhclient-script]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[hooks]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[lease]]></category>
		<category><![CDATA[renew]]></category>
		<category><![CDATA[trigger]]></category>

		<guid isPermaLink="false">http://blog.francispereira.com/?p=160</guid>
		<description><![CDATA[dhclient overwrites custom network configuration (read routes) with the defaults provided from the dhcp server. dhclient-script can be used to set custom rules for dhclient. It provides a way to hook into dhclient before and after updating network configuration.
Application specific DHCP options can be handled by creating a script with two functions and placing it [...]]]></description>
			<content:encoded><![CDATA[<p>dhclient overwrites custom network configuration (read routes) with the defaults provided from the dhcp server. dhclient-script can be used to set custom rules for dhclient. It provides a way to hook into dhclient before and after updating network configuration.</p>
<p>Application specific DHCP options can be handled by creating a script with two functions and placing it in /etc/dhcp/dhclient.d</p>
<p>The script must follow a specific form:</p>
<ol>
<li> The script must be named NAME.sh.  NAME can be anything, but it makes sense to name it for the service it handles.  e.g., network_routes.sh</li>
<li>The script must provide a NAME_config() function to read the options and do whatever it takes to put those options in place</li>
<li>The script must provide a NAME_restore() function to restore original configuration state when dhclient stops</li>
<li>The script must be &#8216;chmod +x&#8217; or dhclient-script will ignore it</li>
</ol>
<p>The scripts execute in the same environment as dhclient-script.  That means all of the functions and variables available to it are available to your NAME.sh script.</p>
<p>Things of note:</p>
<ol>
<li> ${SAVEDIR} is where original configuration files are saved.  Save your  original configuration files here before you take the DHCP provided values and generate new files</li>
<li>Variables set in /etc/sysconfig/network, /etc/sysconfig/networking/network, and /etc/sysconfig/network-scripts/ifcfg-$interface are available to you</li>
</ol>
<p>Took me a while to find this documentation. No more surprises from now on when dhclient updates the lease</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.francispereira.com/dhclient-triggers-hooks-with-dhclient-script/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phplist 2.10.10 : fixing FCK editor&#8217;s image upload problem</title>
		<link>http://blog.francispereira.com/phplist-2-10-10-fixing-fck-editors-image-upload-problem</link>
		<comments>http://blog.francispereira.com/phplist-2-10-10-fixing-fck-editors-image-upload-problem#comments</comments>
		<pubDate>Wed, 16 Sep 2009 14:51:00 +0000</pubDate>
		<dc:creator>Francis</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.francispereira.com/?p=131</guid>
		<description><![CDATA[I spent the last hour fixing this trivial bug. Posting it so that it helps save someone&#8217;s time
Open file :
PHPListRoot/admin/FCKeditor/editor/filemanager/connectors/phplist/config.php 
on line number 28 change:
} elseif (is_file('../../../../../../../../config/config.php')) {  
to:
} elseif (is_file('../../../../../../config/config.php')) { 
and on line number 29, change: 
  include "../../../../../../../../config/config.php"; 
to
  include "../../../../../../config/config.php"; 
Thats it! Save the file and you should [...]]]></description>
			<content:encoded><![CDATA[<p>I spent the last hour fixing this trivial bug. Posting it so that it helps save someone&#8217;s time</p>
<p>Open file :</p>
<pre class="brush:php gutter: false">PHPListRoot/admin/FCKeditor/editor/filemanager/connectors/phplist/config.php </pre>
<p>on line number 28 change:</p>
<pre class="brush:php gutter: false">} elseif (is_file('../../../../../../../../config/config.php')) {  </pre>
<p>to:</p>
<pre class="brush:php gutter: false">} elseif (is_file('../../../../../../config/config.php')) { </pre>
<p>and on line number 29, change: </p>
<pre class="brush:php gutter: false">  include "../../../../../../../../config/config.php"; </pre>
<p>to</p>
<pre class="brush:php gutter: false">  include "../../../../../../config/config.php"; </pre>
<p>Thats it! Save the file and you should be able to instantly upload images using the FCK editor </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.francispereira.com/phplist-2-10-10-fixing-fck-editors-image-upload-problem/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
