**
I have it fixed now, hopefully.  The strange thing was I had this RUN PROCESS on if tab of the escalation which doesn't have a qualification.  However I moved it the else tab and it ran.
 
Den
 
**

>>> "McKenzie, James J C-E LCMC HQISEC/L3" <[EMAIL PROTECTED]> 8/30/2006 12:58 PM >>>

Den:
 
Why are you doing things the hard way?
 
Just call the script from the Escalation.  Make sure the script calls a valid shell.  Make sure that the application can be run by the REMEDY user (be it root or someone else.)  I have run scripts from ALs, Filters and Escalations and they all worked after I massaged the command line like so:


/opt/ar/bin/somescript_exists_here.sh
 
In the script the first line is:
 
#!/bin/sh
# some comments here.
Commands
# Yet another comment
 
It appears that your script is either improperly written (and if you send it to me off-list I will try to look at it)
 
James McKenzie
L-3 GSI
 

________________________________

From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Den Fong
Sent: Wednesday, August 30, 2006 11:51 AM
To: [email protected]
Subject: Re: arimportcmd on Escalation


**
Okay I thought back to basics was the best way to do this.
 
So I ran the process:
 
/bin/env >> /export/home/remps/import/env.txt
 
To get anything out, and nothing.
 
 
 
**


>>> PC Wai <[EMAIL PROTECTED]> 8/30/2006 11:44 AM >>>

Hi Den,
 
Does the mapping file directory (-d) or some files has the right file path? When the AR System shells out the process, it may not have the same system environment as you run it interactively.


Regards
PC Wai

________________________________

From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Den Fong
Sent: Wednesday, August 30, 2006 9:53 AM
To: [email protected]
Subject: Re: arimportcmd on Escalation


**
I'm running the script as a user, this is the generic Remedy system user on the sun box.  This is the user that owns the arsystem and files.


The script has Read & Execute by everyone, the .arm file has read by everyone and so does the .csv file. 
 
 
**


>>> "McKenzie, James J C-E LCMC HQISEC/L3" <[EMAIL PROTECTED]> 8/30/2006 10:17 AM >>>


Den:
 
This may sound stupid, but are you running Remedy ARS as root or another user?  If it is another user, make sure that user has access to the entire file structure of at least read/execute and that the user has read and execute permissions.  Of course, this does not apply if the user is root.


James Mckenzie
 

________________________________

From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Den Fong
Sent: Wednesday, August 30, 2006 9:14 AM
To: [email protected]
Subject: Re: arimportcmd on Escalation


**
Okay I tried that and still no luck without the @@:
 
Den
 
**


>>> "McKenzie, James J C-E LCMC HQISEC/L3" <[EMAIL PROTECTED]> 8/30/2006 10:03 AM >>>


Den:
 
Loose the two at signs and the colon.  All escalations run against the server and never against the client.
 
James McKenzie
 

________________________________

From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Den Fong
Sent: Wednesday, August 30, 2006 9:01 AM
To: [email protected]
Subject: arimportcmd on Escalation


**
Hey Guys
 
I'm trying to get s script to execute on an escalation, the scipt works fine if we execute it via a shell, but not through an escalation.


In the escalation I have it as a run process :
 
@@:/export/home/remps/import/smsimport.sh
 
Which doesn't do anything.
 
Any ideas?
 
Den
 

__20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___

__20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___

Reply via email to