[smokeping-users] Problem with tr.cgi and traceroute location
alter3d at alter3d.ca
Thu Apr 23 17:59:00 CEST 2009
/usr/sbin isn't in the $PATH in the user context under which your web
server is running.
The easiest fix is to update the user's environment to include that
directory in their $PATH; the other option is to modify the SmokePing
file to explicitly point to /usr/sbin/traceroute (i.e. change 'system
"traceroute"...' to 'system "/usr/sbin/traceroute" ...').
Jubal Kessler wrote:
> I'm using smokeping version 2.4.2 on FreeBSD. When I use tr.html, I see
> this error:
> Can't exec "traceroute": No such file or directory at
> /usr/local/smokeping/lib/Qooxdoo/Services/Tqr.pm line 34.
> Line 34 shows:
> system "traceroute","-I","-q","1",$host;
> On FreeBSD, traceroute is in /usr/sbin. If I symlink
> /usr/sbin/traceroute to /usr/bin/traceroute, it'll work. I'd rather not
> do this from a maintenance standpoint (someday I'm going to forget that
> I made the symlink, and tr.html will again show the error). Might you
> have a better suggestion?
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
More information about the smokeping-users