<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>sixtydoses. where od is harmless. &#187; open source</title>
	<atom:link href="http://sixtydoses.wordpress.com/tag/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://sixtydoses.wordpress.com</link>
	<description>where od is harmless.</description>
	<lastBuildDate>Wed, 16 Dec 2009 07:07:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='sixtydoses.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/2af3de6c113fb88ce025d26642515748?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>sixtydoses. where od is harmless. &#187; open source</title>
		<link>http://sixtydoses.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sixtydoses.wordpress.com/osd.xml" title="sixtydoses. where od is harmless." />
		<item>
		<title>StatsView on Ubuntu Jaunty.</title>
		<link>http://sixtydoses.wordpress.com/2009/12/02/statsview-on-ubuntu-jaunty/</link>
		<comments>http://sixtydoses.wordpress.com/2009/12/02/statsview-on-ubuntu-jaunty/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 17:37:00 +0000</pubDate>
		<dc:creator>od</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sixtydoses.wordpress.com/?p=390</guid>
		<description><![CDATA[Quoted from StatsView README:
#####################################################
PREREQUISITES
&#8212;&#8212;&#8212;&#8212;-
StatsView is written in Perl5, using the Perl Tk extension library.  I recommend
that you use perl5.005_03 or later, and Tk800.014 or later, as StatsView has
been tested with these versions.  You will also need the Tk::GBARR add-on
package for this version.
The graphing is done with gnuplot, and version 3.7 or later is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=390&subd=sixtydoses&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Quoted from StatsView README:</p>
<p>#####################################################</p>
<p><strong>PREREQUISITES</strong><br />
&#8212;&#8212;&#8212;&#8212;-</p>
<p>StatsView is written in Perl5, using the Perl Tk extension library.  I recommend<br />
that you use perl5.005_03 or later, and Tk800.014 or later, as StatsView has<br />
been tested with these versions.  You will also need the Tk::GBARR add-on<br />
package for this version.</p>
<p>The graphing is done with gnuplot, and version 3.7 or later is required -<br />
a copy can be found in the gnuplot_src subdirectory.</p>
<p>#####################################################</p>
<p>I already have Perl5 and gnuplot in my system, so I only need to install Perl Tk, Tk-GBARR and StatsView.</p>
<p>Install Perl Tk:</p>
<p><em>#apt-get install perl-tk</em></p>
<p><em><br />
</em></p>
<p>Grab Tk-GBARR from <a href="http://www.cpan.org/authors/id/SREZIC/">http://www.cpan.org/authors/id/SREZIC/</a>. At this time of writing the latest version of Tk-GBARR is 2.08:</p>
<p><em>#fetch <a href="http://www.cpan.org/authors/id/SREZIC/Tk-GBARR-2.08.tar.gz">http://www.cpan.org/authors/id/SREZIC/Tk-GBARR-2.08.tar.gz</a><br />
#tar xvfz Tk-GBARR-2.08.tar.gz<br />
#cd Tk-GBARR-2.08<br />
#perl Makefile.PL<br />
#make<br />
#make test<br />
#make install</em></p>
<p><em><br />
</em></p>
<p>Grab StatsView from <a href="http://www.cpan.org/authors/id/ABURLISON/">http://www.cpan.org/authors/id/ABURLISON/</a>.</p>
<p><em>#fetch <a href="http://www.cpan.org/authors/id/ABURLISON/StatsView-1.4.tar.gz">http://www.cpan.org/authors/id/ABURLISON/StatsView-1.4.tar.gz</a><br />
#tar xvfz StatsView-1.4.tar.gz<br />
#cd StatsView-1.4<br />
#perl Makefile.PL<br />
#make install<br />
#./scripts/sv</em></p>
<p><em><br />
</em></p>
<p>Test StatsView using the example included:</p>
<p><em>#cd /path/StatsView-1.4/examples<br />
#gzip -d sar.txt.gz<br />
#../scripts/sv sar.txt</em></p>
<p><em><br />
</em></p>
<p>It worked wonderfully using the sar output sample.. but I couldn&#8217;t get it to display any graph using my collection of sar output, both in binary and text formats. At this point am still not sure why it kept on complaining that my output file is invalid.</p>
<p>They are valid AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa!!! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_eek.gif' alt=':shock:' class='wp-smiley' /> </p>
<p>Now what am I supposed to tell my boss?</p>
<p>&#8220;Hi boss.. remember the Linux server performance data that I promised last week? I don&#8217;t have it.&#8221;<br />
&#8220;How come?&#8221;<br />
&#8220;I have it, but I don&#8217;t have it in a pwetty graph format like I pwomised.&#8221;<br />
&#8220;Well it&#8217;s okay you can pass me the raw data.&#8221;<br />
&#8220;It&#8217;s in binary.&#8221;<br />
&#8220;What?&#8221;<br />
&#8220;Uh.. you know there are 10 types of people in the world: Those who understand binary, and those who don&#8217;t&#8230;&#8221;<br />
&#8220;You don&#8217;t have anything to present, do you?&#8221;<br />
*GULP*</p>
<p>Source: <a href="http://jerkharris.com/books/books/PerlOrDBA/oracleperl-CHP-3-SECT-3.html">http://jerkharris.com/books/books/PerlOrDBA/oracleperl-CHP-3-SECT-3.html</a></p>
Posted in Tech Tagged: howto, linux, open source, ubuntu <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixtydoses.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixtydoses.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixtydoses.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixtydoses.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixtydoses.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixtydoses.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixtydoses.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixtydoses.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixtydoses.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixtydoses.wordpress.com/390/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=390&subd=sixtydoses&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sixtydoses.wordpress.com/2009/12/02/statsview-on-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07d46e83836a7a790d4385eacadb5adf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">od</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Sun VirtualBox on FreeBSD 7.1/amd64.</title>
		<link>http://sixtydoses.wordpress.com/2009/06/22/installing-sun-virtualbox-on-freebsd-7-1amd64/</link>
		<comments>http://sixtydoses.wordpress.com/2009/06/22/installing-sun-virtualbox-on-freebsd-7-1amd64/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 16:41:34 +0000</pubDate>
		<dc:creator>od</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[vbox]]></category>

		<guid isPermaLink="false">http://sixtydoses.wordpress.com/?p=303</guid>
		<description><![CDATA[Today I decided to install Sun VirtualBox on my FreeBSD 7.1/amd64. The installation from ports is straightforward as usual.
#csup -g -L2 /etc/ports-supfile
#cd /usr/ports/emulators/virtualbox
#make install clean
I got stuck when it failed to fetch this file Dev86src-0.16.17.tar.gz.
#wget ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/Dev86src-0.16.17.tar.gz
#mv Dev86src-0.16.17.tar.gz /usr/ports/distfiles/
#make install clean
#hash -r ; ldconfig
Mount proc:
#mount -t procfs proc /proc
Load vbox driver module:
#kldload vboxdrv.ko
#kldstat &#124; grep box
13    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=303&subd=sixtydoses&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today I decided to install Sun VirtualBox on my FreeBSD 7.1/amd64. The installation from ports is straightforward as usual.</p>
<p>#csup -g -L2 /etc/ports-supfile<br />
#cd /usr/ports/emulators/virtualbox<br />
#make install clean</p>
<p>I got stuck when it failed to fetch this file Dev86src-0.16.17.tar.gz.</p>
<p>#wget ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/Dev86src-0.16.17.tar.gz<br />
#mv Dev86src-0.16.17.tar.gz /usr/ports/distfiles/<br />
#make install clean<br />
#hash -r ; ldconfig</p>
<p>Mount proc:<br />
#mount -t procfs proc /proc</p>
<p>Load vbox driver module:<br />
#kldload vboxdrv.ko<br />
#kldstat | grep box<br />
13    1 0xffffffffab46a000 3fb0e    vboxdrv.ko</p>
<p>Launch vbox from menu or command:<br />
#VirtualBox</p>
<p>Done.</p>
Posted in Tech Tagged: freebsd, open source, vbox <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixtydoses.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixtydoses.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixtydoses.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixtydoses.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixtydoses.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixtydoses.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixtydoses.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixtydoses.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixtydoses.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixtydoses.wordpress.com/303/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=303&subd=sixtydoses&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sixtydoses.wordpress.com/2009/06/22/installing-sun-virtualbox-on-freebsd-7-1amd64/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07d46e83836a7a790d4385eacadb5adf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">od</media:title>
		</media:content>
	</item>
		<item>
		<title>Virtualbox is now available in ports!</title>
		<link>http://sixtydoses.wordpress.com/2009/06/20/virtualbox-is-now-available-in-ports/</link>
		<comments>http://sixtydoses.wordpress.com/2009/06/20/virtualbox-is-now-available-in-ports/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 00:40:08 +0000</pubDate>
		<dc:creator>od</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://sixtydoses.wordpress.com/?p=299</guid>
		<description><![CDATA[This could be one of the bestest news I&#8217;ve heard in months!!
Excerpt from miwi:
&#8220;Today Virtualbox was committed to the FreeBSD ports tree. After a lot of work we had a good discussion today about how stable Virtualbox is, and after the CTF with take6 we got a lot of good feedback, so it was time [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=299&subd=sixtydoses&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This could be one of the bestest news I&#8217;ve heard in months!!</p>
<p>Excerpt from miwi:</p>
<p>&#8220;Today Virtualbox was committed to the FreeBSD <a href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/virtualbox/"></a><a href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/virtualbox/">ports tree</a>. After a lot of work we had a good discussion today about how stable Virtualbox is, and after the CTF with take6 we got a lot of good feedback, so it was time to commit.&#8221;</p>
<p>Read it <a href="http://miwi.bsdcrew.de/2009/06/virtualbox-is-now-available-in-ports/">here</a>.</p>
<p>Woohoo!!</p>
Posted in Tech Tagged: freebsd, open source <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixtydoses.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixtydoses.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixtydoses.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixtydoses.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixtydoses.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixtydoses.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixtydoses.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixtydoses.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixtydoses.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixtydoses.wordpress.com/299/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=299&subd=sixtydoses&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sixtydoses.wordpress.com/2009/06/20/virtualbox-is-now-available-in-ports/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07d46e83836a7a790d4385eacadb5adf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">od</media:title>
		</media:content>
	</item>
		<item>
		<title>Fitter happier.</title>
		<link>http://sixtydoses.wordpress.com/2009/03/14/fitter-happier/</link>
		<comments>http://sixtydoses.wordpress.com/2009/03/14/fitter-happier/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 15:19:05 +0000</pubDate>
		<dc:creator>od</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[weblogic]]></category>
		<category><![CDATA[you]]></category>

		<guid isPermaLink="false">http://sixtydoses.wordpress.com/?p=257</guid>
		<description><![CDATA[Yea, there has been a lack of update. I was busy with WebLogic, and Devin.. oh well, he only writes material that meets a certain literary and relevancy standard and he is not that prolific. Lol. Guess you&#8217;ll never find him writing anything that will be tagged as rant  
Few things happened last week..
Weblogic [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=257&subd=sixtydoses&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Yea, there has been a lack of update. I was busy with WebLogic, and Devin.. oh well, he only writes <a href="http://sixtydoses.wordpress.com/2009/02/12/and-we-are-back-as-a-couple/">material that meets a certain literary and relevancy standard and he is not that prolific</a>. Lol. Guess you&#8217;ll never find him writing anything that will be tagged as rant <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Few things happened last week..</p>
<p><strong>Weblogic completed:</strong><br />
Am done with the project last week, which is cool. Haven&#8217;t gone through the UAT session with the users yet, so until they say &#8220;All&#8217;s good&#8221;, guess I&#8217;ll have to keep my fingers crossed. Weeee!!!!<br />
<br /></br><br />
<strong>I lost my handphone:</strong><br />
Yes, my cheap handphone. I can&#8217;t believe someone would want to steal it. I bought the handphone for about 300 &#8211; 400 bucks, so am surprised that someone would be so keen to steal it. How much does it worth really? 2 small packets of weed? Am not bothered about the phone. Well alright, I am bothered, because it costs money. But what I care the most is the data inside the phone. My contacts, my messages, heck I even have a few audio clips of my cat purring recorded with that phone. Oh well. Fuck you, thief.</p>
<p style="text-align:center;">
<p><span style="text-align:center; display: block;"><a href="http://sixtydoses.wordpress.com/2009/03/14/fitter-happier/"><img src="http://img.youtube.com/vi/FxnGaURm3B8/2.jpg" alt="" /></a></span></p>
<p style="text-align:center;">
<p></br><br />
<strong>Medical checkups:</strong><br />
I had a couple of medical checkups performed last Tuesday and Thursday. Last Tuesday I got all wired up for the <a href="http://en.wikipedia.org/wiki/Holter_monitor">holter</a> monitoring test. It was something like a 24 hours of ECG (electrocardiogram) to monitor the electrical activity of my heart. I couldn&#8217;t take showers during the procedure because it&#8217;ll damage the device. So yeah, am pretty happy with the fact that I don&#8217;t have to shower and not feeling guilty about it. Am just plain lazy sometimes.</p>
<p>And last Thursday, I got up very early in the morning and headed to the General Hospital to get my brain checked. It was a quick <a href="http://en.wikipedia.org/wiki/Eeg">EEG</a> (electroencephalography), prolly around 20 minutes where I had to blink my eyes numerous times, with bright light flickered directly on me for a few minutes and inhale/exhale profusely for 5 minutes which was tiring since am asthmatic. And oh my, I looked horrible with my hair glued on with all the wires. And I looked even worse after the guy pulled them out. I looked like a woman who is trying too hard to impress a guy by applying extra hair gel. You know the type of hair gel that will make your hair hard and stiff? Gah. I hate it.</p>
<p>I&#8217;ll be getting the results this April. I hope everything will be fine, since am always fine, and anyway I agreed to go through all of these medical procedures because my sister told me to. Nothing serious.<br />
<br /></br><br />
<strong>FreeBSD upgrade:</strong><br />
Yeah, finally! Upgraded to 7.1. I did it last Saturday, and I was thinking to update this blog on Sunday, but guess what, the update went fine until suddenly I failed to start the X server. Hmmm.. now that&#8217;s weird, because this was not the first time I did a FreeBSD upgrade, plus, this was just a minor version upgrade, so what could go wrong? Building world, kernel and installing them went perfectly well. I didn&#8217;t forget to run mergemaster, the machine booted up well. Spent a day changing the theme, and all of the sudden it failed (yeah, ironically it failed after I spent the whole day beautifying my desktop, why didn&#8217;t it fail sooner?). I realized that it failed just after I ran portupgrade to upgrade my Opera and Firefox. Probably the modules are not synced, am not sure.</p>
<p>I spent the next 48 hours running portupgrade numerous times, until I finally decided to rebuild perl, xorg and xfce4. But to my surprise it failed. I reinstalled my xfce4 and its gang one by one, so they&#8217;ll all run on the same version. Reboot the machine and voila, am back. Still, some of my installed packages are broken, so I had to fix them.</p>
<p>So they say, if it ain&#8217;t broken, don&#8217;t fix it. I could&#8217;ve just stick to FreeBSD 7.0 and save the 48 hours from the agonizing pain of troubleshooting my machine. But seriously, it was worth it. The performance is so much better, <a href="http://www.xfce.org/about/tour">XFCE 4.6</a> is brilliant with more new features and yes fellas.. <a href="http://sixtydoses.wordpress.com/2008/02/24/i-do-take-free-stuff/">flash 9</a> works <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align:center;">
<p><span style="text-align:center; display: block;"><a href="http://sixtydoses.wordpress.com/2009/03/14/fitter-happier/"><img src="http://img.youtube.com/vi/g7tvI6JCXD0/2.jpg" alt="" /></a></span></p>
<p style="text-align:center;">
<p></br><br />
<strong>He got engaged:</strong><br />
Yes, <a href="http://sixtydoses.wordpress.com/tag/you/">he</a> finally got engaged. <span style="text-decoration:line-through;">Amazing</span>Congratulations.</p>
Posted in Life, Tech Tagged: computer, freebsd, open source, rant, weblogic, you <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixtydoses.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixtydoses.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixtydoses.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixtydoses.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixtydoses.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixtydoses.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixtydoses.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixtydoses.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixtydoses.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixtydoses.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=257&subd=sixtydoses&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sixtydoses.wordpress.com/2009/03/14/fitter-happier/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07d46e83836a7a790d4385eacadb5adf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">od</media:title>
		</media:content>

		<media:content url="http://img.youtube.com/vi/FxnGaURm3B8/2.jpg" medium="image" />

		<media:content url="http://img.youtube.com/vi/g7tvI6JCXD0/2.jpg" medium="image" />
	</item>
		<item>
		<title>So it&#8217;s Gnome, Linus?</title>
		<link>http://sixtydoses.wordpress.com/2009/01/26/so-its-gnome-linus/</link>
		<comments>http://sixtydoses.wordpress.com/2009/01/26/so-its-gnome-linus/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 02:17:40 +0000</pubDate>
		<dc:creator>od</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://sixtydoses.wordpress.com/?p=219</guid>
		<description><![CDATA[So much of his Nazi comment that ruffles the feathers of GNOME community last time.
I have always been a loyal user of XFCE4, but if I had my druthers between Gnome and KDE, I&#8217;d prefer Gnome. KDE is nice, I love some of KDE apps, but imho, it&#8217;s kinda bloated. Very pretty, way prettier than [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=219&subd=sixtydoses&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>So much of his Nazi <a href="http://mail.gnome.org/archives/usability/2005-December/msg00022.html">comment</a> that ruffles the feathers of GNOME community last time.</p>
<p>I have always been a loyal user of XFCE4, but if I had my druthers between Gnome and KDE, I&#8217;d prefer Gnome. KDE is nice, I love some of KDE apps, but imho, it&#8217;s kinda bloated. Very pretty, way prettier than Gnome, but bloated. But of course, I&#8217;d go for Enlightenment if I want some real fancy stuff on my desktop.</p>
<p>Anyways, am not any DE/WM fanatic. I just love to keep my desktop clean and minimal.</p>
<p><a href="http://ubuntuforums.org/showpost.php?p=2216625&amp;postcount=9">I lol&#8217;ed</a>.<br />
<br /></br><br />
Source: <a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&amp;taxonomyName=Software&amp;articleId=9126619">Q&amp;A: Linux founder Linus Torvalds talks about open-source identity</a></p>
Posted in Tech Tagged: linux, open source <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixtydoses.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixtydoses.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixtydoses.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixtydoses.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixtydoses.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixtydoses.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixtydoses.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixtydoses.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixtydoses.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixtydoses.wordpress.com/219/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=219&subd=sixtydoses&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sixtydoses.wordpress.com/2009/01/26/so-its-gnome-linus/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07d46e83836a7a790d4385eacadb5adf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">od</media:title>
		</media:content>
	</item>
		<item>
		<title>WebLogic 10.3 on FreeBSD?</title>
		<link>http://sixtydoses.wordpress.com/2008/12/16/weblogic-103-on-freebsd/</link>
		<comments>http://sixtydoses.wordpress.com/2008/12/16/weblogic-103-on-freebsd/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 15:57:24 +0000</pubDate>
		<dc:creator>od</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[weblogic]]></category>

		<guid isPermaLink="false">http://sixtydoses.wordpress.com/?p=150</guid>
		<description><![CDATA[I wish.. lol.
Am very new to weblogic, so am pretty excited to try it on my FreeBSD at home. Well ok, I just managed to install it, but couldn&#8217;t get it run. Bleargh. The problem is with the LD_LIBRARY_PATH I think. There&#8217;s no native directory under &#60;WL_HOME&#62;/server, so it&#8217;ll complain about the missing path when [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=150&subd=sixtydoses&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I wish.. lol.</p>
<p>Am very new to weblogic, so am pretty excited to try it on my FreeBSD at home. Well ok, I just managed to install it, but couldn&#8217;t get it run. Bleargh. The problem is with the LD_LIBRARY_PATH I think. There&#8217;s no native directory under &lt;WL_HOME&gt;/server, so it&#8217;ll complain about the missing path when you try to start the domain or node manager. Pfftttt. I&#8217;d love to know how to fix this <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>But anyways, here&#8217;s how to install WebLogic 10g on FreeBSD 7. Just installing it, but it doesn&#8217;t work lol. I don&#8217;t know why I even bother writing this.</p>
<p>1 &#8211; FIrst of all, download the installer from the oracle website. Choose HP-UX as the operating system as that&#8217;ll provide you with a generic jar installer.<br />
<a href="http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html" target="_self">http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html</a></p>
<p>2 &#8211; While it&#8217;s downloading, install eclipse from the port.<br />
<em>cd /usr/ports/java/eclipse &amp;&amp; make install clean</em></p>
<p>3 &#8211; Install eclipse WTP. Get it from here:<br />
<a href="http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R2.0/R-2.0.3-20080710044639/wtp-R-2.0.3-20080710044639.zip" target="_self">http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R2.0/R-2.0.3-20080710044639/wtp-R-2.0.3-20080710044639.zip</a></p>
<p>Place the zip file at /usr/local and unzip it. It&#8217;ll place all the extracted files in the right directory.</p>
<p>4 &#8211; After you&#8217;re done with eclipse, you&#8217;re ready to install weblogic. Am performing this as a non root user.</p>
<p>I use diablo java, so running java -jar server103_generic.jar alone will not work.</p>
<p>My java -version:<br />
<em>java version &#8220;1.5.0&#8243;<br />
Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01)<br />
Java HotSpot(TM) 64-Bit Server VM (build diablo-1.5.0_07-b01, mixed mode)</em></p>
<p>So execute the installer using sun jdk directory to get it running:<br />
<em>/usr/local/jdk1.6.0/bin/java -Dos.name=unix -jar server103_generic.jar</em></p>
<p>You&#8217;ll have to specify the Dos unix name, else you&#8217;ll get the insufficient disk space error, which is very annoying when you actually have tons of free space. You may get lucky with this and the installation will end successfully. As for me, it stuck at 74% while creating the sample domain.</p>
<p>$ <em>/usr/local/jdk1.6.0/bin/java -Dos.name=unix -jar server103_generic.jar<br />
Extracting 0%&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.100%<br />
Exception in thread &#8220;Thread-14&#8243; java.lang.OutOfMemoryError: Java heap space<br />
at java.io.BufferedOutputStream.&lt;init&gt;(BufferedOutputStream.java:59)<br />
at java.io.BufferedOutputStream.&lt;init&gt;(BufferedOutputStream.java:42)<br />
at com.bea.plateng.common.util.JarHelper.extract(JarHelper.java:790)<br />
at com.bea.plateng.common.util.JarHelper.extract(JarHelper.java:676)<br />
at com.bea.plateng.common.util.JarHelper.extract(JarHelper.java:634)<br />
at com.bea.plateng.domain.TemplateImporter.generate(TemplateImporter.java:237)<br />
at com.bea.plateng.domain.script.ScriptExecutor$2.run(ScriptExecutor.java:2785)</em></p>
<p>The error was out of memory exception, so I decided to reinstall it. But first I have to uninstall it first since weblogic detected that it has already been installed at the target directory.I run the installer with the following command:<br />
<em>/usr/local/jdk1.6.0/bin/java -Xmx2G -Dos.name=unix -jar server103_generic.jar</em></p>
<p>Installation complete!</p>
<p>Alright, now the installation is done, you might wanna try to start the sample domain.</p>
<p>Ahah! Now this is the part where I got unlucky.</p>
<p>It complains that the port is being used, when it&#8217;s not! Hmmmmphhhhh!</p>
<p><em>&lt;Dec 13, 2008 12:25:25 PM MYT&gt; &lt;Notice&gt; &lt;Security&gt; &lt;BEA-090169&gt; &lt;Loading trusted certificates from the jks keystore file /usr/local/jdk1.6.0/jre/lib/security/cacerts.&gt;<br />
&lt;Dec 13, 2008 12:25:29 PM MYT&gt; &lt;Error&gt; &lt;Server&gt; &lt;BEA-002606&gt; &lt;Unable to create a server socket for listening on channel &#8220;MedRec Local Network Channel&#8221;. The address 127.0.0.1 might be incorrect or another process is using port 7011: java.net.BindException: Can&#8217;t assign requested address.&gt;<br />
&lt;Dec 13, 2008 12:25:29 PM MYT&gt; &lt;Error&gt; &lt;Server&gt; &lt;BEA-002606&gt; &lt;Unable to create a server socket for listening on channel &#8220;Default&#8221;. The address 192.168.0.1 might be incorrect or another process is using port 7011: java.net.BindException: Can&#8217;t assign requested address.&gt;<br />
&lt;Dec 13, 2008 12:25:29 PM MYT&gt; &lt;Error&gt; &lt;Server&gt; &lt;BEA-002606&gt; &lt;Unable to create a server socket for listening on channel &#8220;DefaultSecure&#8221;. The address 192.168.0.1 might be incorrect or another process is using port 7012: java.net.BindException: Can&#8217;t assign requested address.&gt;<br />
&lt;Dec 13, 2008 12:25:29 PM MYT&gt; &lt;Emergency&gt; &lt;Security&gt; &lt;BEA-090087&gt; &lt;Server failed to bind to the configured Admin port. The port may already be used by another process.&gt;<br />
&lt;Dec 13, 2008 12:25:29 PM MYT&gt; &lt;Critical&gt; &lt;WebLogicServer&gt; &lt;BEA-000362&gt; &lt;Server failed. Reason: Server failed to bind to any usable port. See preceeding log message for details.&gt;<br />
&lt;Dec 13, 2008 12:25:29 PM MYT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to FAILED&gt;<br />
&lt;Dec 13, 2008 12:25:29 PM MYT&gt; &lt;Error&gt; &lt;WebLogicServer&gt; &lt;BEA-000383&gt; &lt;A critical service failed. The server will shut itself down&gt;<br />
&lt;Dec 13, 2008 12:25:29 PM MYT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to FORCE_SHUTTING_DOWN&gt;<br />
Stopping PointBase server&#8230;<br />
PointBase server stopped.</em></p>
<p>Well actually there are other errors came out before that but am too lazy to look at it. Lolz.</p>
<p>Now if you try to create a domain, you&#8217;ll get the shared library path error:</p>
<p><em>./config.sh: Don&#8217;t know how to set the shared library path for FreeBSD.<br />
Exception in thread &#8220;AWT-EventQueue-0&#8243; java.lang.NullPointerException<br />
at java.awt.Container.createHierarchyEvents(Container.java:1366)<br />
at java.awt.Container.createHierarchyEvents(Container.java:1366)<br />
at java.awt.Container.createHierarchyEvents(Container.java:1366)<br />
at java.awt.Container.createHierarchyEvents(Container.java:1366)<br />
at java.awt.Container.addImpl(Container.java:1082)<br />
at java.awt.Container.add(Container.java:903)<br />
at com.bea.plateng.wizard.GUIContext$8.run(GUIContext.java:480)<br />
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)<br />
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)<br />
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)<br />
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)<br />
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)<br />
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)<br />
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)<br />
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)</em></p>
<p>Same goes if you try to start a node manager.</p>
<p>Ah well.. think I&#8217;ll spare some other time playing around with this. Doing weblogic makes me miss websphere. Lol.</p>
Posted in Tech Tagged: freebsd, howto, open source, weblogic <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixtydoses.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixtydoses.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixtydoses.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixtydoses.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixtydoses.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixtydoses.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixtydoses.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixtydoses.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixtydoses.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixtydoses.wordpress.com/150/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=150&subd=sixtydoses&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sixtydoses.wordpress.com/2008/12/16/weblogic-103-on-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07d46e83836a7a790d4385eacadb5adf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">od</media:title>
		</media:content>
	</item>
		<item>
		<title>Back them up.</title>
		<link>http://sixtydoses.wordpress.com/2008/11/17/back-them-up/</link>
		<comments>http://sixtydoses.wordpress.com/2008/11/17/back-them-up/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 13:07:52 +0000</pubDate>
		<dc:creator>od</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://sixtydoses.wordpress.com/?p=105</guid>
		<description><![CDATA[I learned my lesson the hard way. Last 2 years I bought a 120gb WD hard drive and used it for about 6 months before it suddenly died on me. 6 months, it was still covered by the warranty, but I chose not to return it for an exchange of a new one. I have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=105&subd=sixtydoses&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I learned my lesson the hard way. Last 2 years I bought a 120gb WD hard drive and used it for about 6 months before it suddenly died on me. 6 months, it was still covered by the warranty, but I chose not to return it for an exchange of a new one. I have tons of data inside but out of all data, I just need prolly around 30% of it. The rest, I can say goodbye with tears in my eyes. I still have the hard disk, kept nicely inside my wardrobe. When I have the chance, I&#8217;ll bring it back to live!</p>
<p>I love Maxtor hard drive. I still have one old Maxtor hdd that I&#8217;ve been using for almost 8 years running. In fact I used to have 2 of them. One has failed, but it is completely acceptable since it has served me for over 6 years.</p>
<p>Currently at work am preparing backup scripts for some servers. I find that backing up the entire directory of windows virtual machine is kinda annoying. Am thinking of what would be the best way to shutdown windows without using the force flag? Urgh. I wish I can just init 0.</p>
<p>At home I use a simple script that I wrote to backup directories. Basically what it does is it checks the content of both source and target directories, and any files/directories that are not available at the target location will be copied, creating a duplicate copy of the original directory. It&#8217;ll also generate a log (diff.log) to record what files that have been copied over. I use it to backup log files, nothing in giga size.</p>
<div style="background-color:#f8e0ec;width:800px;">
<blockquote><p>#!/usr/local/bin/bash</p>
<p>SOURCE=&#8221;$HOME/personal/script/cmp2dirs/diffmv/cmp2&#8243;<br />
DEST=&#8221;$HOME/personal/script/cmp2dirs/diffmv/temp&#8221;<br />
sSOURCE=`echo $SOURCE | awk -F/ &#8216;{print $NF}&#8217;`<br />
sDEST=`echo $DEST | awk -F/ &#8216;{print $NF}&#8217;`<br />
DATE=`date +&#8221;%v&#8221;`</p>
<p>echo &#8220;Directories comparison on $DATE&#8221; &gt;&gt; diff.log</p>
<p>diff -rq $SOURCE $DEST &gt;&gt; diff.log</p>
<p>s1=&#8221;Directories comparison on $DATE&#8221;<br />
s2=`sed &#8216;$!d&#8217; diff.log`</p>
<p>if [ "$s1" != "$s2" ]; then<br />
sed -n &#8216;/&#8217;&#8221;$date&#8221;&#8216;/,$p&#8217; diff.log &gt; copy.out</p>
<p>echo &#8220;Directory(s)/file(s) copied from $sSOURCE to $sDEST:&#8221; &gt;&gt; diff.log<br />
f1=`sed -n &#8216;/^[Only in ]* /s///;s/:.///p&#8217; copy.out`<br />
f2=`sed -n &#8216;/Files/s/^.*Files.(.*) and.*$/1/p&#8217; copy.out`</p>
<p>IFS=&#8217;<br />
&#8216;<br />
cp -vR $f1 $f2 $DEST &gt;&gt; diff.log</p>
<p>else<br />
echo &#8220;Directory $sSOURCE is unchanged since yesterday.&#8221; &gt;&gt; diff.log<br />
fi</p>
<p>echo &gt;&gt; diff.log<br />
echo &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8221; &gt;&gt; diff.log<br />
echo &gt;&gt; diff.log</p>
<p>exit</p></blockquote>
</div>
<p>The output of diff.log will be something like this:</p>
<div style="background-color:#efeffb;width:800px;">
<blockquote><p>Directories comparison on 15-Nov-2008<br />
Only in /home/od/personal/script/cmp2dirs/diffmv/cmp2: white space 2<br />
Directory(s)/file(s) copied from cmp2 to temp:<br />
/home/od/personal/script/cmp2dirs/diffmv/cmp2/white space 2 -&gt; ./temp/white space 2<br />
/home/od/personal/script/cmp2dirs/diffmv/cmp2/white space 2/wsp -&gt; ./temp/white space 2/wsp</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Directories comparison on 16-Nov-2008<br />
Directory cmp2 is unchanged since yesterday.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Directories comparison on 17-Nov-2008<br />
Only in /home/od/personal/script/cmp2dirs/diffmv/cmp2: ghi<br />
Directory(s)/file(s) copied from cmp2 to temp:<br />
/home/od/personal/script/cmp2dirs/diffmv/cmp2/ghi -&gt; ./temp/ghi</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p></blockquote>
</div>
Posted in Tech Tagged: bash, computer, open source, script <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixtydoses.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixtydoses.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixtydoses.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixtydoses.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixtydoses.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixtydoses.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixtydoses.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixtydoses.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixtydoses.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixtydoses.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=105&subd=sixtydoses&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sixtydoses.wordpress.com/2008/11/17/back-them-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07d46e83836a7a790d4385eacadb5adf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">od</media:title>
		</media:content>
	</item>
		<item>
		<title>If you&#8217;re sleepy, just sleep, don&#8217;t do your work.</title>
		<link>http://sixtydoses.wordpress.com/2008/03/25/if-youre-sleepy-just-sleep-dont-do-your-work/</link>
		<comments>http://sixtydoses.wordpress.com/2008/03/25/if-youre-sleepy-just-sleep-dont-do-your-work/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 09:08:33 +0000</pubDate>
		<dc:creator>od</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sixtydoses.wordpress.com/?p=26</guid>
		<description><![CDATA[I was so damn sleepy last night that I could hardly remember what I did before I went off to bed, but I do remember one thing &#8211; I switched off my external hdd without checking if I have safely unmount it from Windows. Actually I was too lazy to check and I forced myself [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=26&subd=sixtydoses&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was so damn sleepy last night that I could hardly remember what I did before I went off to bed, but I do remember one thing &#8211; I switched off my external hdd without checking if I have safely unmount it from Windows. Actually I was too lazy to check and I forced myself to believe that I have unmounted it.</p>
<p>Back in the office this morning I plugged in the hdd, and surprise, surprise.. Ubuntu recognized only one of the partition (I have two, &#8216;Work&#8217; and &#8216;Personal&#8217;). It gave me an error stating that it failed to mount due to unclean shutdown.</p>
<p>I remember having the similar error with the same hdd, even worse actually since both partitions failed to be mounted. But that happened after I borrowed my hdd to a colleague who is running on Vista, and it is pretty common to have that error once you try to boot it back on any *nix system. Back then I was using freebsd, and I normally mount it manually using the &#8220;mount -t ntfs /dev/da0s5 /mnt/hdd&#8221; command. ntfsfix didn&#8217;t solve the error, but ntfs-3g worked like a charm.</p>
<p>And so I tried to mount it manually on Ubuntu using ntfs-3g command, but it gave me this error:<br />
fuse: mount failed: Invalid argument</p>
<p>I installed ntfsprogs and tried to fix with ntfsfix. It completed successfully, but my attempt to mount the partition still failed.</p>
<p>I mounted it back on Windows, and checked on the disk management. While it recognized my &#8216;Work&#8217; partition as ntfs, my &#8216;Personal&#8217; partition was recognized as raw and unlabeled. So I labeled it, and run chkdsk against the volume. Mount it back on Ubuntu, and it worked! Yay <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Moral of the story is - Don&#8217;t work when you&#8217;re sleepy.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sixtydoses.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sixtydoses.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixtydoses.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixtydoses.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixtydoses.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixtydoses.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixtydoses.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixtydoses.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixtydoses.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixtydoses.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixtydoses.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixtydoses.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=26&subd=sixtydoses&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sixtydoses.wordpress.com/2008/03/25/if-youre-sleepy-just-sleep-dont-do-your-work/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07d46e83836a7a790d4385eacadb5adf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">od</media:title>
		</media:content>
	</item>
		<item>
		<title>osx86 on vmware server.</title>
		<link>http://sixtydoses.wordpress.com/2008/03/20/osx86-on-vmware-server/</link>
		<comments>http://sixtydoses.wordpress.com/2008/03/20/osx86-on-vmware-server/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 10:53:10 +0000</pubDate>
		<dc:creator>od</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://sixtydoses.wordpress.com/2008/03/20/osx86-on-vmware-server/</guid>
		<description><![CDATA[My 3rd attempt in installing osx86 onto my vmware server ended successfully. I know there are a number of guides/howto on this topic, but think I&#8217;ll just post the settings that I used in order to get it work.
Machine: DELL Inspiron 640m
Platform: Ubuntu Gutsy
Console: VMWare Server 1.0.4
osx86 version: Jas 10.4.8 AMD Intel SSE2 SSE3
References: PCWiz Computer and AsenDURE
Note: This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=24&subd=sixtydoses&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>My 3rd attempt in installing osx86 onto my vmware server ended successfully. I know there are a number of guides/howto on this topic, but think I&#8217;ll just post the settings that I used in order to get it work.</p>
<p>Machine: DELL Inspiron 640m<br />
Platform: Ubuntu Gutsy<br />
Console: VMWare Server 1.0.4<br />
osx86 version: Jas 10.4.8 AMD Intel SSE2 SSE3<br />
References: <a HREF="http://pcwizcomputer.com/index.php?option=com_content&amp;task=view&amp;id=36&amp;Itemid=32">PCWiz Computer</a> and <a HREF="http://asendure.wordpress.com/2006/10/01/osx86-how-to-install-mac-os-x-on-vmware-server-amd-64/">AsenDURE</a></p>
<p>Note: This is just for fun/test purposes.</p>
<p>Virtual Machine Configuration: Custom<br />
Guest Operating System: Other &#8211; FreeBSD<br />
No. of processors: One<br />
Access Rights: Make this virtual machine private &#8211; checked<br />
Memory: 512MB<br />
I/O Adapter Types: LSI Logic<br />
Disk: Create a new virtual disk<br />
Virtual Disk Type: IDE<br />
Network Connection: Use host-only networking</p>
<p>My vmx file:</p>
<p>##########################################################</p>
<p>config.version = &#8220;8&#8243;<br />
virtualHW.version = &#8220;4&#8243;<br />
scsi0.present = &#8220;FALSE&#8221;<br />
scsi0.virtualDev = &#8220;lsilogic&#8221;<br />
memsize = &#8220;512&#8243;<br />
ide0:0.present = &#8220;TRUE&#8221;<br />
ide0:0.fileName = &#8220;OSX.vmdk&#8221;<br />
ide0:0.writeThrough = &#8220;TRUE&#8221;<br />
ide1:0.present = &#8220;TRUE&#8221;<br />
ide1:0.fileName = &#8220;/dev/scd0&#8243;<br />
ide1:0.deviceType = &#8220;cdrom-raw&#8221;<br />
floppy0.startConnected = &#8220;FALSE&#8221;<br />
floppy0.fileName = &#8220;/dev/fd0&#8243;<br />
Ethernet0.present = &#8220;TRUE&#8221;<br />
Ethernet0.connectionType = &#8220;hostonly&#8221;<br />
Ethernet0.virtualDev = &#8220;vlance&#8221;<br />
displayName = &#8220;OSX&#8221;<br />
guestOS = &#8220;freebsd&#8221;<br />
priority.grabbed = &#8220;normal&#8221;<br />
priority.ungrabbed = &#8220;normal&#8221;<br />
powerType.powerOff = &#8220;hard&#8221;<br />
powerType.powerOn = &#8220;hard&#8221;<br />
powerType.suspend = &#8220;hard&#8221;<br />
powerType.reset = &#8220;hard&#8221;<br />
paevm=&#8221;true&#8221;</p>
<p>floppy0.present = &#8220;FALSE&#8221;</p>
<p>##########################################################</p>
<p>Previously on my 2nd attempt I mounted the osx86 iso file using the mount iso command, and point the CD-ROM to the mount point but it just didn&#8217;t work. So I skipped the hassle and burned it straigt onto a DVD.</p>
<p>With the above setting I don&#8217;t have any problem in booting the DVD. I did configure the VM BIOS though just to improve the performance.</p>
<p>Boot the CD, and the launcher will start. After creating a partition using the Disk Utility, I relaunched the installer: Installer &gt; Restart.</p>
<p>Upon rebooting, you may or may not get a &#8216;b0 error&#8217;. It depends on your boot sequence setting. To solve this, just go to BIOS and set your CDROM as the first boot device. F10, and you&#8217;ll get back to the launcher again. This time, you can proceed with the installation. At the end of the installation, the vm will restart. If all goes well, Mac OS X should boot perfectly.</p>
<p>Done <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><a HREF="http://sixtydoses.files.wordpress.com/2008/03/osx.png" TITLE="osx86."><img SRC="http://sixtydoses.files.wordpress.com/2008/03/osx.png" ALT="osx86." /></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sixtydoses.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sixtydoses.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixtydoses.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixtydoses.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixtydoses.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixtydoses.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixtydoses.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixtydoses.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixtydoses.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixtydoses.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixtydoses.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixtydoses.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=24&subd=sixtydoses&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sixtydoses.wordpress.com/2008/03/20/osx86-on-vmware-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07d46e83836a7a790d4385eacadb5adf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">od</media:title>
		</media:content>
	</item>
		<item>
		<title>Install WAS Base/ND v6.1.0 on Ubuntu Gutsy.</title>
		<link>http://sixtydoses.wordpress.com/2008/03/14/install-was-basend-v610-on-ubuntu-gutsy/</link>
		<comments>http://sixtydoses.wordpress.com/2008/03/14/install-was-basend-v610-on-ubuntu-gutsy/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 06:07:11 +0000</pubDate>
		<dc:creator>od</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://sixtydoses.wordpress.com/?p=15</guid>
		<description><![CDATA[There are 2 things that need to be configured in order to install WebSphere Application Server Base/ND on Ubuntu Gutsy successfully &#8211; tested using WAS Base/ND v6.1.
1 &#8211; Ubuntu Gutsy links sh to dash instead of bash. There won&#8217;t be any error during the installation of WAS itself, but you will not be able to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=15&subd=sixtydoses&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There are 2 things that need to be configured in order to install WebSphere Application Server Base/ND on Ubuntu Gutsy successfully &#8211; tested using WAS Base/ND v6.1.</p>
<p>1 &#8211; Ubuntu Gutsy links sh to dash instead of bash. There won&#8217;t be any error during the installation of WAS itself, but you will not be able to create any profile, so it&#8217;s useless. Two ways to fix this, either remove the symlink and relink it to bash, or change the shebang line inside the WAS install script from #!/bin/sh to #!/bin/bash. Changing the default shell from dash to bash may cause your system slower since dash is lighter than bash, but I think it is hardly noticeable. More info at <a HREF="https://wiki.ubuntu.com/DashAsBinSh">https://wiki.ubuntu.com/DashAsBinSh</a>.</p>
<p>2 &#8211; This applies to WAS ND, I didn&#8217;t encounter any issue with Base. If you&#8217;re having a problem in getting the dmgr server up, and the error in the SystemOut.log is something like this:</p>
<p>&#8230;</p>
<p>[3/12/08 15:38:06:539 MYT] 0000000a LogAdapter    E   DCSV9403E: Received an illegal configuration argument. Parameter<br />
MulticastInterface, value: 127.0.1.1. Exception is java.lang.Exception: Network Interface 127.0.1.1 was not found in<br />
local machine network interface list. Make sure that the NetworkInterface property is properly configured!<br />
at com.ibm.rmm.mtl.transmitter.Config.&lt;init&gt;(Config.java:238)<br />
at com.ibm.rmm.mtl.transmitter.MTransmitter.&lt;init&gt;(MTransmitter.java:192)<br />
at com.ibm.rmm.mtl.transmitter.MTransmitter.getInstance(MTransmitter.java:406)<br />
at com.ibm.rmm.mtl.transmitter.MTransmitter.getInstance(MTransmitter.java:345)<br />
at com.ibm.htmt.rmm.RMM.getInstance(RMM.java:128)<br />
at com.ibm.htmt.rmm.RMM.getInstance(RMM.java:189)<br />
at com.ibm.ws.dcs.vri.transportAdapter.rmmImpl.rmmAdapter.RmmAdapter.&lt;init&gt;(RmmAdapter.java:218)<br />
at com.ibm.ws.dcs.vri.transportAdapter.rmmImpl.rmmAdapter.MbuRmmAdapter.&lt;init&gt;(MbuRmmAdapter.java:76)<br />
at com.ibm.ws.dcs.vri.transportAdapter.rmmImpl.rmmAdapter.RmmAdapter.getInstance(RmmAdapter.java:133)<br />
at com.ibm.ws.dcs.vri.transportAdapter.TransportAdapter.getInstance(TransportAdapter.java:161)<br />
at com.ibm.ws.dcs.vri.common.impl.DCSCoreStackImpl.&lt;init&gt;(DCSCoreStackImpl.java:178)<br />
at com.ibm.ws.dcs.vri.common.impl.DCSCoreStackImpl.getInstance(DCSCoreStackImpl.java:167)<br />
at com.ibm.ws.dcs.vri.common.impl.DCSStackFactory.getCoreStack(DCSStackFactory.java:92)<br />
at com.ibm.ws.dcs.vri.DCSImpl.getCoreStack(DCSImpl.java:84)<br />
at com.ibm.ws.hamanager.coordinator.impl.DCSPluginImpl.&lt;init&gt;(DCSPluginImpl.java:238)<br />
at com.ibm.ws.hamanager.coordinator.impl.CoordinatorImpl.&lt;init&gt;(CoordinatorImpl.java:322)<br />
at com.ibm.ws.hamanager.coordinator.corestack.CoreStackFactoryImpl.createDefaultCoreStack(CoreStackFactoryImpl<br />
.java:82)</p>
<p>&#8230;</p>
<p>Chance is you have not assigned an IP address for your hostname, except for the default 127.* address. If this is the case you won&#8217;t be able to federate nodes to the Dmgr as well. So edit your hosts file. Since Edgy the hostname was split to 127.0.1.1, so you will see 127.0.0.1 is assigned to a localhost, and 127.0.1.1 to your hostname. Assign your hostname to 127.0.0.1 as well, and problem solved. But if you plan to do some nodes federation, then assign an IP for your hostname. Your hosts file should look something like this:</p>
<p>127.0.0.1 localhost	YourHostName<br />
127.0.1.1 YourHostName</p>
<p>Done.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sixtydoses.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sixtydoses.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixtydoses.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixtydoses.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixtydoses.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixtydoses.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixtydoses.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixtydoses.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixtydoses.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixtydoses.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixtydoses.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixtydoses.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=15&subd=sixtydoses&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sixtydoses.wordpress.com/2008/03/14/install-was-basend-v610-on-ubuntu-gutsy/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07d46e83836a7a790d4385eacadb5adf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">od</media:title>
		</media:content>
	</item>
	</channel>
</rss>