Re: [rrd-users] Unable to specify which version of RRDs perl module

This is a discussion on Re: [rrd-users] Unable to specify which version of RRDs perl module within the RRD Users forums, part of the Networking and Network Related category; On 4/15/07, David Ball <davidtball@gmail.com> wrote: > Thanks very much, Sam. That was the ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2007
Sam Umbach
 
Posts: n/a
Default Re: [rrd-users] Unable to specify which version of RRDs perl module

On 4/15/07, David Ball <davidtball@gmail.com> wrote:
> Thanks very much, Sam. That was the ticket. I was CERTAIN I had
> tried specifying the version yesterday at some point, but obviously
> hadn't done so correctly, or was being tripped up by something else.
> Thanks again. Much appreciated.


David,

I'm glad that worked for you. In the future, here's a nice trick to
diagnose perl module loading errors:

$ perl -MRRDs -MData::Dumper -e 'print Dumper(\@INC, \%INC);'
$VAR1 = [
'/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi',
'/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi',
'/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi',
'/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi',
'/usr/lib/perl5/site_perl/5.8.8',
'/usr/lib/perl5/site_perl/5.8.7',
'/usr/lib/perl5/site_perl/5.8.6',
'/usr/lib/perl5/site_perl/5.8.5',
'/usr/lib/perl5/site_perl',
'/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi',
'/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi',
'/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi',
'/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi',
'/usr/lib/perl5/vendor_perl/5.8.8',
'/usr/lib/perl5/vendor_perl/5.8.7',
'/usr/lib/perl5/vendor_perl/5.8.6',
'/usr/lib/perl5/vendor_perl/5.8.5',
'/usr/lib/perl5/vendor_perl',
'/usr/lib/perl5/5.8.8/i386-linux-thread-multi',
'/usr/lib/perl5/5.8.8',
'.'
];
$VAR2 = {
'bytes.pm' => '/usr/lib/perl5/5.8.8/bytes.pm',
'XSLoader.pm' =>
'/usr/lib/perl5/5.8.8/i386-linux-thread-multi/XSLoader.pm',
'Carp.pm' => '/usr/lib/perl5/5.8.8/Carp.pm',
'warnings/register.pm' => '/usr/lib/perl5/5.8.8/warnings/register.pm',
'Exporter.pm' => '/usr/lib/perl5/5.8.8/Exporter.pm',
'vars.pm' => '/usr/lib/perl5/5.8.8/vars.pm',
'strict.pm' => '/usr/lib/perl5/5.8.8/strict.pm',
'warnings.pm' => '/usr/lib/perl5/5.8.8/warnings.pm',
'overload.pm' => '/usr/lib/perl5/5.8.8/overload.pm',
'AutoLoader.pm' => '/usr/lib/perl5/5.8.8/AutoLoader.pm',
'RRDs.pm' =>
'/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/RRDs.pm',
'Config.pm' =>
'/usr/lib/perl5/5.8.8/i386-linux-thread-multi/Config.pm',
'DynaLoader.pm' =>
'/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm',
'Data/Dumper.pm' =>
'/usr/lib/perl5/5.8.8/i386-linux-thread-multi/Data/Dumper.pm'
};

If you can inspect the output when this is called from the command
line and compare it when called from Apache, you would have quickly
seen the issue.

-Sam

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:10 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0