[smokeping-users] Problem with tr.cgi and traceroute location
Al_Sorrell at troweprice.com
Thu Apr 23 18:48:03 CEST 2009
If you're running Apache, you could probably set the PATH environment
variable in the config file with a SetEnv statement.
>From: smokeping-users-bounces at lists.oetiker.ch
[mailto:smokeping-users-bounces at lists.oetiker.ch] On
>Behalf Of Tobias Oetiker
>Sent: Thursday, April 23, 2009 12:00 PM
>To: Jubal Kessler
>Cc: smokeping-users at lists.oetiker.ch
>Subject: Re: [smokeping-users] Problem with tr.cgi and traceroute
>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
>Today Jubal Kessler wrote:
>> I'm using smokeping version 2.4.2 on FreeBSD. When I use tr.html, I
>> 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
>> do this from a maintenance standpoint (someday I'm going to forget
>> 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
>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
>smokeping-users mailing list
>smokeping-users at lists.oetiker.ch
T. Rowe Price (including T. Rowe Price Group, Inc. and its affiliates) and its associates do not provide legal or tax advice. Any tax-related discussion contained in this e-mail, including any attachments, is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding any tax penalties or (ii) promoting, marketing, or recommending to any other party any transaction or matter addressed herein. Please consult your independent legal counsel and/or professional tax advisor regarding any legal or tax issues raised in this e-mail.
The contents of this e-mail and any attachments are intended solely for the use of the named addressee(s) and may contain confidential and/or privileged information. Any unauthorized use, copying, disclosure, or distribution of the contents of this e-mail is strictly prohibited by the sender and may be unlawful. If you are not the intended recipient, please notify the sender immediately and delete this e-mail.
More information about the smokeping-users