Archive for December, 2008

Quickly fix perl Undefined subroutine &LWP::Debug::trace issue

I installed required modules in one Fedora 8 and one CentOS 5.2 boxes to interact with Amazon SQS and S3 services and build a perl script. When trying to start perl script, following error encountered:

Undefined subroutine &LWP::Debug::trace called at /usr/lib/perl5/site_perl/5.8.8/LWP/UserAgent/Determined.pm line 21.

Force Re-installation of LWP::UserAgent::Determined module does not avail anything.

Then after some research, I came to know that the perl libwww-perl version 5.822 is culprit here. And the strange thing is that the updated version (5.822) causes problems while downgraded version (5.821) works fine. This bug is already reported here.

Optimize MySQL on a Large Database Server

On a large server which run primarily mysql service only, the first step you should take is to copy the proper config file which is already optimized for large systems:

# mv /etc/my.cnf/my.cnf_OLD
# cp /usr/share/doc/mysql-server-5.0.44/my-huge.cnf /etc/my.cnf

I’m using 5.0.44 version here on a CentOS 5.2 box. You need to adjust path as per your mysql version.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes