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

Scott Schappell archon at silvertree.org
Fri Jun 10 22:37:31 MEST 2005


Srinivas Makam wrote:
> 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);

I got that all the time. I had to remove the "use lib
qw(/usr/local/rrdtool-1.2.9/lib/perl);" line.

Give that a try.

Also make sure /home/smakam/smokeping/lib is indeed where the smokeping lib
directory is.

-- 
PGP Key: http://archon.silvertree.org/pgp.txt

Fingerprint: E799 F032 BD9A 66B8 2930 AE2B E742 0B78 BADB 8E11

"Compassion and retribution are two sides of the same coin. Necessity
dictates on what side the coin will fall."

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