If you're running Apache, you could probably set the PATH environment variable in the config file with a SetEnv statement. Al
>-----Original Message----- >From: [email protected] [mailto:[email protected]] On >Behalf Of Tobias Oetiker >Sent: Thursday, April 23, 2009 12:00 PM >To: Jubal Kessler >Cc: [email protected] >Subject: Re: [smokeping-users] Problem with tr.cgi and traceroute location > >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 >> [email protected] >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >> >> > >-- >Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland >http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900 > >_______________________________________________ >smokeping-users mailing list >[email protected] >https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users 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. _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
