[smokeping-users] Problem with tr.cgi and traceroute location

Tobias Oetiker tobi at oetiker.ch
Thu Apr 23 17:59:30 CEST 2009


Jubal,

the problem is that the PATH settings for cgis running on the
webserver seem to NOT include /usr/sbin I would add it to the cgi
wrapper ...

cheers
tobi

Today Jubal Kessler wrote:

> Greetings,
>
> 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?
>
> Thanks,
>
> Jubal
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the smokeping-users mailing list