[smokeping-users] cgi problems still

James Lamb james at oranged.to
Sat Oct 5 06:47:43 MEST 2002


Hello,
I am having problems still with smokeping
I dont have errors anymore in my errorlog for apache but now i get this

Undefined subroutine &Smokeping::cgi called at 
/var/lib/apache/cgi-bin/smokeping.cgi line 9.



And when i go into look at the file it says

dog at monitor:/var/log# cat /var/lib/apache/cgi-bin/smokeping.cgi
#!/usr/bin/speedy -w
# -*-perl-*-

use lib qw(/usr/local/rrdtool-1.0.33/lib/perl);
use lib qw(/root/smokeping-1.12/lib);

#use Smokeping 1.12;

Smokeping::cgi("/root/smokeping-1.12/etc/config");


BEGIN {
     if ($ENV{SERVER_SOFTWARE}) {
         $SIG{__WARN__} = sub { print "Content-Type: 
text/plain\n\n".(shift)."\n"; };
         $SIG{__DIE__} = sub { print "Content-Type: 
text/plain\n\n".(shift)."\n"; exit 1 }
     };
}
dog at monitor:/var/log#

any ideas would be much appreciated
thanks
James

--
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