[smokeping-users] PERL Problems - PLEASE HELP
Schalk Erasmus
schalk at home.incredible.com.na
Tue Oct 14 19:12:24 MEST 2003
Hi,
I do hope someone can assist.
Since last night, my SmokePing Server doesn't want to work anymore, after I
tried to install MRTG Graphs, and installed PERL 5.6.1 from
/usr/ports/lang/perl5/make install (since MRTG wanted PERL 5.1.x or
higher) - was running Perl 5.005
**********
# perl -v
**********
This is perl, v5.6.1 built for i386-freebsd
Copyright 1987-2001, Larry Wall
for some reason SmokePing still wants to use Perl 5.005!
I tried various things, BUT DID not change the Config files (or deleted my
data).
I also tried to run /usr/ports/net/smokeping/make deinstall and then
reinstall (still no luck).
*******************************************
Problem I get (based on Apache Error log):
*******************************************
[Tue Oct 14 16:36:30 2003] [error] [client 196.44.140.26] Premature end of
script headers: smokeping.cgi
[Tue Oct 14 16:36:30 2003] [error] [client 196.44.140.26] Can't locate
Pod/Usage.pm in @INC (@INC contains: /usr/local/smokeping/lib
/usr/pack/rrdtool-1.0.33-to/lib/perl
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5
/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503)
at
/usr/local/smokeping/lib/Smokeping.pm line 7.
[Tue Oct 14 16:36:30 2003] [error] [client 196.44.140.26] BEGIN
failed--compilation aborted at /usr/local/smokeping/lib/Smokeping.pm line 7.
[Tue Oct 14 16:36:30 2003] [error] [client 196.44.140.26] BEGIN
failed--compilation aborted at /usr/local/smokeping/htdocs/smokeping.cgi
line 7.
[Tue Oct 14 16:36:30 2003] [error] [client 196.44.140.26]
speedy_backend[19184]: perl_parse error
[Tue Oct 14 16:36:30 2003] [error] [client 196.44.140.26] speedy[19182]:
Cannot spawn backend process
Even when I try to run the smokeping script manually, I doesn't work:
# perl /usr/local/smokeping/lib/Smokeping.pm
Can't locate ISG/ParseConfig.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.6.1/mach
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.6.1/BSDPAN /usr/local/lib/perl5/5.6.1/mach
/usr/local/lib/perl5/5.6.1 .) at /usr/local/smokeping/lib/Smokeping.pm line
11.
BEGIN failed--compilation aborted at /usr/local/smokeping/lib/Smokeping.pm
line 11.
#
*********************
OS: FreeBSD Unix 4.8
Packages installed:
*********************
# pkg_info (as to what I think is applicable to Smokeping)
XFree86-libraries-4.3.0_4 XFree86-4 libraries and headers
apache-2.0.44 Version 2 of the extremely popular Apache http server
fping-2.4b2 Quickly ping N hosts w/o flooding the network
gd-2.0.15_1,1 A graphics library for fast creation of images
gettext-0.12.1 GNU gettext package
glib-1.2.10_9 Some useful routines of C programming (previous stable
vers
gmake-3.80 GNU version of 'make' utility
gtk-1.2.10_9 Gimp Toolkit for X11 GUI (previous stable version)
jpeg-6b_1 IJG's jpeg compression utilities
libiconv-1.8_2 A character set conversion library
libtool-1.3.4_4 Generic shared library support script
libtool-1.3.5_1 Generic shared library support script
libtool-1.4.3_2 Generic shared library support script
mrtg-2.10.5,1 The multi-router traffic grapher
p5-CGI-SpeedyCGI-2.21_3 Speed up perl CGI scripts by running them
persistently
p5-Net-1.17,1 Perl5 modules to access and use network protocols
p5-SNMP-4.2.0 A perl5 module for interfacing with the CMU SNMP library
p5-SNMP-Util-1.8 Perl modules to perform SNMP set,get,walk,next,walk_hash
et
p5-SNMP_Session-0.98 A perl5 module providing rudimentary access to SNMPv1
and v
p5-Storable-2.06 Persistency for perl data structures
p5-Test-Harness-2.26 Run perl standard test scripts with statistics
p5-Test-Simple-0.47_1 Basic utilities for writing tests in perl
perl-5.6.1_14 Practical Extraction and Report Language
pkgconfig-0.15.0 An utility used to retrieve information about installed
lib
png-1.2.5_2 Library for manipulating PNG images
rrdtool-1.0.41 Round Robin Database Tools
smokeping-1.23 Latency logging and graphing system
ucd-snmp-4.2.6_3 An extendable SNMP implementation
Any assistance would be highly appreciated.
Thank you for your time.
Regards
Schalk Erasmus
Incredible Networks
--
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