The RC 8 is an OS return code: #define ENOEXEC 8 /* Exec format error */
Try the following and show us the exact output: staf 10.31.248.238 process start shell command "perl /root/sample.pl" RETURNSTDOUT STDERRTOSTDOUT WAIT Thanks, David David Bender STAF/STAX Development IBM Software Group, WPLC 11501 Burnet Rd. Bldg. 903-5B002 Austin, TX 78758-3400 Phone (T/L): 1-512-286-5315 (363-5315) ITN: 23635315 Email: bda...@us.ibm.com arul prakash <arulprakas...@gmail.com> 12/17/2009 09:08 AM To David Bender/Austin/i...@ibmus cc Subject Re: [staf-users] Error submitting request, RC: 10 Hi, Thanks for the response.I have fixed that error by adding "#!/usr/bin/perl" in the begining of my script.Now when I execute the same command from my windows machine I encounter this error STAFProcess:: processMonitorThread: Could not start process (execve):8 Thanks, Arul On Thu, Dec 17, 2009 at 8:19 PM, David Bender <bda...@us.ibm.com> wrote: Try one of the following: staf 10.31.248.238 process start shell command "perl /root/sample.pl" staf 10.31.248.238 process start command perl parms /root/sample.pl Thanks, David David Bender STAF/STAX Development IBM Software Group, WPLC 11501 Burnet Rd. Bldg. 903-5B002 Austin, TX 78758-3400 Phone (T/L): 1-512-286-5315 (363-5315) ITN: 23635315 Email: bda...@us.ibm.com arul prakash <arulprakas...@gmail.com> 12/17/2009 07:56 AM To staf-users@lists.sourceforge.net cc Subject [staf-users] Error submitting request, RC: 10 hi all, I am trying to execute a perl script in my remote machine which is a VM(RHEL 4) from my windows machine.When I execute the below command.I get this error message. C:\>staf 10.31.248.238 process start command perl /root/sample.pl Error submitting request, RC: 10 Additional info --------------- Invalid command: perl /root/sample.pl The command is not a file or does not have execute permissions. OS RC 2 -- Regards, Arul Prakash S ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users -- Regards, Arul Prakash S PSG college of technology 9738506010
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users