Tag Archives: CPAN

Can’t locate Date/Format.pm error in vlogger

Have you ever found this error in Apache’s error log file ?

Can't locate Date/Format.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/sbin/vlogger line 147.
BEGIN failed--compilation aborted at /usr/sbin/vlogger line 147.

This error causing your error log file have a huge size.

This appears because you haven’t install the perl Time and Date modules.

To solve this problem,follow these steps to install everything needed:

Install epel repos (for CentOS 5):

wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/epel-release-5-4.noarch.rpm
rpm -ivh epel-release-5-4.noarch.rpm

Install perl-Time* modules:

yum install perl-Time*

That’s all 🙂

%d bloggers like this: