[smokeping-users] Re: Internal Server Error with RRD-TOOL (both ver) on FreeBSD

Schalk Erasmus schalk at internet.na
Tue Jul 12 15:15:59 MEST 2005


Hi Dan,

No luck.... :(

I installed the p5-Getopt-Long port (from ports collection) and restarted
the smokeping service. NO LUCK.

I then installed the old RRD-Tool, to see if that might to the trick and
again restarted the smokeping service, after running:

relay# pkgdb -F
--->  Checking the package registry database
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 59 packages
found (-1 +2) (...).. done]
Stale dependency: smokeping-1.42 -> rrdtool-1.2.10 (net/rrdtool):
rrdtool-1.0.49 (score:76%) ? ([y]es/[n]o/[a]ll) [no] y
Fixed. (-> rrdtool-1.0.49)

relay# /usr/local/etc/rc.d/smokeping.sh stop
relay# /usr/local/etc/rc.d/smokeping.sh start


Still no luck.

Apache logs:

[Tue Jul 12 14:06:16 2005] [error] [client 196.1.2.3] Premature end of
script headers: smokeping.cgi

With RRD-Tool 1, only the above error in the Apache logs. Other message with
this version of RRD is no longer apearing in the logs. :)

Any other ideas?

Regards
Schalk



On 7/12/05 1:33 PM, "Dan McGinn-Combs" <Dan.McGinn-Combs at Geac.com> wrote:

> Schalk,
> The one message that jumps out is the fact that Apache can't find
> RRDs.pm. This would make it hard for it to work. :)
> Your @INC has everything else, but no pointer to the RRD libs. I don't
> think the FreeBSD port installs into the PERL directory tree.
> 
> Also line 6 in the Smokeping.pm's I have on my system at present all
> point to Getopt::Long. Make sure you have that module installed on your
> system as well.
> 
> Good luck!
> Dan
> 
> -----Original Message-----
> I've been battling for two weeks to get my smokeping server up and
> running.
> 
> #####################
> 
> [Mon Jul 11 17:41:31 2005] [error] [client 196.1.2.3] Can't locate
> RRDs.pm
> in @INC (@INC contains: /usr/local/smokeping/lib
> /usr/local/lib/perl5/site_perl/5.8.7/mach
> /usr/local/lib/perl5/site_perl/5.8.7
> /usr/local/lib/perl5/site_perl/5.8.7
> /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.7/BSDPAN
> /usr/local/lib/perl5/5.8.7/mach /usr/local/lib/perl5/5.8.7 .) at
> /usr/local/smokeping/lib/Smokeping.pm line 13.
> 
> [Mon Jul 11 17:41:31 2005] [error] [client 196.1.2.3] BEGIN
> failed--compilation aborted at /usr/local/smokeping/lib/Smokeping.pm
> line
> 13.
> [Mon Jul 11 17:41:31 2005] [error] [client 196.1.2.3] Compilation failed
> in
> require at /usr/local/smokeping/htdocs/smokeping.cgi line 6.
> [Mon Jul 11 17:41:31 2005] [error] [client 196.1.2.3] BEGIN
> failed--compilation aborted at /usr/local/smokeping/htdocs/smokeping.cgi
> line 6.
> [Mon Jul 11 17:41:31 2005] [error] [client 196.1.2.3]
> speedy_backend[1049]:
> perl_parse error
> [Mon Jul 11 17:41:32 2005] [error] [client 196.1.2.3] speedy[1047]:
> Cannot
> spawn backend process
> [Mon Jul 11 17:41:32 2005] [error] [client 196.1.2.3] Premature end of
> script headers: smokeping.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://lists.ee.ethz.ch/smokeping-users
> WebAdmin    http://lists.ee.ethz.ch/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://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the smokeping-users mailing list