First, add option STDERRTOSTDOUT so that you can see if there's any 
additional error information when it fails.

Also, try adding option SHELL.  For example:  STAF local PROCESS START 
SHELL COMMAND "date" RETURNSTDOUT STDERRTOSTDOUT WAIT

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




Paul Ellsworth/San Jose/i...@ibmus 
01/28/2010 12:21 PM

To
staf-users@lists.sourceforge.net
cc

Subject
[staf-users] STAF running but does not return command output






This has happened both right after starting STAF as well as after it 
already has been working.

It appears to mainly affect starting processes. STAF pinging it works. 
Here's an example of the failure:

sjx64ycle:~ # staf local process start command "date" returnstdout wait
Response
--------
{
Return Code: 1
Key : <None>
Files : [
{
Return Code: 0
Data :
}
]
}

It should be:
[r...@sjx86098 ~]# staf local process start command "date" returnstdout 
wait
Response
--------
{
Return Code: 0
Key : <None>
Files : [
{
Return Code: 0
Data : Thu Jan 28 10:19:12 PST 2010

}
]
}

Any ideas?

Thanks,
Paul E.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the 
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to