avatar

tanfwc's pings

Sort By:

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 ‘active’ unit and I found out that writing custom text to Dell LCD panel is pretty easy after some digging. If you have ...
tanfwc Posted by tanfwc User Menu on April 3, 2012 at HappyLife.sg
Encountered this problem with one of my customer’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 ’0.0.0.0′ ; with your server IP. After which, you can launch the Terminal Server Manager (Start -> Run -> tsadmin.exe) and clear up the sessions. Hope this ...
tanfwc Posted by tanfwc User Menu on March 5, 2012 at HappyLife.sg
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.
tanfwc Posted by tanfwc User Menu on June 17, 2011 at HappyLife.sg
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 ...
tanfwc Posted by tanfwc User Menu on May 22, 2011 at HappyLife.sg
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 ...
tanfwc Posted by tanfwc User Menu on March 27, 2011 at HappyLife.sg
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, ...
tanfwc Posted by tanfwc User Menu on March 20, 2011 at HappyLife.sg
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!
tanfwc Posted by tanfwc User Menu on February 15, 2011 at HappyLife.sg
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 ...
tanfwc Posted by tanfwc User Menu on January 24, 2011 at HappyLife.sg
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' …
tanfwc Posted by tanfwc User Menu on January 15, 2011 at HappyLife.sg
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 …
tanfwc Posted by tanfwc User Menu on December 29, 2010 at HappyLife.sg
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 ...
tanfwc Posted by tanfwc User Menu on December 27, 2010 at HappyLife.sg
Here is a quick command to retrieve Dell Service Tag number remotely. dmidecode|grep -A 2 "PowerEdge" Hope this helps…
tanfwc Posted by tanfwc User Menu on December 26, 2010 at HappyLife.sg
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 ...
tanfwc Posted by tanfwc User Menu on December 16, 2010 at HappyLife.sg
This is a quick command to get it installed. /usr/bin/perl -MCPAN -e 'install "DBD::mysql" ' Hope this helps!
tanfwc Posted by tanfwc User Menu on October 10, 2010 at HappyLife.sg
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 ...
tanfwc Posted by tanfwc User Menu on October 3, 2010 at HappyLife.sg
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 ...
tanfwc Posted by tanfwc User Menu on October 3, 2010 at HappyLife.sg
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, ...
tanfwc Posted by tanfwc User Menu on September 19, 2010 at HappyLife.sg
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, ...
tanfwc Posted by tanfwc User Menu on September 19, 2010 at HappyLife.sg
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!!
tanfwc Posted by tanfwc User Menu on September 17, 2010 at HappyLife.sg
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!!
tanfwc Posted by tanfwc User Menu on September 17, 2010 at HappyLife.sg

The Community Meta Blog
for Singapore Bloggers
v2.1.0

Join Singapore Blog Awards 2012

Bloggers: Singapore Blog Awards 2012
is now acceping nominations!

 

latest comments rss feed

 
 

shouts rss feed for latest shouts history

avatar hexsarash: hai....
avatar aieza: siang all
avatar 88henry: morning every1
avatar felizaong: SHOES SHOPPING! Me wearing it>> www.ping.sg/read/Shopping-Aldo-Wedges
avatar nawwaf: salam semua.. heyyy
avatar hexsarash: khukhukhu...
avatar sl417k: hai
avatar birthmark: A small bit of China.
avatar bloggerindonesia: Penyebab Ketidakseimbangan Neraca Saldo
avatar mingisland: www.bigmouth8.com
avatar coolinsights: Why You Need to Start Journalling and Blogging ping.sg/item/The-Benefits-of-Journalling-and-Blogging
avatar sevra: ^_^
avatar hexsarash: halo all...^_^
avatar bloggerindonesia: Proses Pembuatan Neraca Saldo
avatar hariagsutomo: tes...tes...
avatar grandong: pagi semua...
avatar w_delon: isilo
avatar blue8118: Is Coconut one of Miss Earth Sabah Finalists?
 

new users

lanankz coffeeluwak azka123 arifpmc tkeenuh hongxingpeggy dingqian101212