Re: Perl UNIX shell PATH problem with apache www user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andy Smith wrote:
> Hi List,
> 
>   probably quite a basic question, but where does perl get its PATH
> variable from when executig shell commands?

By the PATH defined for the user that "runs" the web server, that most
of the time is the 'default' PATH.

> have is that I have the same version of smokeping and Rt.pm on two
> different servers and on one I have been getting the error "traceroute
> no such file or directory"

Traceroute is most of the time under /sbin, maybe you need to add it
specifically to the path or check the permissions

Davide

-- 
It's a lot less painful and more fun to learn from someone else's
experience than on you own skin. - Bob Arnold

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux