[smokeping-users] smoketrace for dummies help please

Michael Dafforn mdafforn at netplatform.com
Wed Jun 18 17:10:50 CEST 2008

I've got a similar problem going on, but I at least get an error.


This is probably a simple problem that I just can't see...


[Wed Jun 18 09:12:31 2008] [error] [client] Parameter to
use lib must be directory, not file at /var/www/html/tr.cgi line 4


The lib configuration is the same as my smokeping.cgi, here's a clip
from my tr.cgi:



#!/usr/bin/speedy -w

use strict;

use lib qw(/usr/bin/perl);

use lib qw(/usr/local/smokeping/lib);


Any help would be appreciated!



From: smokeping-users-bounces at lists.oetiker.ch
[mailto:smokeping-users-bounces at lists.oetiker.ch] On Behalf Of David
Sent: Friday, June 13, 2008 8:38 AM
To: smokeping-users at lists.oetiker.ch
Subject: Re: [smokeping-users] smoketrace for dummies help please


Well ... I've just had one last crack at it, and despite my most valiant
efforts I'm still not having any luck.

Loading the tr.html page directly in the browser just gives me a
completely blank screen. [The source code is still there, but it's just
not doing anything.]

I don't see an error message anywhere, either in my browser, or the
apache logs, so the page doesn't appear to be doing anything at all.

Does that point to any really obvious errors/mistakes that I might have

Tobias Oetiker wrote: 

Hi Jsg,
I expected that there were going to be some questions ...
veryfingint the js I included with version 2.4.0 I  found that my
release script actualy was doing bad damage to it ... I am working
on 2.4.1 now, and will also address some of your points below in
the install instructions in the process ... thanks for spending the
time testing the beast ...
Today jsg at internode.on.net wrote:

	Hi guys,
	I've managed the upgrade to smokeping 2.4.0 without any major
	but I simply can NOT for the life of me get the smoketrace part
of it up
	and running.
	I'm very much a novice when it comes to all this scripting
stuff, so I
	think I might be in need of some pretty basic help.
	Can anybody please spare me the time/patience to walk me through
	what needs to be done, step by step?
	Obviously I've tried reading the documentation ... but I'm still
	struggling with it.
	Here's what's laid out in the documentation.
	1. Copy htdocs/script/Tr.js to your smokeping web directory.
	I'm not sure which path this is actually referring to?
	All my images etc are stored in /var/www/smokeping but my
	file is in /usr/lib/cgi-bin.  The latter is also where you're
sent when
	you actually load smokeping in the browser.  IE

Tr.js must be stored somewhere that the browser can read it ...

	2. Copy and edit htdocs/tr.html to your smokeping web directory.
	sure the path to Tr.js is correct.

tr.html must be stored in the same location as tr.cgi, and this can
not be cgi-bin since that location will prevent tr.html from being
sent to the browser ..

	3. Copy htdocs/resource into the directory where you put
	Those should both be simple enough, once I know which directory
	actually talking about! :p

the directory is irrelevant as long as the browser can read it, and
tr.cgi gets executed ...

	4. Copy and edit htdocs/tr.cgi.dist to the directory where you
	tr.html and change its name to tr.cgi. Make sure tr.cgi to
adjust the
	use lib line to point to the smokeping per lib directory, as you
	with smokeping.cgi. Make sure the webserver actually executes
the tr.cgi
	Is that supposed to be "perl" lib directory?


	smokeping.cgi lists "use lib qw(/usr/share/perl5/smokeping);"
... is
	that what I should be using?


	I'm also confused by the qooxdoo folder included in the
	package.  I don't see it mentioned in any of the documentation
	so I'm not sure if I'm supposed to be doing anything with it?

this is the source of the qooxdoo application, for people who like
to hack on it ...

	ANY help would be really greatly appreciated!
	smokeping-users mailing list
	smokeping-users at lists.oetiker.ch



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20080618/457a3bef/attachment.html 

More information about the smokeping-users mailing list