You either have to "./confiugre --enable-perl-site-install" before you "make" and "make install" rrdtool or you have to add in the path to the rrd perl lib for each mrtg config you have.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- "Mildeberger, Thorsten" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 03/22/2007 09:21 AM To <[email protected]> cc Subject [mrtg] Can't locate auto/RRDs/last.al in @INC Hi all, we installed mrtg 2.15.1 and rrd 1.2.17on our solaris 2.9 test machine.After the mrtg config was created successfully and mrtg started, we get the following error message each time when trying to access the rrd data via web browser. Can't locate auto/RRDs/last.al in @INC (@INC contains: /usr/local/rrd/lib/perl/ /usr/local/rrd/lib/perl/5.6.1/sun4-solaris-64int/ /usr/local/rrd/lib/perl//5.6.1 /usr/local/rrd/lib/perl/ /usr/local/rrd/lib/perl/5.6.1/sun4-solaris-64int /usr/local/rrd/lib/perl/5.6.1 /usr/local/rrd/lib/perl /usr/local/mrtg-2/lib/mrtg2 /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at /usr/local/apache2/cgi-bin/key1/14all_switch_traffic.cgi line 583 In the apacheerrorlogfile the follwing entry is made each time: [Thu Mar 22 13:55:59 2007] [error] [client 206.122.103.95] [Thu Mar 22 13:55:59 2007] 14all_switch_traffic.cgi: Use of inherited AUTOLOAD for non-method RRDs::last() is deprecated at /usr/local/apache2/cgi-bin/key1/14all_switch_traffic.cgi line 583., referer: http://smctest01:1990/cgi-bin/key1/14all_switch_traffic.cgi?dir=sec-3538/ [Thu Mar 22 13:55:59 2007] [error] [client 206.122.103.95] [Thu Mar 22 13:55:59 2007] 14all_switch_traffic.cgi: Can't locate auto/RRDs/last.al in @INC (@INC contains: /usr/local/rrd/lib/perl/ /usr/local/rrd/lib/perl/5.6.1/sun4-solaris-64int/ /usr/local/rrd/lib/perl//5.6.1 /usr/local/rrd/lib/perl/ /usr/local/rrd/lib/perl/5.6.1/sun4-solaris-64int /usr/local/rrd/lib/perl/5.6.1 /usr/local/rrd/lib/perl /usr/local/mrtg-2/lib/mrtg2 /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at /usr/local/apache2/cgi-bin/key1/14all_switch_traffic.cgi line 583, referer: http://smctest01:1990/cgi-bin/key1/14all_switch_traffic.cgi?dir=sec-3538/ As we are newtoMRTG and did not find some hintsrelated tothis problemin the mrtg forum, we decided to ask for help here in that forum. Thanks to you all who are willing to help– it is greatly appreciated. Best regards, Thorsten Mildeberger _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
