It looks like the AIX box had some funny things going on. I restarted STAF on it and now it's working ok.
20100122-15:27:31;4370;00000100;Caught STAFException: REGISTER Service
Request (6) - To: local, from Handle: 3, Handle Name:
STAFRegistrationProgram, Request: REGISTER TYPE STAF DATA :90:version:
3.3.5;osname: AIX;osmajor: 3;osminor: 5;osrev:
00CBD5C24C00;name: ;email: ;org: ;
20100122-15:27:31;4370;00000100;Caught STAFException in submitRemoteRequest
(), Exception: STAFInvalidParmException, Text: STA, Error code: 42
20100122-15:27:32;4113;00000100;Caught STAFException in
STAFProcess::ProcessMonitorThread(), Exception: STAFBaseOSErrorException,
Text: STAFEventSemReset: 22, Error code: 10
After restarting STAF, I'm not sure I have any more servers in the strange
state. I'll e-mail again if it happens to a server that is already working
ok. :),
Thanks,
Paul
From: Sharon Lucas/Austin/IBM
To: Paul Ellsworth/San Jose/i...@ibmus
Cc: [email protected]
Date: 01/28/2010 10:42 AM
Subject: Re: [staf-users] STAF running but does not return command output
Try adding the STDIN option specifying an empty file, e.g. /tmp/empty.txt,
you created on the machine where the process is running, e.g. on sjpwr5c2c.
Does that make a difference?
STAF sjpwr5c2c PROCESS START SHELL COMMAND "date" RETURNSTDOUT
STDERRTOSTDOUT STDIN /tmp/empty.txt WAIT
--------------------------------------------------------------
Sharon Lucas
IBM Austin, [email protected]
(512) 286-7313 or Tieline 363-7313
Paul
Ellsworth/San
Jose/IBM To
Sharon Lucas/Austin/i...@ibmus
01/28/2010 12:37 cc
PM [email protected]
Subject
Re: [staf-users] STAF running but
does not return command output
(Document link: Sharon Lucas)
The first return code of 1 doesn't always show up. Here's another machine
that it's happening, this time STAF is running on AIX.
[r...@sjx86098 ~]# staf sjpwr5c2c process start shell stderrtostdout
command "date" returnstdout wait
Response
--------
{
Return Code: 0]
Key : <None>
Files : [
{
Return Code: 0>
Data :
}
]
}
[r...@sjx86098 ~]# staf sjpwr5c2c ping ping
Response
--------
PONG
Thanks,
Paul
From: Sharon Lucas/Austin/IBM
To: Paul Ellsworth/San Jose/i...@ibmus
Cc: [email protected]
Date: 01/28/2010 10:31 AM
Subject: Re: [staf-users] STAF running but does not return command output
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, [email protected]
(512) 286-7313 or Tieline 363-7313
Paul
Ellsworth/San
Jose/i...@ibmus To
[email protected]
01/28/2010 12:21 cc
PM
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
<<inline: pic09430.gif>>
<<inline: doclink.gif>>
<<inline: pic30164.gif>>
------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/staf-users
