What version of STAF are you using? STAF local MISC VERSION
Are you saying that STAF service requests submitted to the local IPC
interface (e.g. "local" or "local://local") are unresponsive? But, if you
specify the local machine's (or a remote machine's) hostname or IP address
(which uses the ssl or tcp interface), the STAF service request responds?
If so, then it sounds like the problem is with STAF's local IPC interface
(aka connection provider).
When you say a STAF service request submitted to "local" is unresponsive,
what do you mean? It hangs? Or it fails (and if so fails with what RC
and result?)
Note that on Unix, the STAF local IPC interface uses a socket file created
in the /tmp directory when STAFProc is started. If you're using the
default STAF_INSTANCE_NAME (which is STAF), the socket file will be called
/tmp/STAFIPC_STAF. This socket file is required for the STAF local IPC
interface to work. Make sure that no one has inadvertently deleted this
socket file as this will cause STAF service requests submitted to "local"
to fail with RC 21.
# ls -l /tmp/STAFIPC_STAF
srwxrwxrwx 1 root root 0 Mar 19 17:35 /tmp/STAFIPC_STAF
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
Raymond Kroeker <raykroe...@gmail.com>
04/07/2010 12:18 PM
Please respond to
raykroe...@gmail.com
To
staf-users@lists.sourceforge.net
cc
Subject
[staf-users] Debugging STAFProc via telnet
I have a recurring (but not repeatable) configuration where STAFProc
becomes unresponsive to requests from local, but not remote and I
cannot determine what is going on. I would like to attempt to debug
by sending commands via telnet (ie telnet localhost 6500,PING PING;
didn't work stated invalid api version) for example to isolate where
the issue is occurring.
>From the trace log:
20100407-19:39:25;1111488864;00002000;Caught STAFException in
HandleRequest(): Connection terminated unexpectedly. , Exception:
STAFConnectionIOException, Location:
${path-to-staf}/STAFConnectionProviderInlImpl.cpp(253), Text:
STAFConnectionRead: select() timeout: recv() RC=0, Error code: 22
I have built staf myself on this host (the default packaging didn't
work on SuSE 9 64b).
I do not have the STAFProc console output (was lost when I logged out
after starting, and I did not direct to a file).
Does anyone have any suggestions?
Thanks.
--
---------------------------------------------------------
Raymond Kroeker
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users