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 > /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]> wrote: > > > > > > > > > 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 path and other variables. > > > $PROCESS$ @@:set > /tmp/remedy_env.txt > > > Fred > > > -----Original Message----- > > From: Action Request System discussion list(ARSList) [mailto: > > [EMAIL PROTECTED] On Behalf Of TL > > Sent: Tuesday, January 22, 2008 7:33 AM > > To: [EMAIL PROTECTED] > > Subject: Re: Run Process in AL to execute a Perl script - Help! > > > 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:14am, Misi Mladoniczky <[EMAIL PROTECTED]> wrote: > > > > 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? > > > > Have you tried to call perl instead of the script? > > > $PROCESS$ @@:/x/y/perl /x/y/alert.pl > > > > To quickly test various ways of calling the script, you can create a > > > display-only-form with a command- and result-character field, and then > > > have an active link that performs $PROCESS$ @@:$command$ > > > > Best Regards - Misi, RRR AB,http://www.rrr.se > > > > > 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 specified." > > > > > I have moved the script to various locations on the server including > > > > the server directory for the AR System but Remedy still can't locate > > > > the file. Do I need to set some environment variable in the ar.conf > > > > to make this work? > > > > > Thank you, > > > > > Tom > > > > > ARS 6.3, ITSM 6.0 on RHEL 3 > > > _______________________________________________________________________________ > > UNSUBSCRIBE or access ARSlist Archives atwww.arslist.org > > Platinum Sponsor:www.rmsportal.comARSlist: "Where the Answers Are" > > -- > John David Sundberg > 235 East 6th Street, Suite 400B > St. Paul, MN 55101 > (651) 556-0930-work > (651) 247-6766-cell > (651) 695-8577-fax > [EMAIL PROTECTED] > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives atwww.arslist.org > Platinum Sponsor:www.rmsportal.comARSlist: "Where the Answers Are"- Hide > quoted text - > > - Show quoted text - _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"