Re: Run Process in AL to execute a Perl script - Help!

2008-01-22 Thread Misi Mladoniczky
Hi Tom, Does this work if you login to the server and execute the command from a shell using the same user that the ARSystem was installed as? Have you checked the permissions on the file? Have you checked the hash-bang at the first line of the script so that it points to the perl executable?

Re: Run Process in AL to execute a Perl script - Help!

2008-01-22 Thread TL
The script does work when run as root. Permissions are -rwxr-xr-x so anyone can execute it. I tried to call perl -v outfile but I'm still The system cannot find the file specified. I'm stumped. Tom On Jan 22, 3:14 am, Misi Mladoniczky [EMAIL PROTECTED] wrote: Hi Tom, Does this work if you

Re: Run Process in AL to execute a Perl script - Help!

2008-01-22 Thread Grooms, Frederick W
And you Remedy server runs as root? It still sounds like the perl binary is not found in your path for the user that Remedy runs under (or it is lost from the path statement inside the Remedy server. Try listing the environment to a text file from inside your Remedy server just to see the

Re: Run Process in AL to execute a Perl script - Help!

2008-01-22 Thread John Sundberg
$PROCESS$ @@:which perl /tmp/remedy_which.txt Will tell you which perl it is trying to use -- if it can find one. Just a sidenote -- I would probably push a value to a form -- with a filter on it - to run the perl vs from an AL. -John On 1/22/08, Grooms, Frederick W [EMAIL PROTECTED]

Re: Run Process in AL to execute a Perl script - Help!

2008-01-22 Thread TL
I got it to work. I was not returning a value, so the command @@:/usr/ local/lib/perl5/site_perl/5.8.7/Custom/alert.pl works. Not $PROCESS$ @@:/usr/local/lib/perl5/site_perl/5.8.7/Custom/alert.pl Thanks all. On Jan 22, 9:41 am, John Sundberg [EMAIL PROTECTED] wrote: $PROCESS$ @@:which perl

Re: Run Process in AL to execute a Perl script - Help!

2008-01-22 Thread William H. Will Du Chene
I know that I am coming into the conversation a bit late, but after reading the thread, I thought that I would offer up a few comments for consideration. Running scripts and applications as the 'root' user on any *nix platform is just plain poor policy. First, the script or application is

Run Process in AL to execute a Perl script - Help!

2008-01-21 Thread TL
Hi all, I'm trying to run a Perl script from an Active link. I'm firing the AL on a CTI match. The Run Process action looks like this: $PROCESS$ @@:/usr/local/lib/perl5/site_perl/5.8.7/Custom/alert.pl No matter what I do, Remedy is giving me the following error: The system cannot find the file