On z/OS, the socket errno 122 is defined in /usr/include/errno.h.  It says 
it's an Input/output error:

  #define EIO             122  /* Input/output error         */

This error message means a call to accept() on a socket is failing with 
errno EIO (122) in either connproviders/tcp/STAFTCPConnProvider.cpp or 
connproviders/localipc/unix/STAFLocalIPCConnProvider.

Note that on Unix, STAF does write some empty socket files to the /tmp 
directory when STAFProc is started for locking purposes (to make sure that 
only one instance of STAFProc is running with the specified 
STAF_INSTANCE_NAME).  So, make sure that /tmp has not run out of space and 
that no one is deleting these files while STAFProc is running (e.g. 
<STAFInstanceName>.tmp, etc. where <STAFInstanceName> is STAF by default). 
 Otherwise, if /tmp has available space and no one is messing with these 
files then we need more information:

1) Do you mean that this trace error message is being logged in the 
STAFProc output?  If not, in what log file do you see this error being 
written?

2) Is this the complete error message that's being logging?  If not, 
please provide the complete error message.

3) When do you get this error?  Right away when STAFProc starts up?  Or 
later when you submit any STAF service request? etc.

4) Is a STAF service request failing?  If so, what STAF service request 
and with what RC and result?

5) What STAF service requests are you running when you get this error?
If you don't know, you could turn on STAF tracing for tracepoints 
ServiceRequest, ServiceResult (and possibly RemoteRequests).  Note that 
this will generate a lot of data if you are submitting/running a lot of 
STAF service requests on this machine so you might also want to redirect 
STAFProc's output to a file.   For example:

  STAF machine TRACE ENABLE TRACEPOINTS "ServiceRequest ServiceResult 
RemoteRequests"
  STAF machine TRACE SET DESTINATION TO FILE /tmp/staftrace.out

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   [EMAIL PROTECTED]
(512) 838-8347 or Tieline 678-8347




Phil Rumble <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
05/18/2008 10:24 PM

To
staf-users@lists.sourceforge.net
cc

Subject
[staf-users] Getting Error accepting on server socket,  socket RC: 122 
message on z/OS







Hi

I am getting lots of the same error

"Error accepting on server socket, socket RC: 122 "

being written to the log file.

Can anyone enlighten me as to why I would get this error.

I am running staf v3.24 on z/OS 1.9 & 1.8 in the USS area. There are no
other STAF services running apart from the default installation.

My initial investigation implied that errno 122 is the "Disk Quota
Exceeded". So I turned down the logging in the hope this will alleviate 
the
problem. I am yet to confirm this.

Thanks in Advance.

Phil Rumble


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to