[rrd-users] RRD perl module problems

zajaco0 at engr.uky.edu zajaco0 at engr.uky.edu
Tue Oct 19 16:05:15 MEST 2004


Hi,

I am trying to install and configure RRDTool-1.0.49 with Redhat 7.3.  The
RRDTool will be used to process RRD Files and a seperate perl script,
CUGrapher.pl uses the RRD perl module to display graphs generated by the
RRDTool.  I am running an apache server on my local machine and Bastille linux
has been installed in the intention of securing the box.

I have installed/uninstalled the RRDTool numerous times with no errors.
Everything seems to install to the correct directories.  Visiting the localhost
on my browser and pointing to the CUGrapher.pl script (Which has "use RRD" on
line 10 of the script) gives the following error in my error-log file of my
apache server:

Can't locate loadable object for module RRDs in @INC (@INC contains:
/usr/lib/perl5/5
.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.
0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl
/5.6.1 /usr/lib/perl5/vendor_perl .) at /usr/local/apache/cgi-bin/CUGrapher.pl
line 10

I installed RRDTool with the following commands:
./configure --enable-shared --prefix=/usr/local/rrdtool
make install site-perl-install

I was under the impression --enable-shared was the command that needed to be
passed to enable the RRD perl module to be able to be ran with a browser.

I seem to have the correct files in the /usr/lib/perl5/site_perl/5.6.1 directory

[root at netflow 5.6.1]# ls
Archive  Boulder.pod  ConfigReader.pod  Digest.pm  Foomatic  i386-linux  Log
RRDp.pm  RRDTool  Stone  Term  Values.pm  Boulder  ConfigReader  Digest
DirectiveStyle.pm  HTML  IO  Net  RRDs.pm  Spec.pm  Stone.pm  Test

any help would be appreciated.

~Zach

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list