IBM Support

PH52867: GROOVY STEP FAILS WITH EDC5130I EXEC FORMAT ERROR

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Groovy step in UCD is failing with below error
    "EDC5130I Exec format error"
    
    If the error is encountered after an agent upgrade. This is
    because of change in shebang line in the newer
    "#!/usr/bin/env sh" instead of "#!/bin/sh" in files
    <GROOVY_HOME>/bin/groovy and <GROOVY_HOME>/bin/startGroovy
    

Local fix

  • Add below export statement
    export _BPX_SPAWN_SCRIPT=YES
    in the <AGENT_HOME>/bin/setenv-zos.sh script file and restart
    the agent.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * UCD Agent running on z/OS and _BPX_SPAWN_SCRIPT is not set   *
    * to YES for the userId                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Plugin step written in groovy failing with below error       *
    * "EDC5130I Exec format error"                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to agent version 7.3.2                               *
    ****************************************************************
    

Problem conclusion

  • This has been fixed in version 7.3.2.
    Environment variable _BPX_SPAWN_SCRIPT is set to YES in
    setenv-zos.sh file to resolve this issue.
    

Temporary fix

  • Add below export statement
    export _BPX_SPAWN_SCRIPT=YES
    in the <AGENT_HOME>/bin/setenv-zos.sh script file and restart
    the agent.
    

Comments

APAR Information

  • APAR number

    PH52867

  • Reported component name

    UC DEPLOY

  • Reported component ID

    5725M5400

  • Reported release

    723

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-02-27

  • Closed date

    2023-08-23

  • Last modified date

    2023-08-23

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

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

Fix information

  • Fixed component name

    UC DEPLOY

  • Fixed component ID

    5725M5400

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"723","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 August 2023