Perl issue
Andrew Davis <[email protected]>
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Organization | North County Computers |
| Message-ID | <[email protected]> |
I've been running Cricket on RHEL ES 3 for quite some time now, and
largely without issue. Yesterday I used RHN to update the server and
since then my Cricket graphs are failing. If I tail my apache error log,
I see:
[Wed Sep 06 17:34:43 2006] [error] [client 216.102.20.250] Can't locate
DB_File.pm in @INC (@INC contains: /home/cricket/cricket/lib
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at
/home/cricket/cricket/lib/ConfigTree/Cache.pm line 21., referer:
http://status.genvault.com/bb/cricket/traffic.html
[Wed Sep 06 17:34:43 2006] [error] [client 216.102.20.250] BEGIN
failed--compilation aborted at
/home/cricket/cricket/lib/ConfigTree/Cache.pm line 21., referer:
http://status.genvault.com/bb/cricket/traffic.html
[Wed Sep 06 17:34:43 2006] [error] [client 216.102.20.250] Compilation
failed in require at /var/www/bb/cricket/grapher.cgi line 50., referer:
http://status.genvault.com/bb/cricket/traffic.html
[Wed Sep 06 17:34:43 2006] [error] [client 216.102.20.250] BEGIN
failed--compilation aborted at /var/www/bb/cricket/grapher.cgi line 50.,
referer: http://status.genvault.com/bb/cricket/traffic.html
[Wed Sep 06 17:34:43 2006] [error] [client 216.102.20.250] Premature end
of script headers: grapher.cgi, referer:
http://status.genvault.com/bb/cricket/traffic.html
Following this, I started at the first error and checked into line 21 in
/home/cricket/cricket/lib/ConfigTree/Cache.pm. It says:
use DB_File;
so I did a 'perl -MCPAN -e shell'
then an 'install DB_File', but it says its current. I even updated CPAN
with an 'install Bundle::CPAN', followed by 'install POSIX' which forced
an update to Perl 5.8.8. After rebooting, it still didn't work. Next I
looked at /var/www/bb/cricket/grapher.cgi, line 50. It shows:
use ConfigTree::Cache;
So I went back to CPAN and tried 'install ConfigTree:Cache', but it says:
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 06 Sep 2006 21:32:51 GMT
Warning: Cannot install ConfigTree::Cache, don't know what it is.
Try the command
i /ConfigTree::Cache/
to find objects with matching identifiers.
I even tried:
perl -I. -MCPAN -e "install Bundle::CricketPrereq"
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 06 Sep 2006 21:32:51 GMT
Warning: Cannot install Bundle::CricketPrereq, don't know what it is.
Try the command
i /Bundle::CricketPrereq/
to find objects with matching identifiers.
But as you can see, I can't seem to find it... from what I can best
guess, the RHN update to my system updated the perl version which
resulted in an dependency that used to exist to cease to exist. It seems
I need ConfigTree::Cache, but I can't find it anywhere...
I'm not a perl guy... I only know enough to break it. Any thoughts?
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642