Hi,

I'm facing a problem while running a shell script from staf. The shell
script "server" runs fine only when I execute it through "process start
shell command ./server ".
Same script when executed through "process start command ./server" STAF
throws  "STAFProcess::processMonitorThread: Could not start process
(execve):8".
Please find the log below..

*[r...@vpi43s3 cthon04]# staf local process start command ./server WORKDIR
/root/qa/suites/nfs_tests/cthon04 returnSTDOUT returnSTDERR WAIT*
*Response*
*--------*
*{*
*  Return Code: 1*
*  Key        : <None>*
*  Files      : [*
*    {*
*      Return Code: 0*
*      Data       :
20090224-19:08:11;1152985408;00000100;STAFProcess::processMonitorThread:
Could not start process (execve):8*
*    }*
*    {*
*      Return Code: 0*
*      Data       :*
*    }*
*  ]*
*}*
*[r...@vpi43s3 cthon04]# staf local process start shell command
./serverWORKDIR /root/qa/suites/nfs_tests/cthon04 returnSTDOUT
returnSTDERR WAIT
--(runs fine)*
*Response*
*--------*
*{*
*  Return Code: 1*
*  Key        : <None>*
*  Files      : [*
*    {*
*      Return Code: 0*
*      Data       : usage: server [-a|-b|-g|-s|-l|-c] [-f|-t|-n|-h] [-o
mnt_options] [-p server_path] [-m mntpoint] [-N passes] server_name*
*    }*
*    {*
*      Return Code: 0*
*      Data       :*
*    }*
*  ]*
*}*
*[r...@vpi43s3 cthon04]#*
**
Anybody tell me whats the issue here. How can I resolve this.

Regards,
Srinivas.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to