IBM Support

PH67454: EXECUTING OSGICFGINIT.SH SHOWS ERROR COMMAND NOT FOUND: GOSH

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

  • while executing osgiCfgInit.sh at runtime and during upgrade
    below error is seen
    
    gogo: CommandNotFoundException: Command not found: gosh
    org.apache.felix.gogo.runtime.CommandNotFoundException: Command
    not found: gosh
           at org.apache.felix.gogo.runtime.Closure.executeCmd(Clos
    ure.java:474)
           at org.apache.felix.gogo.runtime.Closure.executeStatemen
    t(Closure.java:403)
           at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
           at
    org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
           at
    org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
           at org.apache.felix.gogo.runtime.CommandSessionImpl.exec
    ute(CommandSessionImpl.java:89)
           at
    org.apache.felix.gogo.shell.Activator.run(Activator.java:80)
           at java.lang.Thread.run(Thread.java:825)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: The osgiConfigInit script logs a        *
    *                      CommandNotFoundException to the         *
    *                      console.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The osgiConfigInit script logs the following exception to the
    console indicating the Felix GoGo shell command ("gosh") is not
    found.
    gogo: CommandNotFoundException: Command not found: gosh
    org.apache.felix.gogo.runtime.CommandNotFoundException: Command
    not found: gosh
    at org.apache.felix.gogo.runtime.Closure.executeCmd(Clos
    ure.java:474)
    at org.apache.felix.gogo.runtime.Closure.executeStatemen
    t(Closure.java:403)
    at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
    at
    org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
    at
    org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
    at org.apache.felix.gogo.runtime.CommandSessionImpl.exec
    ute(CommandSessionImpl.java:89)
    at
    org.apache.felix.gogo.shell.Activator.run(Activator.java:80)
    at java.lang.Thread.run(Thread.java:825)
    The CommandNotFoundException may occur during product updates
    and normal usage of the osgiCfgInit script.
    The exception is benign and does not impact the operation of
    the osgiCfgInit script.
    

Problem conclusion

  • APAR PH67454 modifies the osgiCfgInit script to ignore the
    CommandNotFoundException rather than log it to the console.
    
    The fix for this APAR is targeted for inclusion in fix pack
    9.0.5.26. For more information, see 'Recommended Updates for
    WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH67454

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-07-22

  • Closed date

    2025-08-19

  • Last modified date

    2025-08-19

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Document Information

Modified date:
19 August 2025