Hi,

  yep, /etc/profile the same on both systems:

ls -ld /etc/profile*
-rw-r--r--  1 root  wheel  2032 Jan 16 15:40 /etc/profile
-rw-r--r--  1 root  wheel   645 Jan 16 15:40 /etc/profile.old

 ls -ld /etc/profile*
-rw-r--r--  1 root  wheel  2032 Jul 13  2006 /etc/profile

(I copied the profile from the working server to the not working server so I knew they were the same)

Yeah, I can stick that extra code into the perl, but each time the package is updated Ill have to vi the perl. Also I have a work around of puting a link for the traceroute binary into /usr/bin... But more than that I just wanted to understand my system, and I still dont :S

Odd one, must be missing something basic! :P

thanks, Andy.
Try:
ls -ld /etc/profile* /etc/bash*

In Perl, before you call traceroute:

$ENV{PATH} .= ':/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin';


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to