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: arslist@ARSLIST.ORG
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:14 am, 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 at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to