4 Mar 2005 20:34
CGI Error - Can't locate Pod/Usage.pm in <at> INC
Brian Faulkner <ecuity <at> gmail.com>
2005-03-04 19:34:06 GMT
2005-03-04 19:34:06 GMT
Hello, I see this error in my apache logs when I run smokeping.cgi; It looks like <at> INC is searching for an older version of perl. Is my current version of perl installed the wrong place or is there something I need to change for <at> INC to have the correct paths? This message in the archives looks like the same problem, but I don't see an answer posted. http://www.ee.ethz.ch/~slist/smokeping-users/msg00721.html I've also included my configuration just in case I missed something. Regards, Brian Can't locate Pod/Usage.pm in <at> INC ( <at> INC contains: /export/home/brian/smokeping/lib /usr/local/rrdtool-1.0.33/lib/perl /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/su n4-solaris /usr/perl5/site_perl/5.005 .) at /export/home/brian/smokeping/lib/Smokeping.pm line 7. BEGIN failed--compilation aborted at /export/home/brian/smokeping/lib/Smokeping.pm line 7. BEGIN failed--compilation aborted at /usr/www/site.smokeping/cgi-bin/smokeping.cgi line 7. speedy_backend[4864]: perl_parse error speedy[4862]: Cannot spawn backend process [Fri Mar 4 11:05:24 2005] [error] [client 172.16.2.43] Premature end(Continue reading)
To use:
touch /etc/init.d/smokeping
(Add the contents below)
chmod 700 /etc/init.d/smokeping
chkconfig smokeping on
service smokeping start
#! /bin/bash
# dund: SmokePing
#
# chkconfig: 345 99 00
# description: Network latency grapher
# Source function library.
. /etc/rc.d/init.d/functions
start()
{
echo -n $"Starting smokeping: "
cd /opt/smokeping
daemon bin/smokeping --logfile /var/log/smokeping.log
cd - &> /dev/null
RSS Feed