IBM Support

PQ04944: IF TCPIP IS NOT CONNECTED TO OPENEDITION WHEN THE OE FTPD SERVER IS STARTED, THE FPTD SERVER WILL TERMINATE IMMEDIATELY

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If TCP/IP is not connected to OpenEdition when the OE ftpd
    server (ftp daemon) is started, ftpd will terminate
    immediately.  It will not retry the socket call.
     This situation prevents the use of the /etc/rc facility which
    automatically starts processes when OMVS is brought up.  The
    problem occurs when the ftpd process started with /etc/rc
    issues its socket call before TCP/IP has been able to connect
    to OpenEdition.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All JTCP317 OE ftp users who try to start    *
    *                 OE ftp before TCP is up.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: If TCP/IP is not connected to           *
    *                      OpenEdition when the OE ftpd            *
    *                      server (ftp daemon) is started, ftpd    *
    *                      will terminate immediately. It will not *
    *                      retry the socket call. This situation   *
    *                      prevents the use of the /etc/rc         *
    *                      facility which automatically starts     *
    *                      processes when OMVS is brought up. The  *
    *                      problem occurs when the ftpd process    *
    *                      started with /etc/rc issues its socket  *
    *                      call before TCP/IP has been able to     *
    *                      connect to OpenEdition.                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    OE ftpd needs to check the error on the daemon socket call, and
    if it's EAGAIN (resource temporarily not available) go to sleep
    and the try the socket call again after 60 seconds.
    

Problem conclusion

  • The OE ftpd has been modified to check for EAGAIN errno on the
     socket() call and go into a sleep loop (every 60 seconds)
     retrying the socket() call until TCP/IP to OpenEdition
     connection is complete.
    
     The TCP/IP for OpenEdition MVS Version 3 Application Feature
     Guide (SC31-8069-00) should be changed as follows:
    
     If TCP/IP initialization is not complete before FTP is started,
     the FTP server will be unable to establish a socket and the
     following message will be sent to syslogd and written
     to the appropriate HFS file:
     EZYFT12E socket error: EDC5112 Resource temporarily unavailable
    
     The FTP server will continue to try every minute until TCP/IP
     initialization is complete, at which time FTP initialization
     can complete.  FTP will not recognize a stop command at this
     stage of its initialization, but you can issue a cancel
     command.
    
     The equivalent softcopy file will also be updated.
    
    * Cross Reference between External and Internal Names
    EZAFTPSM (FTPDMSG )
    

Temporary fix

Comments

APAR Information

  • APAR number

    PQ04944

  • Reported component name

    TCP/IP V3 MVS

  • Reported component ID

    5655HAL00

  • Reported release

    317

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    1997-05-29

  • Closed date

    1997-06-30

  • Last modified date

    1997-08-05

  • APAR is sysrouted FROM one or more of the following:

    PQ03151

  • APAR is sysrouted TO one or more of the following:

    UQ06766

Modules/Macros

  • EZAFTPLD EZAFTPLS EZAFTPSK EZAFTPSM
    

Publications Referenced
SC31806900    

Fix information

  • Fixed component name

    TCP/IP V3 MVS

  • Fixed component ID

    5655HAL00

Applicable component levels

  • R317 PSY UQ06766

       UP97/07/23 P F707

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"317","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSCY4DZ","label":"DO NOT USE"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"317","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
05 August 1997