[smokeping-users] Re: Help with a new install of Smokeping

Joe Lawson jlawson at financeware.com
Sun Jun 15 16:22:55 MEST 2003


Muhammad,
Thanks for the tip.  I re-visited the directory permissions and found that
was indeed the problem.  It's up and running now (I just wish I had asked
for help about 4 hours earlier).

Sincerely, 

Joe

-----Original Message-----
From: Muhammad Talha [mailto:talha at worldcall.net.pk]
Sent: Sunday, June 15, 2003 8:17 AM
To: Joe Lawson; smokeping-users at list.ee.ethz.ch
Subject: Re: [smokeping-users] Help with a new install of Smokeping


i think this is some permission issue

try this

chmod -R 700 /home/test/smokeping-1.19

Regards

Talha


----- Original Message ----- 
From: "Joe Lawson" <jlawson at financeware.com>
To: <smokeping-users at list.ee.ethz.ch>
Sent: Sunday, June 15, 2003 4:57 PM
Subject: [smokeping-users] Help with a new install of Smokeping


> Greetings,
> Being the "nix" newbie that I am, I've finally gotten smokeping and the
> dependent software installed on a RH 7.2 box.  The smokeping --debug and
> daemon calls work (I tested them first).  However, when I call the
> smokeping.cgi script from a browser, I get this error:
>
> [Sat Jun 14 22:15:39 2003] [error] [client 10.0.0.204] Premature end of
> script headers: /var/www/cgi-bin/smokeping.cgi
> Can't locate Smokeping.pm in @INC (@INC contains:
> /home/smokeping/smokeping/lib /usr/local/rrdtool-1.0.42/lib/perl
> /usr/local/lib/perl5/5.8.0/i686-linux /usr/local/lib/perl5/5.8.0
> /usr/local/lib/perl5/site_perl/5.8.0/i686-linux
> /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl .) at
> /var/www/cgi-bin/smokeping.cgi line 7.
> BEGIN failed--compilation aborted at /var/www/cgi-bin/smokeping.cgi line
7.
> speedy_backend[29464]: perl_parse error
> speedy[29462]: Cannot spawn backend process
> [Sat Jun 14 22:16:00 2003] [error] [client 10.0.0.204] Premature end of
> script headers: /var/www/cgi-bin/smokeping.cgi
>
>
>
> the smokeping.cgi (line 7) looks like this:
>
> #!/usr/local/bin/speedy -w
> # -*-perl-*-
>
> use lib qw(/usr/local/rrdtool-1.0.42/lib/perl);
> use lib qw(/home/smokeping/smokeping/lib);
>
> use Smokeping 1.20;
>
> Smokeping::cgi("/home/smokeping/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 }
>     };
> }
>
>
> The referenced paths all look correct.  I've beaten myself up enough on
this
> for one day. I thought I read the manuals, can anyone throw me a bone
> here... and maybe point me in the right direction?
>
> TIA,
>
> Joe
>
>
>
> --
> 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