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

Brett Marler brett at asroma.homeip.net
Mon Feb 3 14:15:13 MET 2003


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



More information about the smokeping-users mailing list