<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Ping.sg  - Latest Pings From tanfwc</title>
<link>http://ping.sg/user/tanfwc</link>
<description>Ping.sg - The Community Meta Blog for Singapore Bloggers</description>
<copyright>Copyright 2012 ping.sg</copyright>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>

<item>
	<title><![CDATA[Dell LCD Custom Text]]></title>
	<link>http://ping.sg/item/Dell-LCD-Custom-Text</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[Recently I had setup a HA-pair in my environment and if I do not have my computer with me, I need the NOC guys to be able to identify which is the &#8216;active&#8217;  unit and I found out that writing custom text to Dell LCD panel is pretty easy after some digging. If you have ...]]></description>
	<pubDate>Tue, 03 Apr 2012 10:54:58 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/Dell-LCD-Custom-Text</guid>
</item>
<item>
	<title><![CDATA[The terminal server has exceeded the maximum number of allowed connections]]></title>
	<link>http://ping.sg/item/The-terminal-server-has-exceeded-the-maximum-number-of-allow</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[Encountered this problem with one of my customer&#8217;s server. A quick fix will be logging in remotely using console session to clear up the connections mstsc /v:0.0.0.0 /admin Replace &#8217;0.0.0.0&#8242 ; with your server IP. After which, you can launch the Terminal Server Manager (Start -> Run -> tsadmin.exe) and clear up the sessions. Hope this ...]]></description>
	<pubDate>Mon, 05 Mar 2012 11:28:54 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/The-terminal-server-has-exceeded-the-maximum-number-of-allow</guid>
</item>
<item>
	<title><![CDATA[Remove string from file]]></title>
	<link>http://ping.sg/item/Remove-string-from-file</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[As I have been trying to figure out how to remove a specific string and not leave a blank line in a file, perl has really saved my day. perl -ni -e 'print unless/mydomain.com/ ' virtualdomains Back to developing scripts now Hope this helps someone too.]]></description>
	<pubDate>Fri, 17 Jun 2011 14:32:26 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/Remove-string-from-file</guid>
</item>
<item>
	<title><![CDATA[openOleDBConnection The ‘Microsoft.Jet.OLEDB.4.0′ provider is …]]></title>
	<link>http://ping.sg/item/openOleDBConnection-The-Microsoft-Jet-OLEDB-4-0-provider-is-</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[I have just completed a migration for a friend of mine. As he is upgrading the server from Windows 2003 32bit to 64bit version, the site was hit with alot of errors not loading the right stuff for his .aspx files. The following error was presented to me when trying to login to his administrative ...]]></description>
	<pubDate>Sun, 22 May 2011 14:25:54 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/openOleDBConnection-The-Microsoft-Jet-OLEDB-4-0-provider-is-</guid>
</item>
<item>
	<title><![CDATA[Mass Delete Kayako 3  Comments]]></title>
	<link>http://ping.sg/item/Mass-Delete-Kayako-3-Comments</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[If you have more than 100 spam comments to delete, you might need to spend quite a fair bit of time to delete. Time is precious. Here is a quick way to mass delete all the comments. DELETE swcomments, swcommentdata FROM swcomments, swcommentdata WHERE swcomments.commentid  = swcommentdata.commen tdataid AND swcomments.isapprove d = '0'; I am not responsible ...]]></description>
	<pubDate>Sun, 27 Mar 2011 20:39:14 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/Mass-Delete-Kayako-3-Comments</guid>
</item>
<item>
	<title><![CDATA[mysqlhotcopy cause MySQL server has gone away]]></title>
	<link>http://ping.sg/item/mysqlhotcopy-cause-MySQL-server-has-gone-away</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[As I was performing a backup for a ~5GB database on a new db server, I encounter this error. DBD::mysql::db do failed: MySQL server has gone away at /usr/bin/mysqlhotcop y line 521. The above means that the MySQL timeout while doing the mysqlhotcopy, you just need to increase the timeout. If your database is really huge, ...]]></description>
	<pubDate>Sun, 20 Mar 2011 14:46:51 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/mysqlhotcopy-cause-MySQL-server-has-gone-away</guid>
</item>
<item>
	<title><![CDATA[Windows 2008 Activation Issue]]></title>
	<link>http://ping.sg/item/Windows-2008-Activation-Issue</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[I was hit with this error. Code: 0x8007232B Description: DNS name does not exist. Quick Solution: slmgr.vbs -ipk [your product key] slmgr.vbs -ato Enjoy!]]></description>
	<pubDate>Tue, 15 Feb 2011 19:38:35 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/Windows-2008-Activation-Issue</guid>
</item>
<item>
	<title><![CDATA[Migrating GPG keys]]></title>
	<link>http://ping.sg/item/Migrating-GPG-keys</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[As I am storing backup remotely, I used GPG to encrypt my stuff on-the-fly using duplicity. As I am upgrading the host machine to a better spec, I need to move my GPG keys too. Here is how I do it. List the available GPG key in the store.  [root@svr ~]# gpg --list-keys /root/.gnupg/pubring .gpg ...]]></description>
	<pubDate>Mon, 24 Jan 2011 00:39:30 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/Migrating-GPG-keys</guid>
</item>
<item>
	<title><![CDATA[Cluster Glue]]></title>
	<link>http://ping.sg/item/Cluster-Glue</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[As I am installing Cluster Glue, I bump into the following error. I was looking around the Internet and unable to find a answer thus I have to look into what package CentOS build libuuid into Problem: ./.libs/libplumb.so:  undefined reference to `uuid_parse' ./.libs/libplumb.so:  undefined reference to `uuid_generate' ./.libs/libplumb.so:  undefined reference to `uuid_copy' …]]></description>
	<pubDate>Sat, 15 Jan 2011 17:11:27 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/Cluster-Glue</guid>
</item>
<item>
	<title><![CDATA[Changing Linux Network Interface Bonding]]></title>
	<link>http://ping.sg/item/Changing-Linux-Network-Interface-Bonding</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[WARNING: The following steps will stop your network interface, please ensure that you have KVM-Over-IP before attempting to do it remotely. If you ever had to change the bonding type while the server is live, follow the steps: [db2:/root]#  ifdown bond0 [db2:/root]#  modprobe -r bonding [db2:/root]#  modprobe bonding mode=1 miimon=100 …]]></description>
	<pubDate>Wed, 29 Dec 2010 01:57:40 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/Changing-Linux-Network-Interface-Bonding</guid>
</item>
<item>
	<title><![CDATA[Windows Firewall can not run because another program or service is running that might use the Network Address Translation …]]></title>
	<link>http://ping.sg/item/Windows-Firewall-can-not-run-because-another-program-or-serv</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[Encounter a problem that cause my windows box to be offline remotely I had to spend quite a fair bit of my time to look into this. If you attempt to start the Windows Firewall, you will notice that you will get this error message: Windows Firewall can not run because another program or service ...]]></description>
	<pubDate>Mon, 27 Dec 2010 02:21:11 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/Windows-Firewall-can-not-run-because-another-program-or-serv</guid>
</item>
<item>
	<title><![CDATA[Locating Dell Service Tag in Linux]]></title>
	<link>http://ping.sg/item/Locating-Dell-Service-Tag-in-Linux</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[Here is a quick command to retrieve Dell Service Tag number remotely. dmidecode|grep -A 2 "PowerEdge" Hope this helps&#8230;]]></description>
	<pubDate>Sun, 26 Dec 2010 02:28:29 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/Locating-Dell-Service-Tag-in-Linux</guid>
</item>
<item>
	<title><![CDATA[Detecting Creative Sound Card in Linux]]></title>
	<link>http://ping.sg/item/Detecting-Creative-Sound-Card-in-Linux</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[As I am working on a project where I need to play external audio into a application, as you are aware that dealing with audio in Linux can be challenging. As such, here is a simple solution to it =) My test environment: CentOS 5.5 64bit Creative Blaster S80490 (USB) yum install -y alsa-utils Once ...]]></description>
	<pubDate>Thu, 16 Dec 2010 02:25:11 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/Detecting-Creative-Sound-Card-in-Linux</guid>
</item>
<item>
	<title><![CDATA[MySQL Driver in Perl]]></title>
	<link>http://ping.sg/item/MySQL-Driver-in-Perl</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[This is a quick command to get it installed. /usr/bin/perl -MCPAN -e 'install "DBD::mysql" ' Hope this helps!]]></description>
	<pubDate>Sun, 10 Oct 2010 07:15:50 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/MySQL-Driver-in-Perl</guid>
</item>
<item>
	<title><![CDATA[Windows 7 cause “mount: Cannot allocate memory”]]></title>
	<link>http://ping.sg/item/Windows-7-cause-mount-Cannot-allocate-memory-</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[Had a friend who want to backup all his files (300GB+) from a Linux server to a laptop harddisk, we hit with a error message that cause Linux unable to mount the shared folder in laptop. Problem: [root@localhost ~]# mount -t cifs "//192.168.1.10/ abc" -o username=admin,passw ord=1234 ed /mnt/laptop/ mount: Cannot allocate memory The server has at ...]]></description>
	<pubDate>Sun, 03 Oct 2010 12:35:36 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/Windows-7-cause-mount-Cannot-allocate-memory-</guid>
</item>
<item>
	<title><![CDATA[Windows 7 cause “mount: Cannot allocate memory”]]></title>
	<link>http://ping.sg/item/Windows-7-cause-mount-Cannot-allocate-memory--2</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[Had a friend who want to backup all his files (300GB+) from a Linux server to a laptop harddisk, we hit with a error message that cause Linux unable to mount the shared folder in laptop. Problem: [root@localhost ~]# mount -t cifs "//192.168.1.10/ abc" -o username=admin,passw ord=1234 ed /mnt/laptop/ mount: Cannot allocate memory The server has at ...]]></description>
	<pubDate>Sun, 03 Oct 2010 12:35:36 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/Windows-7-cause-mount-Cannot-allocate-memory--2</guid>
</item>
<item>
	<title><![CDATA[WARNING: mismatch_cnt is not 0 on /dev/md0]]></title>
	<link>http://ping.sg/item/WARNING-mismatch_cnt-is-not-0-on-dev-md0</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[I was about to head to bed when I receive a disturbing email from my BlackBerry phone. A email from weekly cron.d send me this: WARNING: mismatch_cnt is not 0 on /dev/md0 A quick command shows that the RAID array (md0) is the number of unsynchronized blocks in the raid. As you can see below, ...]]></description>
	<pubDate>Sun, 19 Sep 2010 05:16:54 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/WARNING-mismatch_cnt-is-not-0-on-dev-md0</guid>
</item>
<item>
	<title><![CDATA[WARNING: mismatch_cnt is not 0 on /dev/md0]]></title>
	<link>http://ping.sg/item/WARNING-mismatch_cnt-is-not-0-on-dev-md0-2</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[I was about to head to bed when I receive a disturbing email from my BlackBerry phone. A email from weekly cron.d send me this: WARNING: mismatch_cnt is not 0 on /dev/md0 A quick command shows that the RAID array (md0) is the number of unsynchronized blocks in the raid. As you can see below, ...]]></description>
	<pubDate>Sun, 19 Sep 2010 05:16:54 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/WARNING-mismatch_cnt-is-not-0-on-dev-md0-2</guid>
</item>
<item>
	<title><![CDATA[fsck on reboot]]></title>
	<link>http://ping.sg/item/fsck-on-reboot</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[In order to do a fsck on your disk on the next reboot, I prefer the following command: shutdown -Fr now -F: Force fsck on reboot. -r: reboot after shutdown. The next option that you can choose to use is as following: touch /forcefsck shutdown -r now Enjoy!!]]></description>
	<pubDate>Fri, 17 Sep 2010 23:46:58 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/fsck-on-reboot</guid>
</item>
<item>
	<title><![CDATA[fsck on reboot]]></title>
	<link>http://ping.sg/item/fsck-on-reboot-2</link>
	<dc:creator>tanfwc</dc:creator>
	<description><![CDATA[In order to do a fsck on your disk on the next reboot, I prefer the following command: shutdown -Fr now -F: Force fsck on reboot. -r: reboot after shutdown. The next option that you can choose to use is as following: touch /forcefsck shutdown -r now Enjoy!!]]></description>
	<pubDate>Fri, 17 Sep 2010 23:46:58 +0800</pubDate>
	<guid isPermaLink="false">http://ping.sg/itemA/fsck-on-reboot-2</guid>
</item>

</channel>
</rss>
