<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>Fun Things in Life</title>
	<link>http://propaso.com/blog</link>
	<description>What’s Life without Fun?</description>
	<pubDate>Sun, 02 Aug 2009 22:43:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>Princess Charmaine&#8217;s Honey Store</title>
		<link>http://propaso.com/blog/?p=55</link>
		<comments>http://propaso.com/blog/?p=55#comments</comments>
		<pubDate>Sun, 02 Aug 2009 22:43:57 +0000</pubDate>
		<dc:creator>linus</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://propaso.com/blog/?p=55</guid>
		<description><![CDATA[Hey all, princess Charmaine now has a small honey store (http://store.ourfeistyprincess.com/).  As we are all new in running a online store, please bare with us if we made any mistake.
]]></description>
			<content:encoded><![CDATA[<p>Hey all, princess Charmaine now has a small honey <a href="http://store.ourfeistyprincess.com/" title="Princess Charmaine's Honey Store">store (http://store.ourfeistyprincess.com/)</a>.  As we are all new in running a online store, please bare with us if we made any mistake.</p>
]]></content:encoded>
			<wfw:commentRss>http://propaso.com/blog/?feed=rss2&amp;p=55</wfw:commentRss>
		</item>
		<item>
		<title>Feisty Char Needs Bullets to Fight!</title>
		<link>http://propaso.com/blog/?p=54</link>
		<comments>http://propaso.com/blog/?p=54#comments</comments>
		<pubDate>Wed, 29 Apr 2009 04:29:58 +0000</pubDate>
		<dc:creator>linus</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://propaso.com/blog/?p=54</guid>
		<description><![CDATA[I seldom do this.  In fact, I never did it before.

Please have a look at her blog and help if you can.
]]></description>
			<content:encoded><![CDATA[<p>I seldom do this.  In fact, I never did it before.</p>
<p><a href="http://ourfeistyprincess.blogspot.com/" title="Feisty Char needs bullets to fight!"><img src="http://shootingpixie.com/wp-content/themes/nishita/i/charbanner.jpg" alt="Feisty Char needs bullets to fight!" vspace="5" width="352" border="0" height="71" hspace="5" /></a></p>
<p>Please have a look at her blog and help if you can.</p>
]]></content:encoded>
			<wfw:commentRss>http://propaso.com/blog/?feed=rss2&amp;p=54</wfw:commentRss>
		</item>
		<item>
		<title>Making Compiz on Ubuntu 9.04 Work in X3100 Display Chips</title>
		<link>http://propaso.com/blog/?p=53</link>
		<comments>http://propaso.com/blog/?p=53#comments</comments>
		<pubDate>Tue, 28 Apr 2009 03:10:11 +0000</pubDate>
		<dc:creator>linus</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://propaso.com/blog/?p=53</guid>
		<description><![CDATA[Finally I backed up all my files and installed Ubuntu 9.04 (Jaunty Jackalope).  When my flashy new
system boot up, I tried to set my &#8220;Visual Effect&#8221; to &#8220;Extra&#8221; but it keeps failing.
After a little bit of googling, I found a solution on Ubuntu Forum which resolve the problem by:

 Edit /usr/bin/compiz file
$ sudo vi /usr/bin/compiz
Go to [...]]]></description>
			<content:encoded><![CDATA[<p>Finally I backed up all my files and installed <a href="http://releases.ubuntu.com/jaunty/" title="Jaunty Jackalope">Ubuntu 9.04 (Jaunty Jackalope)</a>.  When my flashy new<br />
system boot up, I tried to set my &#8220;Visual Effect&#8221; to &#8220;Extra&#8221; but it keeps failing.</p>
<p>After a little bit of googling, I found a solution on <a href="http://ubuntuforums.org/showthread.php?p=7157293#post7157293" title="Ubuntu Forum">Ubuntu Forum</a> which resolve the problem by:</p>
<ol>
<li> Edit /usr/bin/compiz file<br />
<code>$ sudo vi /usr/bin/compiz</code></li>
<li>Go to line 69 (in vi, just do &#8220;<code>:69</code>&#8221; and press enter)</li>
<li>Comment out line 69, by putting a &#8220;<code>#</code>&#8221; sign in front of the line.</li>
</ol>
<p>Then you can logout the current user and login.  You should now be able to set your &#8220;Visual Effect&#8221;!!</p>
]]></content:encoded>
			<wfw:commentRss>http://propaso.com/blog/?feed=rss2&amp;p=53</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu 9.04&#8230; Almost</title>
		<link>http://propaso.com/blog/?p=52</link>
		<comments>http://propaso.com/blog/?p=52#comments</comments>
		<pubDate>Mon, 06 Apr 2009 00:19:26 +0000</pubDate>
		<dc:creator>linus</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://propaso.com/blog/?p=52</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p align="center"><script src="http://www.ubuntu.com/files/countdown/display.js" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://propaso.com/blog/?feed=rss2&amp;p=52</wfw:commentRss>
		</item>
		<item>
		<title>VMWare Kep Map for HP 8501p Laptop Ubuntu 8.10</title>
		<link>http://propaso.com/blog/?p=51</link>
		<comments>http://propaso.com/blog/?p=51#comments</comments>
		<pubDate>Fri, 27 Mar 2009 03:45:07 +0000</pubDate>
		<dc:creator>linus</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://propaso.com/blog/?p=51</guid>
		<description><![CDATA[Problem: On my HP 8510p Laptop running Ubuntu 8.10, the key mapping for VMWare is screwed up.
Solution: Simple solution is to do 
$ echo 'xkeymap.nokeycodeMap = true&#8217; &#62; ~/.vmware/config
]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong> On my HP 8510p Laptop running Ubuntu 8.10, the key mapping for VMWare is screwed up.</p>
<p><strong>Solution: </strong>Simple solution is to do <code></code></p>
<p><code>$ echo 'xkey<span class="searchterm3">map</span>.no<span class="searchterm2">key</span>code<span class="searchterm3">Map</span> = true&#8217; &gt; ~/.<span class="searchterm4">vmware</span>/config</code></p>
]]></content:encoded>
			<wfw:commentRss>http://propaso.com/blog/?feed=rss2&amp;p=51</wfw:commentRss>
		</item>
		<item>
		<title>Making Canon LBP3300 Work with Ubuntu</title>
		<link>http://propaso.com/blog/?p=50</link>
		<comments>http://propaso.com/blog/?p=50#comments</comments>
		<pubDate>Tue, 17 Mar 2009 01:28:19 +0000</pubDate>
		<dc:creator>linus</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://propaso.com/blog/?p=50</guid>
		<description><![CDATA[Problem: In my office I have a Canon LBP3300 with a network card configured.  It used to run with a Windows machine as a print server and now that it has a network card, I would like to print to it.  Apparently. it is not as simple as I think it would be on Ubuntu.
Solution: [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong> In my office I have a Canon LBP3300 with a network card configured.  It used to run with a Windows machine as a print server and now that it has a network card, I would like to print to it.  Apparently. it is not as simple as I think it would be on Ubuntu.</p>
<p><strong>Solution:</strong> The installation steps for those who are interested:</p>
<ol>
<li>Is easier to do everything as root<br />
<code>$ sudo -i</code></li>
<li>Get the driver from Canon
<p align="left"><code># wget http://software.canon-europe.com/files/soft31118/software/CAPTDRV180.tar.gz</code></p>
</li>
<li>Untar and install the driver
<p align="left"><code># tar xf CAPTDRV180.tar.gz<br />
# cd CANON_UK/Driver/Debian<br />
# dpkg -i cndrvcups-capt_1.80-1_i386.deb cndrvcups-common_1.80-1_i386.deb<br />
# /etc/init.d/cups stop<br />
# mkdir /var/ccpd<br />
# mkdir /var/captmon<br />
# mkfifo /var/ccpd/fifo0<br />
# chmod 777 /var/ccpd/fifo0<br />
# chown root /var/ccpd/fifo0<br />
# chmod -R a+rX /usr/share/cups/model<br />
# /usr/sbin/lpadmin -p LBP3300 -m CNCUPSLBP3300CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E<br />
# /usr/sbin/ccpdadmin -p LBP3300 -o net:192.168.1.200</code></li>
<li>Now apparmour in Ubuntu create a bit of problem for the driver and need to be addressed:
<p align="left"><code># vi /etc/apparmor.d/usr.sbin.cupsd----- /etc/apparmor.d/usr.sbin.cupsd -----<br />
/var/run/cups/ rw,<br />
/var/run/cups/** rw,<br />
/var/spool/cups/ rw,<br />
/var/spool/cups/** rw,<br />
# needed for Canon CAPT driver ### &lt;-----insert<br />
/var/ccpd/** rw, ### &lt;-----insert<br />
# third-party printer drivers; no known structure here<br />
/opt/** rix,<br />
----- /etc/apparmor.d/usr.sbin.cupsd -----</code></li>
<li>Start the services which we stopped before
<p align="left"><code># /etc/init.d/cups start<br />
# /etc/init.d/ccpd start<br />
# /etc/init.d/apparmor restart</code></li>
<li>You should be fine from here.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://propaso.com/blog/?feed=rss2&amp;p=50</wfw:commentRss>
		</item>
		<item>
		<title>Apple Website is Having a Problem??</title>
		<link>http://propaso.com/blog/?p=49</link>
		<comments>http://propaso.com/blog/?p=49#comments</comments>
		<pubDate>Tue, 03 Mar 2009 13:55:37 +0000</pubDate>
		<dc:creator>linus</dc:creator>
		
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://propaso.com/blog/?p=49</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://propaso.com/blog/wp-content/uploads/2009/03/apple-web-error.jpg" title="Apple.com Error"><img src="http://propaso.com/blog/wp-content/uploads/2009/03/apple-web-error.jpg" alt="Apple.com Error" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://propaso.com/blog/?feed=rss2&amp;p=49</wfw:commentRss>
		</item>
		<item>
		<title>Install Oracle 9i (9.2.0.4) on CentOS 4.7</title>
		<link>http://propaso.com/blog/?p=46</link>
		<comments>http://propaso.com/blog/?p=46#comments</comments>
		<pubDate>Thu, 05 Feb 2009 07:34:21 +0000</pubDate>
		<dc:creator>linus</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://propaso.com/blog/?p=46</guid>
		<description><![CDATA[Problem: Oracle 9i is old but still there are people who is using it.  There is quite a bit of steps that need to be taken to install Oracle 9i on CentOS 4.7 (I am not sure if Oracle 9i will ever work on CentOS 5).  There are information (bits and pieces) on the Web, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong> Oracle 9i is old but still there are people who is using it.  There is quite a bit of steps that need to be taken to install Oracle 9i on CentOS 4.7 (I am not sure if Oracle 9i will ever work on CentOS 5).  There are information (bits and pieces) on the Web, I want to record down step by step instruction of installation of Oracle 9i on CentOS 4.7</p>
<p><strong>Solution:</strong> The installation is not very hard:</p>
<ol>
<li>Install CentOS</li>
<li>Install the the compat packages (with dependencies):<br />
<code>yum install compat-gcc-32 compat-gcc-32-c++ compat-libstdc++-296 compat-l<br />
ibstdc++-33</code></li>
<li>Get the Oracle patch p3006854_9204_LINUX.zip, unzip and run it<br />
<code>unzip p3006854_9204_LINUX.zip<br />
cd 3006854<br />
sh rhel3_pre_install.sh</code></p>
<ul>
<li>Basically patch 3006854 is to create libwait.so</li>
<li>The source code of libwait is:<br />
<code>#include &lt;errno.h&gt;<br />
#include &lt;sys/syscall.h&gt;<br />
#include &lt;sys/types.h&gt;<br />
#include &lt;sys/wait.h&gt;<br />
pid_t<br />
__libc_wait (int *status)<br />
{<br />
int res;<br />
asm volatile ("pushl %%ebx\n\t"<br />
"movl %2, %%ebx\n\t"<br />
"movl %1, %%eax\n\t"<br />
"int \$0x80\n\t"<br />
"popl %%ebx"                : "=a" (res)<br />
: "i" (__NR_wait4), "0" (WAIT_ANY), "c" (status), "d" (0), "S" (<br />
0));<br />
return res;<br />
}</code></li>
<li>To compile a .so, use <code>gcc -O2 -shared -fpic -xc libwait.c -o libcwait.so</code></li>
<li>You need to add the <code>libwait.so</code> into <code>/etc/ld.so.preload</code></li>
</ul>
</li>
<li>Replace gcc with the older gcc (version 3.2):<br />
<code>cd /usr/bin/<br />
mv gcc gcc34<br />
mv gcc32 gcc</code></li>
<li>Add the following parameters to <code>/etc/sysctl.conf</code>:<br />
<code># Oracle parameters<br />
kernel.shmall = 2097152<br />
kernel.shmmax = 2147783648<br />
kernel.shmmni = 4096<br />
# semaphores: semmsl, semmns, semopm, semmni<br />
kernel.sim = 256 3200 100 142<br />
fs.file-max = 65536<br />
net.ipv4.ip_local_port_range = 1024 65000<br />
kernel.msgmni = 2878<br />
kernel.msgmax = 8192<br />
kernel.msgmnb = 65535</code></li>
<li>Issue the command <code>/sbin/sysctl -p</code></li>
<li>Add oracle user:<br />
<code>groupadd dba<br />
groupadd oinstall<br />
useradd -c "Oracle software owner" -g oinstall -G dba oracle</code></li>
<li>Add the followings to oracle&#8217;s <code>~/.bash_profile</code>:<br />
<code># Oracle setting<br />
export LD_ASSUME_KERNEL=2.4.19<br />
export ORACLE_BASE=/opt/app/oracle<br />
export ORACLE_HOME=$ORACLE_BASE/product/9.2.0<br />
export ORACLE_SID=p9test<br />
export ORACLE_TERM=xtermexport NLS_LANG=AMERICAN<br />
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data<br />
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib<br />
export PATH=$PATH:$ORACLE_HOME/bin</code></li>
<li>Now, login as oracle user and run the <code>runInstall</code></li>
<li>You should be able to install Oralce 9i without any problem.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://propaso.com/blog/?feed=rss2&amp;p=46</wfw:commentRss>
		</item>
		<item>
		<title>Kill All Processes of A Particular User</title>
		<link>http://propaso.com/blog/?p=45</link>
		<comments>http://propaso.com/blog/?p=45#comments</comments>
		<pubDate>Fri, 30 Jan 2009 08:17:17 +0000</pubDate>
		<dc:creator>linus</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://propaso.com/blog/?p=45</guid>
		<description><![CDATA[Problem: I was having this problem that need to kill all processes of a user in a cron job and start the processes again using a in a particular user space.
Solution: Might not be the most elegant solution.  However, I chose to go with pkill and su.  So, a sample bash file:
#/bin/bash
/usr/bin/pkill -u userid
su - [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong> I was having this problem that need to kill all processes of a user in a cron job and start the processes again using a in a particular user space.</p>
<p><strong>Solution:</strong> Might not be the most elegant solution.  However, I chose to go with <code>pkill</code> and <code>su</code>.  So, a sample bash file:</p>
<p><code>#/bin/bash<br />
/usr/bin/pkill -u userid<br />
su - userid -c /path/to/startup</code></p>
<p>Then, just run the bash in a cron job.</p>
]]></content:encoded>
			<wfw:commentRss>http://propaso.com/blog/?feed=rss2&amp;p=45</wfw:commentRss>
		</item>
		<item>
		<title>Totem Player Can&#8217;t Leave Full Screen Mode</title>
		<link>http://propaso.com/blog/?p=44</link>
		<comments>http://propaso.com/blog/?p=44#comments</comments>
		<pubDate>Sun, 16 Nov 2008 01:04:19 +0000</pubDate>
		<dc:creator>linus</dc:creator>
		
		<category><![CDATA[Anoyance]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://propaso.com/blog/?p=44</guid>
		<description><![CDATA[Problem: All of a sudden, my totem player in Ubuntu 8.10 start up in full screen mode and can&#8217;t leave full screen mode.
Solution: There is a simple solution for this:
rm ~/.config/totem/state.ini
]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong> All of a sudden, my totem player in Ubuntu 8.10 start up in full screen mode and can&#8217;t leave full screen mode.</p>
<p><strong>Solution:</strong> There is a simple solution for this:<br />
<code>rm ~/.config/totem/state.ini</code></p>
]]></content:encoded>
			<wfw:commentRss>http://propaso.com/blog/?feed=rss2&amp;p=44</wfw:commentRss>
		</item>
	</channel>
</rss>
