Raymond,
In STAF V3.3.4, there was a bug getting RC 22 when sending local requests
on Unix platforms (Bug #2819871) exactly like you're seeing. That's why
we released STAF V3.3.4.1 soon after STAF V3.3.4. For more information on
this bug, see
https://sourceforge.net/tracker/?func=detail&aid=2819871&group_id=33142&atid=407381.
You need to use STAF V3.3.4.1 or later. I'd recommend using the latest
STAF version, V3.4.1. Note that the STAF History file at
http://staf.sourceforge.net/history.php contains a list of all the bug
fixes and includes this bug fix in V3.3.4.1. When you're encountering a
problem and not using the latest version of STAF, it is a good idea to
check the STAF History file to see if the problem you're seeing has
already been fixed in a later version of STAF.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
Raymond Kroeker <raykroe...@gmail.com>
04/07/2010 01:46 PM
Please respond to
raykroe...@gmail.com
To
Sharon Lucas/Austin/i...@ibmus
cc
Subject
Re: [staf-users] Debugging STAFProc via telnet
Hi Sharon,
Thanks for the response! I'm using 3.3.4 that I've compile from source.
When I issue the version command I get:
$ STAF -verbose local misc version
$
Absolutely no response from the client. It does not hang, and it does not
output a return code. When I attempt to issue the same for a remote host,
the response is exactly the same.
The trace from STAFProc in both instances includes:
0100407-21:04:58;1111488864;00000200;Registered Handle: 3042,PID: 26509,
Name: STAF/Client
20100407-21:04:58;1111488864;00002000;Caught STAFException in
HandleRequest(): Connection terminated unexpectedly. , Exception:
STAFConnectionIOException, Location:
/home/rkroeker/workspace/staf-334/src/staf/stafif/STAFConnectionProviderInlImpl.cpp(253),
Text: STAFConnectionRead: select() timeout: recv() RC=0, Error code: 22
20100407-21:06:46;1111488864;00000200;Registered Handle: 3043,PID: 26510,
Name: STAF/Client
20100407-21:06:46;1111488864;00002000;Caught STAFException in
HandleRequest(): Connection terminated unexpectedly. , Exception:
STAFConnectionIOException, Location:
/home/rkroeker/workspace/staf-334/src/staf/stafif/STAFConnectionProviderInlImpl.cpp(253),
Text: STAFConnectionRead: select() timeout: recv() RC=0, Error code: 22
My tmp directory looks like:
$ ls -lh /tmp |grep -i staf
-rwxrwxrwx 1 ci users 0 2010-03-31 17:17
DataDir_-usr-local-staf-3.3.4-data-STAF.tmp
srwxrwxrwx 1 ci users 0 2010-03-31 17:17 STAFIPC_STAF
-rwxrwxrwx 1 ci users 0 2010-03-31 17:17 STAF.tmp
Raymond
On Wed, Apr 7, 2010 at 11:30, Sharon Lucas <luc...@us.ibm.com> wrote:
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
--
---------------------------------------------------------
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