[smokeping-users] Re: HELP - SMOKEPING.CGI ERROR

Mukesh Bavisi mukesh.bavisi at exponential-e.com
Mon Feb 3 14:24:40 MET 2003


Brett

1st of all thanks for your help.

I have got speedycgi installed and I have changed the top line to
#!/usr/bin/speedy -w as well as the other lines you have mentioned. But
I just can't figure out why it keeps complaining about that. Do you
think it could be a bad install of speedycgi.

Thanks

Muk

-----Original Message-----
From: smokeping-users-bounce at list.ee.ethz.ch
[mailto:smokeping-users-bounce at list.ee.ethz.ch] On Behalf Of Brett
Marler
Sent: 03 February 2003 13:15
To: Mukesh Bavisi
Cc: smokeping-users at list.ee.ethz.ch
Subject: [smokeping-users] Re: HELP - SMOKEPING.CGI ERROR 

Mukesh,

> [Sat Feb 01 23:31:51 2003] [error] [client 192.168.0.2]
> speedy_backend[2357]: perl_parse error
> [Sat Feb 01 23:31:51 2003] [error] [client 192.168.0.2] speedy[2355]:
> Cannot spawn backend process

Have you got SpeedyCGI installed? If you do, what's the line at the top
of 
your smokeping.cgi file? You may need to change it from what it was
supplied 
as. It should generally be:

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

You also need to change the 3rd line to point to your version of RRDTool
and 
the 4th line to point to where you installed Smokeping too. As well as 
supplying the full path to your configuration file. Under Linux, mine
looks 
like:

--
pc-linux% cat /var/www/cgi-bin/smokeping.cgi
#!/usr/bin/speedy -w
# -*-perl-*-

use lib qw(/usr/local/rrdtool-1.0.39/lib/perl/);
use lib qw(/usr/local/smokeping/lib/);

use Smokeping 1.15;

Smokeping::cgi("/usr/local/smokeping/etc/config");
--


Regards.
-- 
Brett Marler <brett at asroma.homeip.net>
WWW:	http://asroma.homeip.net/




-- Binary/unsupported file stripped by Ecartis --
-- Err : No filename to use for decode, file stripped.
-- Type: application/pgp-signature


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

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