[smokeping-users] apache error when smokeping.cgi is invoked from the browser

Srinivas Makam smakam60540 at yahoo.com
Fri Jun 10 22:26:36 MEST 2005


I got 500 Internal server error and the following
messages in the /etc/httpd/logs/error_log file.
My URL was: http://localhost/cgi-bin/smokeping.cgi

The smokeping.cgi has first few lines like:
#!/usr/bin/speedy -w
# -*-perl-*-
use lib qw(/usr/local/rrdtool-1.2.9/lib/perl);
use lib qw(/home/smakam/smokeping/lib);
use CGI::Carp qw(fatalsToBrowser);
 
use Smokeping;
 
Smokeping::cgi("/home/smakam/smokeping/etc/config");

------
Apache error_log output:
------------
[Fri Jun 10 15:17:01 2005] [error] [client 127.0.0.1]
Can't locate lib.pm in @INC (@INC contains:
/usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005 .) at
/var/www/cgi-bin/smokeping.cgi line 3.
[Fri Jun 10 15:17:01 2005] [error] [client 127.0.0.1]
BEGIN failed--compilation aborted at
/var/www/cgi-bin/smokeping.cgi line 3.
[Fri Jun 10 15:17:01 2005] [error] [client 127.0.0.1]
speedy_backend[14152]: perl_parse error
[Fri Jun 10 15:17:02 2005] [error] [client 127.0.0.1]
speedy[14150]: Cannot spawn backend process
[Fri Jun 10 15:17:02 2005] [error] [client 127.0.0.1]
Premature end of script headers: smokeping.cgi
----------------

I have all the libraries in the paths specified in
smokeping.cgi. The smokeping daemon is running. I am
not sure if smokeping should create a base or index
HTML file. I don't find any.
Which file should the user point the URL to in order
to  display reports?



		
__________________________________ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html

--
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://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the smokeping-users mailing list