[mrtg] MRTG/ Can't locate loadable object for module RRDs
Montoya
Juan.Montoya at Sun.COM
Sat Jan 16 02:57:30 CET 2010
Hi
I Installed rrdtol for Solaris 10 in my mrtg server
rrdtool-1.2.19-sol10-sparc-local
and the pakages were installed in:
/usr/local/doc/rrdtool/rrdtool.spec
/usr/local/rrdtool-1.2.19/bin/rrdcgi
/usr/local/rrdtool-1.2.19/bin/rrdtool
/usr/local/rrdtool-1.2.19/bin/rrdupdate
/usr/local/rrdtool-1.2.19/include/rrd.h
/usr/local/rrdtool-1.2.19/lib/librrd.a
/usr/local/rrdtool-1.2.19/lib/librrd.la
/usr/local/rrdtool-1.2.19/lib/librrd.so <symbolic link>
/usr/local/rrdtool-1.2.19/lib/librrd.so.2 <symbolic link>
/usr/local/rrdtool-1.2.19/lib/librrd.so.2.0.9
/usr/local/rrdtool-1.2.19/lib/librrd_th.a
/usr/local/rrdtool-1.2.19/lib/librrd_th.la
/usr/local/rrdtool-1.2.19/lib/librrd_th.so <symbolic link>
/usr/local/rrdtool-1.2.19/lib/librrd_th.so.2 <symbolic link>
/usr/local/rrdtool-1.2.19/lib/librrd_th.so.2.0.8
/usr/local/rrdtool-1.2.19/lib/perl/5.8.7/RRDp.pm
/usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/RRDs.pm
/usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/auto/RRDp/.packlist
/usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/ntmake.pl
/usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/perllocal.pod
and in my cfg file add the following lines
EnableIPv6: no
WorkDir:/MRTGHSBCM/H06/
Options[_]:bits,growright
LogFormat: rrdtool
<---- Add this line
PathAdd:/usr/local/rrdtool-1.2.19/bin
<---Add this line
LibAdd:/usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/
<---Add this line
But when run mrtg present this error ,
root at hcons07 # /usr/local/mrtg-2/bin/mrtg /MRTGHSBCM/H06/cfg/h06db.cfg
Can't locate loadable object for module RRDs in @INC (@INC contains:
/usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/
/usr/local/mrtg-2/bin/../lib/mrtg2 /usr/local/mrtg-2/bin
/usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4
/usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
/usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at
/usr/local/mrtg-2/bin/mrtg line 342
Compilation failed in require at /usr/local/mrtg-2/bin/mrtg line 342.
root at hcons07 #
this is the lines to mrtg file
339 # postload rrdtool support
340 if ($cfg{logformat} eq 'rrdtool'){
341 debug('base', "Loading RRD support");
342 require 'RRDs.pm';
Could you´re helpme to resolv this problem
Thanks..
More information about the mrtg
mailing list