[smokeping-users] FW:  upgrading to 2.4.2
    Arnon Levkovich 
    ArnonL at BEZEQINT.CO.IL
       
    Wed Sep 23 09:26:26 CEST 2009
    
    
  
 
Actually,
I found out there was a mess with the paths. I corrected it and it works
- kinda....
 
Now, when I press the *, I get a error on my browser:
 
Line: 16844
Char: 9
Error: '$5' is null or not an object
Code: 0
URL: http://<IP>/apache2-default/tr.html.
 
And the table on the new smoketrace window is blank.
 
The apache log show the following:
[Wed Sep 23 09:46:40 2009] [error] [client CLIENT] (2)No such file or
directory: exec of '/var/www/apache2-default/tr.cgi' failed, referer:
http://<IP>/apache2-default/tr.html
[Wed Sep 23 09:46:40 2009] [error] [client CLIENT] Premature end of
script headers: tr.cgi, referer: http://<IP>/apache2-default/tr.html
[Wed Sep 23 09:46:53 2009] [error] [client CLIENT] (2)No such file or
directory: exec of '/var/www/apache2-default/tr.cgi' failed, referer:
http://<IP>/apache2-default/tr.html
[Wed Sep 23 09:46:53 2009] [error] [client CLIENT] Premature end of
script headers: tr.cgi, referer: http://<IP>/apache2-default/tr.html
 
This is tr.html:
smokeping:/var/www/apache2-default# cat tr.html
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"
/>
    <title>SmokeTrace</title>
    <script type="text/javascript" src="script/Tr.js"></script>
  </head>
</html>
 
This is tr.cgi:
smokeping:/var/www/apache2-default# cat tr.cgi
#!/usr/sepp/bin/speedy-5.8.8 -w
use strict;
#use lib qw(/usr/share/perl5/smokeping);
#use lib qw(perl);
use lib qw(/var/www/smokeping/lib);
use lib qw(/usr/lib/perl/5.8.8/);
 
use CGI;
use CGI::Util qw(expires);
use CGI::Session;
use Qooxdoo::JSONRPC;
 
#$Qooxdoo::JSONRPC::debug=1;
 
# Change this space-separated list of directories to include
# Qooxdoo::JSONRPC.pm and co-located Services
 
# If this module can't be found, the previous line is incorrect
 
# Instantiating the CGI module which parses the HTTP request
 
my $cgi     = new CGI;
my $session = new CGI::Session;
 
# You can customise this harness here to handle cases before treating
# the request as being JSON-RPC
Qooxdoo::JSONRPC::handle_request ($cgi, $session);
 
Any ideas?
Arnon
________________________________
From: smokeping-users-bounces at lists.oetiker.ch
[mailto:smokeping-users-bounces at lists.oetiker.ch] On Behalf Of Jan
Rockstedt
Sent: Tuesday, September 22, 2009 7:38 PM
To: smokeping-users at lists.oetiker.ch
Subject: Re: [smokeping-users] upgrading to 2.4.2
 
Arnon,
 
Please post  your config file, so we can what is wrong.
 
Jan
	----- Original Message ----- 
	From: Arnon Levkovich <mailto:ArnonL at BEZEQINT.CO.IL>  
	To: smokeping-users at lists.oetiker.ch 
	Sent: Tuesday, September 22, 2009 10:27 AM
	Subject: [smokeping-users] upgrading to 2.4.2
	 
 
 
Hello all,
 
I've been trying to upgrade from 2.3.6 to 2.4.2 and I'm having a
problem. 
On the last instruction on the upgrade manual page:
http://oss.oetiker.ch/smokeping/doc/smoketrace.en.html
I am told to add some code to the "config file" under the Targets
section. 
 
menuextra = <a target='_blank' href='tr.html{HOST}' class='{CLASS}' \
onclick="window.open(this.href,this.target, \
'width=800,height=500,toolbar=no,location=no,status=no,scrollbars=no');
\
return false;">*</a>
 
Since I don't have a single config file, I added the code to the Targets
file inside /etc/smokeping/config.d/Targets
I restarted the smokeping process and when I enter the webpage, I get
"line 6: unknown variable 'menuextra'"
How do I fix this?
 
Thanks!
Arnon
	
________________________________
	This message was enriched by Impactia Technologies Ltd.
www.impactia.com
	Please do not enrich
<http://impactia.bezeqint.co.il/exclude.ASP?email=smokeping-users@lists.
oetiker.ch&domain=BEZEQINT.CO.IL&id=777>  emails sent to me.
	<hr size=2 width="100%" align=center> 
	_______________________________________________
	smokeping-users mailing list
	smokeping-users at lists.oetiker.ch
	https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20090923/8d26acee/attachment-0001.htm 
    
    
More information about the smokeping-users
mailing list