On the machine where you are submitting these requests, does "STAF local PING PING" work? RC 21 indicates a problem on the machine where you are submitting the request (not on the fox system).
$ STAF local HELP ERROR 21 Response -------- Description: STAF not running Details : This indicates that STAFProc is not running on the local machine with the same STAF_INSTANCE_NAME (and/or the same STAF_TEMP_DIR if on a Unix machine). Notes: 1. If the STAF_INSTANCE_NAME environment variable is not set, it defaults to "STAF". 2. On Unix, if the STAF_TEMP_DIR environment variable is not set, it defaults to "/tmp". This environment variable is not used on Windows. 3. This error can also occur when submitting a request using the local IPC interface on a Unix machine if the socket file that the local interface uses has been inadvertently deleted. 4. To get more information on this error, set special environment variable STAF_DEBUG_21=1 and resubmit your local STAF service request. Thanks, David David Bender 11501 Burnet Rd. Phone (T/L): 1-512-286-5315 STAF/STAX Development Bldg. 903-5B002 (363-5315) Austin, TX ITN: 23635315 IBM Software Group, 78758-3400 Email: bda...@us.ibm.com WPLC From: "jander...@talentex.co.uk" <jander...@talentex.co.uk> To: staf <staf-users@lists.sourceforge.net> Date: 07/14/2010 01:51 AM Subject: [staf-users] STAF incommunicado? I have a curious problem that I can't quite figure out; I have installed STAF 3.3.3 (as far as I remember) on several servers, in the following I try to reach the one on fox. If I try from another machine: # staf fox help help Error registering with STAF, RC: 21 But netstat on fox says: fox # netstat -a | grep -i 6550 tcp4 0 0 *.6550 *.* LISTEN fox # netstat -a | grep -i 6500 tcp4 0 0 *.6500 *.* LISTEN This is STAF.cfg on fox: fox # cat /usr/local/staf/bin/STAF.cfg # Turn on tracing of internal errors and deprecated options trace enable tracepoints "error deprecated" # Enable TCP/IP connections interface ssl library STAFTCP option Secure=Yes option Port=6550 interface tcp library STAFTCP option Secure=No option Port=6500 # Set default local trust trust machine local://local level 5 # Add default service loader serviceloader library STAFDSLS And if I try the same command from fox itself: fox # staf fox help help Response -------- HELP Service Help REGISTER SERVICE <Name> ERROR <Number> INFO <String> DESCRIPTION <String> UNREGISTER SERVICE <Name> ERROR <Number> [SERVICE <Name>] ERROR <Number> LIST SERVICES | [SERVICE <Name>] ERRORS HELP And finally, I can connect to the port from another machine: # telnet fox 6500 Trying 10.33.40.225... Connected to ux-rs6000-3.informatica.com. Escape character is '^]'. ? help Connection closed by foreign host. - As you can see, I get the server on fox to react (by throwing me off), which I can see from the trace on fox as well. So, what can the problem be? ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users