Yes, the execute bits are on. I've changed it to @@:/opt/ar/remedy/bin/logreconstart.sh "$USER$" "$colJobName$" "$TIMESTAMP$" as a run process command.
ACL logging? Anne Ramey From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Shyman, Jonathan Sent: Thursday, April 16, 2009 3:17 PM To: [email protected] Subject: Re: run process issue ** Hmm...Troubleshooting 1. Is the execute bit set on the logreconstart.sh script? (I assume this will get a "Of course" response, but I had to ask) 2. Are you trying to execute the $PROCESS$ from a Run Process action or a Set Fields? 3. If you turn on ACL logging what do you see in the log? --- J.T. Shyman From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Ramey, Anne Sent: Thursday, April 16, 2009 3:09 PM To: [email protected] Subject: Re: run process issue ** I tried this, and still get "The system cannot find the file specified." Now my command is: $PROCESS$ @@:/opt/ar/remedy/bin/logreconstart.sh "$USER$" "$colJobName$" "$TIMESTAMP$" and the script is just what you suggested: #!/bin/sh echo $1 $2 $3 >> /opt/ar/remedy/cmdb/Logs/startrecon.log And it is in place with execute permissions. ??? Anne Ramey From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Lyle Taylor Sent: Thursday, April 16, 2009 2:51 PM To: [email protected] Subject: Re: run process issue ** What if you add the full path to echo in the command: $PROCESS$ @@:/bin/echo "$USER$" "$colJobName$" "$TIMESTAMP$" >> startrecon.log However, I suspect that that won't work either, because ">>" is a shell directive and will get interpreted as an argument to echo rather than telling the shell what to do with the output of the echo command. You might be better off writing a little shell script that take three command line arguments and effectively has this command in it. Something like this: #!/bin/sh echo $1 $2 $3 >> /path/to/startrecon.log Then your run process action would look like this: $PROCESS$ @@:/path/to/scrip "$USER$" "$colJobName$" "$TIMESTAMP$" Good luck. Lyle From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Ramey, Anne Sent: Thursday, April 16, 2009 12:42 PM To: [email protected] Subject: run process issue ** I'm having an issue with a run-process command from an active link: $PROCESS$ @@:echo "$USER$" "$colJobName$" "$TIMESTAMP$" >> startrecon.log or $PROCESS$ echo "$USER$" "$colJobName$" "$TIMESTAMP$" >> startrecon.log I get a "system cannot find file specified" error. This command from the command line creates the file if it doesn't exist. That's what I want. I've also passed the entire path with no luck. I've also tried specifying the full path to a file that does exist. What am I doing wrong? ARS 7.0, Linux RHEL 4 Anne Ramey _Platinum Sponsor: [email protected] ARSlist: "Where the Answers Are"_ NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. _Platinum Sponsor: [email protected] ARSlist: "Where the Answers Are"_ _Platinum Sponsor: [email protected] ARSlist: "Where the Answers Are"_ _Platinum Sponsor: [email protected] ARSlist: "Where the Answers Are"_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"

