IBM Support

LI80680: API CONNECT 5.0.8 PORTAL GENERATE_LOGS FAILS ERROR OCCURRED IN SCRIPT GENERATE_LOGS AT LINE: 225.

 

APAR status

  • Closed as program error.

Error description

  • When executing generate_logs script, it may fail with the
    following
    
    $ generate_logs
    Generating logs ...
    rm: cannot remove 'etc': Is a directory
    Error occurred in script generate_logs at line: 225.
    Line exited with status: 1
    

Local fix

  • If you see this error, the workaround is to delete the `etc`
    `home` `tmp` and `var` directories that exist in
    `/home/admin/logs/` Running generate_logs afterwards should work
     successfully.
    

Problem summary

  • generate_logs script may fail with:
    
    rm: cannot remove 'etc': Is a directory
    Error occurred in script generate_logs at line: 225.
    Line exited with status: 1
    

Problem conclusion

  • Fix targeted for release in v5086.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI80680

  • Reported component name

    API CONNECT ENT

  • Reported component ID

    5725Z2201

  • Reported release

    508

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-12

  • Closed date

    2019-03-21

  • Last modified date

    2019-03-21

  • 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

    API CONNECT ENT

  • Fixed component ID

    5725Z2201

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"508","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
08 September 2023