<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I&#8217;ve got a similar problem going on, but I at least get an
error.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>This is probably a simple problem that I just can&#8217;t see&#8230;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>[Wed Jun 18 09:12:31 2008] [error] [client 10.22.16.108]
Parameter to use lib must be directory, not file at /var/www/html/tr.cgi line 4<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The lib configuration is the same as my smokeping.cgi, here&#8217;s
a clip from my tr.cgi:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>#!/usr/bin/speedy -w<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>use strict;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>use lib qw(/usr/bin/perl);<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>use lib qw(/usr/local/smokeping/lib);<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Any help would be appreciated!<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>
smokeping-users-bounces@lists.oetiker.ch
[mailto:smokeping-users-bounces@lists.oetiker.ch] <b>On Behalf Of </b>David
Tomic<br>
<b>Sent:</b> Friday, June 13, 2008 8:38 AM<br>
<b>To:</b> smokeping-users@lists.oetiker.ch<br>
<b>Subject:</b> Re: [smokeping-users] smoketrace for dummies help please<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Well ... I've just had one last crack at it, and despite my
most valiant efforts I'm still not having any luck.<br>
<br>
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.]<br>
<br>
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.<br>
<br>
Does that point to any really obvious errors/mistakes that I might have made?<br>
<br>
<br>
<br>
<br>
Tobias Oetiker wrote: <o:p></o:p></p>

<pre>Hi Jsg,<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>I expected that there were going to be some questions ...<o:p></o:p></pre><pre>veryfingint the js I included with version 2.4.0 I&nbsp; found that my<o:p></o:p></pre><pre>release script actualy was doing bad damage to it ... I am working<o:p></o:p></pre><pre>on 2.4.1 now, and will also address some of your points below in<o:p></o:p></pre><pre>the install instructions in the process ... thanks for spending the<o:p></o:p></pre><pre>time testing the beast ...<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Today <a
href="mailto:jsg@internode.on.net">jsg@internode.on.net</a> wrote:<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>&nbsp; <o:p></o:p></pre>

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

<pre><o:p>&nbsp;</o:p></pre><pre>Tr.js must be stored somewhere that the browser can read it ...<o:p></o:p></pre><pre>&nbsp; <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>2. Copy and edit htdocs/tr.html to your smokeping web directory. Make<o:p></o:p></pre><pre>sure the path to Tr.js is correct.<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp; <o:p></o:p></pre></blockquote>

<pre><o:p>&nbsp;</o:p></pre><pre>tr.html must be stored in the same location as tr.cgi, and this can<o:p></o:p></pre><pre>not be cgi-bin since that location will prevent tr.html from being<o:p></o:p></pre><pre>sent to the browser ..<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>&nbsp; <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>3. Copy htdocs/resource into the directory where you put tr.html.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Those should both be simple enough, once I know which directory it's<o:p></o:p></pre><pre>actually talking about! :p<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp; <o:p></o:p></pre></blockquote>

<pre><o:p>&nbsp;</o:p></pre><pre>the directory is irrelevant as long as the browser can read it, and<o:p></o:p></pre><pre>tr.cgi gets executed ...<o:p></o:p></pre><pre>&nbsp; <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>4. Copy and edit htdocs/tr.cgi.dist to the directory where you put<o:p></o:p></pre><pre>tr.html and change its name to tr.cgi. Make sure tr.cgi to adjust the<o:p></o:p></pre><pre>use lib line to point to the smokeping per lib directory, as you did<o:p></o:p></pre><pre>with smokeping.cgi. Make sure the webserver actually executes the tr.cgi<o:p></o:p></pre><pre>script.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Is that supposed to be &quot;perl&quot; lib directory?<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp; <o:p></o:p></pre></blockquote>

<pre><o:p>&nbsp;</o:p></pre><pre>&nbsp; <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>smokeping.cgi lists &quot;use lib qw(/usr/share/perl5/smokeping);&quot;&nbsp; ... is<o:p></o:p></pre><pre>that what I should be using?<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp; <o:p></o:p></pre></blockquote>

<pre><o:p>&nbsp;</o:p></pre><pre>yep<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>&nbsp; <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>I'm also confused by the qooxdoo folder included in the smokeping<o:p></o:p></pre><pre>package.&nbsp; I don't see it mentioned in any of the documentation anywhere,<o:p></o:p></pre><pre>so I'm not sure if I'm supposed to be doing anything with it?<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp; <o:p></o:p></pre></blockquote>

<pre><o:p>&nbsp;</o:p></pre><pre>this is the source of the qooxdoo application, for people who like<o:p></o:p></pre><pre>to hack on it ...<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>cheers<o:p></o:p></pre><pre>tobi<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>&nbsp; <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>ANY help would be really greatly appreciated!<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>smokeping-users mailing list<o:p></o:p></pre><pre><a
href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><o:p></o:p></pre><pre><a
href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>&nbsp;&nbsp;&nbsp; <o:p></o:p></pre></blockquote>

<pre><o:p>&nbsp;</o:p></pre><pre>&nbsp; <o:p></o:p></pre>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</HTML>