[smokeping-users] Smokeping error Help please.

kissima camara kissima.camara at gmail.com
Tue Jun 10 16:12:43 CEST 2008


Hello,

Installed smokeping on fedora9
Those are steps i  took:

yum install rrdtool

*perl-CGI-SpeedyCGI*

yum install perl-CGI-SpeedyCGI

*fping*

yum install fping

*Or do them all together:*

yum install rrdtool perl-CGI-SpeedyCGI fping

*Smokeping*

wget http://people.ee.ethz.ch/~oetiker/webtools/smokeping/pub/smokeping-2.0.9.tar.gz

tar xvzf smokeping-2.0.9.tar.gz

mv smokeping-2.0.9 /usr/local/smokeping

chown -R root:root /usr/local/smokeping

cd /usr/local/smokeping/bin

for foo in *.dist; do cp $foo `basename $foo .dist`; done

cd  /usr/local/smokeping/etc/

for foo in *.dist; do cp $foo `basename $foo .dist`; done

cd /usr/local/smokeping/htdocs

for foo in *.dist; do cp $foo `basename $foo .dist`; done


and i configured like this:
_____________________________________________________________
#!/usr/bin/perl5.10.0 -w
# -*-perl-*-

use lib qw(/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi);

use lib qw(/usr/local/smokeping/lib);

use Smokeping 2.003006;

Smokeping::main("/usr/local/smokeping/etc/config.");


_____________________________________________________________
#!/usr/bin/speedy -w
# -*-perl-*-

use lib qw(/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi);
use lib qw(/usr/local/smokeping/lib);
use CGI::Carp qw(fatalsToBrowser);

use Smokeping 2.003006;

Smokeping::cgi("/usr/local/smokeping/etc/config.");
_____________________________________________________________

I keep getting this error:
[root at localhost bin]# ./smokeping
Can't locate RRDs.pm in @INC (@INC contains: /usr/local/smokeping/lib
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0 /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.10.0 /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 .) at
/usr/local/smokeping/lib/Smokeping.pm line 13.
BEGIN failed--compilation aborted at
/usr/local/smokeping/lib/Smokeping.pm line 13.
Compilation failed in require at ./smokeping line 8.
BEGIN failed--compilation aborted at ./smokeping line 8.

Can someone help?




-- 
Kissima M. Camara

-- 
Kissima M. Camara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20080610/49e17355/attachment.html 


More information about the smokeping-users mailing list