[smokeping-users] Antwort: Re: ÿso-8859-1?Q?can´t_locate_object_method_ ???
Stefan.Wiederoder at kaufland.de
Stefan.Wiederoder at kaufland.de
Wed Feb 27 11:38:34 MET 2002
Hello Tobias,
thanks for your fast answer. I´ve dumped everything to start with a clean
smokeping base.
I´ve put everything in /opt/smokeping (/lib /etc /htdocs ...) and below are
the files smokeping and smokeping.cgi. I´m using Suse Linux v73, which
installs
rrdtool the following way:
northpole:/opt/smokeping/bin # rpm -q -l rrdtool
/usr/bin/i386-suse-linux-rrdcgi
/usr/bin/i386-suse-linux-rrdtool
/usr/bin/i386-suse-linux-rrdupdate
/usr/bin/i386-suse-linux-trytime
/usr/include/rrd.h
/usr/lib/librrd.a
/usr/lib/librrd.la
/usr/lib/librrd.so
/usr/lib/librrd.so.0
/usr/lib/librrd.so.0.0.0
/usr/lib/perl5/site_perl/5.6.1/RRDp.pm
/usr/lib/perl5/site_perl/5.6.1/i586-linux/RRDs.pm
/usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/RRDp
/usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/RRDp/.packlist
/usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/RRDs
/usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/RRDs/.packlist
/usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/RRDs/RRDs.bs
/usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/RRDs/RRDs.so
/usr/lib/perl5/site_perl/5.6.1/i586-linux/ntmake.pl
/usr/lib/tclrrd1.0.33
/usr/lib/tclrrd1.0.33.so
/usr/lib/tclrrd1.0.33/pkgIndex.tcl
/usr/share/doc/packages/rrdtool
/usr/share/doc/packages/rrdtool/CHANGES
/usr/share/doc/packages/rrdtool/CONTRIBUTORS
....
So I put the path to rrdtool to /usr/lib - is this correct ?
northpole:/opt/smokeping/bin # more smokeping
#!/usr/bin/perl -w
use lib qw(/usr/lib);
use lib qw(/opt/smokeping-1.1/lib);
use Smokeping 1.1;
Smokeping::main("/opt/smokeping/etc/config");
northpole:/opt/smokeping/bin #
northpole:/opt/smokeping/bin # more ../htdocs/smokeping.cgi
#!/usr/bin/speedy -w
use lib qw(/usr/lib);
use lib qw(/opt/smokeping/lib);
use Smokeping 1.0;
Smokeping::cgi("/opt/smokeping/etc/config");
BEGIN {
if ($ENV{SERVER_SOFTWARE}) {
$SIG{__WARN__} = sub { print "<pre>Warning: ".(shift)."</pre>"; };
$SIG{__DIE__} = sub { print "<pre>Error: ".(shift)."</pre>"; exit 1
}
};
}
northpole:/opt/smokeping/bin #
running smokeping still says:
northpole:/opt/smokeping/bin # ./smokeping
Can't locate object method "new" via package "probes::FPing" (perhaps you
forgot to load "probes::FPing"?) at /opt/smokeping-1.1/lib/probes/FPing.pm
line 36.
northpole:/opt/smokeping/bin #
on the other side - I´m running Cricket with rrdtool perfectly on the same
machine.
bye
,
Stefan
--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the smokeping-users
mailing list