[smokeping-users] Help with smokeping.cgi

Manoj Kumar Neelapareddy manojkreddyutl at yahoo.com
Fri Nov 14 07:56:28 MET 2003


Hi all,

i just installed smoke ping on Redhat linux 9
i am able to start and run the smokeping, but the
problem is with accesiing the smokeping.cgi with
webbrowser.

i am getting the error "500 Internal server erroor"

i found following lines in the error log of apache.

[Fri Nov 14 12:25:50 2003] [error] [client 10.37.4.3]
Premature end of script headers: smokeping.cgi
[Fri Nov 14 12:25:50 2003] [error] [client 10.37.4.3]
Can't locate Smokeping.pm in @INC (@INC contains:
/root/soft/smokeping/lib
/usr/local/rrdtool-1.0.45/lib/perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl .) at
/var/www/cgi-bin/smokeping.cgi line 7.
[Fri Nov 14 12:25:50 2003] [error] [client 10.37.4.3]
BEGIN failed--compilation aborted at
/var/www/cgi-bin/smokeping.cgi line 7.
[Fri Nov 14 12:25:50 2003] [error] [client 10.37.4.3]
speedy_backend[28885]: perl_parse error
[Fri Nov 14 12:25:50 2003] [error] [client 10.37.4.3]
speedy[28883]: Cannot spawn backend process


then after reffering to mailing lists i have changed
directory permissions with following command:

 chmod -R 700 /root/soft/smokeping

but i am getting the same error.

plz help in this

my smokeping.cgi file is listed below:

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

use lib qw(/usr/local/rrdtool-1.0.45/lib/perl);
use lib qw(/root/soft/smokeping/lib);

use Smokeping 1.24;

Smokeping::cgi("/root/soft/smokeping/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 }
    };
}


thanks
Manoj

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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