<?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>HappyLife.sg</title>
	<atom:link href="http://www.happylife.sg/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.happylife.sg</link>
	<description>Life about me!</description>
	<lastBuildDate>Sun, 22 Aug 2010 09:37:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Acronis SnapDeploy with Microsoft DHCP</title>
		<link>http://www.happylife.sg/?p=160</link>
		<comments>http://www.happylife.sg/?p=160#comments</comments>
		<pubDate>Sun, 22 Aug 2010 09:37:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=160</guid>
		<description><![CDATA[In order to configure Acronis SnapDeploy with Microsoft DHCP, you need to modify two options so that when DHCP issue the IP address, the client know who to contact for the PXE Boot Images. options 66 (hostname startserver = 192.168.X.X) options 67 (name of startfile = bootwiz.sys) Make sure that you restart the Acronis File [...]]]></description>
			<content:encoded><![CDATA[<p>In order to configure Acronis SnapDeploy with Microsoft DHCP, you need to modify two options so that when DHCP issue the IP address, the client know who to contact for the PXE Boot Images.</p>
<p>options 66 (hostname startserver = 192.168.X.X)<br />
options 67 (name of startfile = bootwiz.sys)</p>
<p>Make sure that you restart the Acronis File Server and PXE Server after you modify the options.</p>
<p>This has being tested with Acronis 9 and Windows 2003 Edition.</p>
<p>Hope this helps <img src='http://www.happylife.sg/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/?feed=rss2&amp;p=160</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache + PHP compilation error</title>
		<link>http://www.happylife.sg/?p=157</link>
		<comments>http://www.happylife.sg/?p=157#comments</comments>
		<pubDate>Sat, 14 Aug 2010 07:53:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=157</guid>
		<description><![CDATA[Bump into some issues when compiling Apache 2.2.15 and PHP 5.2.14 Problem: Make complete Installing php-5.2.14&#8230; Installing PHP SAPI module: apache2handler /usr/local/apache2/build/instdso.sh SH_LIBTOOL=&#8217;/usr/local/apache2/build/libtool&#8217; libphp5.la /usr/local/apache2/modules /usr/local/apache2/build/libtool &#8211;mode=install cp libphp5.la /usr/local/apache2/modules/ libtool: install: `libphp5.la&#8217; is not a valid libtool archive Try `libtool &#8211;help &#8211;mode=install&#8217; for more information. apxs:Error: Command failed with rc=65536 Solutions: cp /root/php-5.2.14/libphp5.la /usr/local/apache2/modules/ [...]]]></description>
			<content:encoded><![CDATA[<p>Bump into some issues when compiling Apache 2.2.15 and PHP 5.2.14</p>
<p>Problem:</p>
<blockquote>
<p>Make complete<br />
Installing php-5.2.14&#8230;<br />
Installing PHP SAPI module:       apache2handler<br />
/usr/local/apache2/build/instdso.sh SH_LIBTOOL=&#8217;/usr/local/apache2/build/libtool&#8217; libphp5.la /usr/local/apache2/modules<br />
/usr/local/apache2/build/libtool &#8211;mode=install cp libphp5.la /usr/local/apache2/modules/<br />
libtool: install: `libphp5.la&#8217; is not a valid libtool archive<br />
Try `libtool &#8211;help &#8211;mode=install&#8217; for more information.<br />
apxs:Error: Command failed with rc=65536
</p></blockquote>
<p>Solutions:</p>
<blockquote><p>
cp /root/php-5.2.14/libphp5.la /usr/local/apache2/modules/</p></blockquote>
<p>Not sure what happen but it fixed my problems <img src='http://www.happylife.sg/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Hope this helps &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/?feed=rss2&amp;p=157</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Online backup using Linux Logical Volume Manager (LVM)</title>
		<link>http://www.happylife.sg/?p=154</link>
		<comments>http://www.happylife.sg/?p=154#comments</comments>
		<pubDate>Thu, 29 Apr 2010 19:49:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=154</guid>
		<description><![CDATA[Performing backup of your logical volume is pretty easy and fast. It is the safest way to backup any &#8220;open&#8221; files/databases. 1) Creating a snapshot of your current LVM [root@svr2 ~]# lvcreate -L1000M -s -n volbackup /dev/VolGroup00/datavol Rounding up size to full physical extent 1.00 GB Logical volume &#8220;volbackup&#8221; created 2) You should see lvdisplay [...]]]></description>
			<content:encoded><![CDATA[<p>Performing backup of your logical volume is pretty easy and fast. It is the safest way to backup any &#8220;open&#8221; files/databases.</p>
<p>1) Creating a snapshot of your current LVM</p>
<blockquote><p>[root@svr2 ~]# lvcreate -L1000M -s -n volbackup /dev/VolGroup00/datavol<br />
  Rounding up size to full physical extent 1.00 GB<br />
  Logical volume &#8220;volbackup&#8221; created</p></blockquote>
<p>2) You should see lvdisplay stating the snapshot LVM.</p>
<blockquote><p>[root@svr2 ~]# lvdisplay /dev/VolGroup00/volbackup<br />
  &#8212; Logical volume &#8212;<br />
  LV Name                /dev/VolGroup00/volbackup<br />
  VG Name                VolGroup00<br />
  LV UUID                H1s7bn-TKCu-sdfE-Xi0M-oZNA-ixvq-xsWvZj<br />
  LV Write Access        read/write<br />
  LV snapshot status     active destination for /dev/VolGroup00/datavol<br />
  LV Status              available<br />
  # open                 0<br />
  LV Size                100.00 GB<br />
  Current LE             3200<br />
  COW-table size         1.00 GB<br />
  COW-table LE           32<br />
  Allocated to snapshot  0.00%<br />
  Snapshot chunk size    4.00 KB<br />
  Segments               1<br />
  Allocation             inherit<br />
  Read ahead sectors     auto<br />
  &#8211; currently set to     256<br />
  Block device           253:4</p></blockquote>
<p>3) Create a folder for it to do a proper mount.</p>
<blockquote><p>
[root@svr2 ~]# mkdir /backupvol<br />
[root@svr2 ~]# mount /dev/VolGroup00/volbackup /backupvol</p></blockquote>
<p>4) Do the backup now.</p>
<blockquote><p>[root@svr2 ~]# tar -cf /root/datavol.tar.gz /backupvol</p></blockquote>
<p>5) Umount, remove folder and delete the snapshot LVM</p>
<blockquote><p>umount /backupvol<br />
rm -rfv /backupvol<br />
lvremove /dev/VolGroup00/volbackup</p></blockquote>
<p>Hope this helps someone out there&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/?feed=rss2&amp;p=154</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>unixbench</title>
		<link>http://www.happylife.sg/?p=152</link>
		<comments>http://www.happylife.sg/?p=152#comments</comments>
		<pubDate>Wed, 28 Apr 2010 16:20:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=152</guid>
		<description><![CDATA[I order a USA VPS to play around with today, just for fun. No serious stuff on it. Decided to run Unixbench but hit with some minor problem. ./src/ubgears.c:641: warning: implicit declaration of function âevent_loopâ ./src/ubgears.c:643: warning: implicit declaration of function âglXDestroyContextâ ./src/ubgears.c:645: warning: implicit declaration of function âXDestroyWindowâ ./src/ubgears.c:646: warning: implicit declaration of function [...]]]></description>
			<content:encoded><![CDATA[<p>I order a USA VPS to play around with today, just for fun. No serious stuff on it. Decided to run <a href="http://code.google.com/p/byte-unixbench/">Unixbench</a> but hit with some minor problem.</p>
<blockquote><p>./src/ubgears.c:641: warning: implicit declaration of function âevent_loopâ<br />
./src/ubgears.c:643: warning: implicit declaration of function âglXDestroyContextâ<br />
./src/ubgears.c:645: warning: implicit declaration of function âXDestroyWindowâ<br />
./src/ubgears.c:646: warning: implicit declaration of function âXCloseDisplayâ<br />
make: *** [pgms/ubgears] Error 1</p>
<p>**********************************************<br />
Run: &#8220;make all&#8221; failed; aborting</p></blockquote>
<p>This is due to some development tools not installed.<br />
Solution:</p>
<blockquote><p>yum install -y SDL-devel mesa-libGL-devel</p></blockquote>
<p>Hope this helps someone out there &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/?feed=rss2&amp;p=152</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PING: transmit failed, error code 1232</title>
		<link>http://www.happylife.sg/?p=149</link>
		<comments>http://www.happylife.sg/?p=149#comments</comments>
		<pubDate>Wed, 28 Apr 2010 13:38:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=149</guid>
		<description><![CDATA[After using Internet Download Manager for close to 48 hours, I face this problem after a restart Problem: C:\Users\Tan>ping 4.2.2.2 Pinging 4.2.2.2 with 32 bytes of data: PING: transmit failed, error code 1232. PING: transmit failed, error code 1232. PING: transmit failed, error code 1232. PING: transmit failed, error code 1232. Solution: Microsoft Windows [Version [...]]]></description>
			<content:encoded><![CDATA[<p>After using <a href="http://www.internetdownloadmanager.com/">Internet Download Manager</a> for close to 48 hours, I face this problem after a restart</p>
<p>Problem:</p>
<blockquote><p>C:\Users\Tan>ping 4.2.2.2</p>
<p>Pinging 4.2.2.2 with 32 bytes of data:</p>
<p>PING: transmit failed, error code 1232.<br />
PING: transmit failed, error code 1232.<br />
PING: transmit failed, error code 1232.<br />
PING: transmit failed, error code 1232.</p></blockquote>
<p>Solution:</p>
<blockquote><p>Microsoft Windows [Version 6.0.6000]<br />
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.</p>
<p>C:\Users\Tan>netsh winsock reset</p></blockquote>
<p>After which, just do a restart and your network will be back to normal.</p>
<p>Hope this helps someone out there&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/?feed=rss2&amp;p=149</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protected: Legal Purpose: Monitor Exim in+out email</title>
		<link>http://www.happylife.sg/?p=146</link>
		<comments>http://www.happylife.sg/?p=146#comments</comments>
		<pubDate>Tue, 27 Apr 2010 18:16:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=146</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://www.happylife.sg/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label for="pwbox-146">Password:<br />
<input name="post_password" id="pwbox-146" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="Submit" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/?feed=rss2&amp;p=146</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ImportError: No module named setuptools</title>
		<link>http://www.happylife.sg/?p=143</link>
		<comments>http://www.happylife.sg/?p=143#comments</comments>
		<pubDate>Sun, 25 Apr 2010 10:55:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=143</guid>
		<description><![CDATA[Problem: Traceback (most recent call last): File &#8220;setup.py&#8221;, line 1, in from setuptools import setup, find_packages ImportError: No module named setuptools Solutions: wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz tar zxvf setuptools-0.6c11.tar.gz cd setuptools-0.6c11 python setup.py build python setup.py install Hope this helps someone out there]]></description>
			<content:encoded><![CDATA[<p>Problem:</p>
<blockquote><p>Traceback (most recent call last):<br />
  File &#8220;setup.py&#8221;, line 1, in <module><br />
    from setuptools import setup, find_packages<br />
ImportError: No module named setuptools</p></blockquote>
<p>Solutions:</p>
<blockquote><p>wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz<br />
tar zxvf setuptools-0.6c11.tar.gz<br />
cd setuptools-0.6c11<br />
python setup.py build<br />
python setup.py install
</p></blockquote>
<p>Hope this helps someone out there <img src='http://www.happylife.sg/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/?feed=rss2&amp;p=143</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>openvz vzdump error</title>
		<link>http://www.happylife.sg/?p=137</link>
		<comments>http://www.happylife.sg/?p=137#comments</comments>
		<pubDate>Sat, 20 Feb 2010 19:52:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=137</guid>
		<description><![CDATA[I am using vzdump tool which make use of LVM to do snapshot of the VPS which ensure that there is data consistency during the backup as the VPS is online while the backup is performed. A small issues just happen today which took me a while to figure how to resolve the issues. While [...]]]></description>
			<content:encoded><![CDATA[<p>I am using vzdump tool which make use of LVM to do snapshot of the VPS which ensure that there is data consistency during the backup as the VPS is online while the backup is performed.</p>
<p>A small issues just happen today which took me a while to figure how to resolve the issues.</p>
<p>While the vzdump is performing a backup of one of my VPS, i hit with this error</p>
<blockquote><p>Feb 21 01:33:32 INFO: tar: ./boot: Warning: Cannot savedir: Input/output error</p></blockquote>
<p>The first impression is that the disk might have issues, but after 5 mins of verifying of the physical disk&#8217;s health, I have notice that it is due to the LVM snapshot created during the backup.</p>
<p>The default size that vzdump create for the logical volume is only 500MB, you need to increase to a higher diskspace provided your Volume Group has enough free space.</p>
<blockquote><p>nano -w /usr/bin/vzdump</p></blockquote>
<p>Edit 500m to a higher diskspace as needed.</p>
<blockquote><p>run_command (\*LOG, &#8220;$lvcreate &#8211;size 500m &#8211;snapshot &#8211;name vzsnap /dev/$lvmvg/$lvmlv&#8221;);</p></blockquote>
<p>Hope this helps &#8230; <img src='http://www.happylife.sg/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/?feed=rss2&amp;p=137</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detecting Duplicate IP Address using arping</title>
		<link>http://www.happylife.sg/?p=132</link>
		<comments>http://www.happylife.sg/?p=132#comments</comments>
		<pubDate>Fri, 30 Oct 2009 14:51:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=132</guid>
		<description><![CDATA[I have been facing a loss of connection suddenly, so I am suspecting that some host on the network is using the same IP address with me. So I used this tool called arping. Let&#8217;s said I want to check whether 192.168.1.1 is configure on more than 1 host. You need to test it on [...]]]></description>
			<content:encoded><![CDATA[<p>I have been facing a loss of connection suddenly, so I am suspecting that some host on the network is using the same IP address with me.</p>
<p>So I used this tool called <a href="http://linux.die.net/man/8/arping">arping</a>.</p>
<p>Let&#8217;s said I want to check whether 192.168.1.1 is configure on more than 1 host. You need to test it on another machine which is not configure as 192.168.1.1</p>
<blockquote><p>
[svr1:/root]# arping -I eth0 -c 3 192.168.1.1<br />
ARPING 192.168.1.1 from 192.168.1.99 eth0<br />
Unicast reply from 192.168.1.1  [00:0D:A2:02:3B:53]  1.090ms<br />
Unicast reply from 192.168.1.1  [00:0D:A2:02:3B:53]  0.837ms<br />
Unicast reply from 192.168.1.1  [00:0D:A2:02:3B:53]  1.031ms<br />
Sent 3 probes (1 broadcast(s))<br />
Received 3 response(s)
</p></blockquote>
<p>As you can see, the host that response has the same mac address means this IP address is not conflict with any of the host on the network.</p>
<p>To simplify things, you can use this single command that uses &#8220;Duplicate address detection mode (DAD)&#8221;.</p>
<blockquote><p>
[svr1:/root]# arping -D -I eth0 -c 3 192.168.1.1 >/dev/null;echo $?<br />
1
</p></blockquote>
<p>If you get &#8220;0&#8243;, it means that the IP address has conflict with another host
<ul>or</ul>
<p> it also means that there is no host in the network configured on the IP address.</p>
<p>So I got &#8220;1&#8243; on the IP address I am trying to detect, it looks like IP conflict is not a issue here for me.</p>
<p>Hope this helps someone&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/?feed=rss2&amp;p=132</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protected: Exim Manual Route</title>
		<link>http://www.happylife.sg/?p=126</link>
		<comments>http://www.happylife.sg/?p=126#comments</comments>
		<pubDate>Fri, 26 Jun 2009 10:31:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=126</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://www.happylife.sg/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label for="pwbox-126">Password:<br />
<input name="post_password" id="pwbox-126" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="Submit" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/?feed=rss2&amp;p=126</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
