<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
Thanks for the reply.<br>
<br>
The traceroute command works just fine on the box and I've also tried
putting in the full path in the Tr.pm<br>
<br>
That's why I thought best to post here for some help :)<br>
<br>
Cheers,<br>
<br>
Phill.<br>
<br>
G.W. Haywood wrote:
<blockquote
 cite="mid:Pine.LNX.4.58.0901120843490.16975@mail3.jubileegroup.co.uk"
 type="cite">
  <pre wrap="">Hi there,

On Mon, 12 Jan 2009, Phill Channon wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">I have a working install of smokeping and just trying to set up smoke
trace, and get an error:

Can't exec "traceroute: No such file or directory at
/usr/local/www/data/smokeping/lib/Qooxdoo/Services/Tr.pm line 34.

I haven't modified Tr.pm at all and line 34 says:

         system "traceroute","-I","-q","1",$host;

Does anyone have any ideas what this could be?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
The message appears to be telling you what the problem is.  Either you
haven't got a working traceroute on your system, in whihc case you
need to install it, or you need to tell Smokeping where it is.  For
example you might need to enter a full path in line 34 of the Tr.pm
script.  Just as an example, if your traceroute binary is located at

/full/path/to/traceroute

then you could change line 34 to

system "/full/path/to/traceroute","-I","-q","1",$host;

There might be better ways of doing it mentioned in the documentation.
In general making ad-hoc changes to scripts like this is a maintenance
nightmare later on.  For example when you upgrade the package it's not
likely that your changes will be preserved, and you won't have made any
notes about what you did, when you did it, and why...  The proper ways
of telling Perl the locations of the tools it needs have been designed
to avoid maintenance problems like this.

--

73,
Ged.
  </pre>
</blockquote>
</body>
</html>