IBM Support

PI90811: rotatelogs fails with relative paths in IBM HTTP Server V9

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Full path to rotatelogs is required in the httpd.conf for IBM
    HTTP Server V9
    

Local fix

  • Code the full path to rotatelogs in the httpd.conf.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of IHS v9 with rotatelogs             *
    ****************************************************************
    * PROBLEM DESCRIPTION: Relative paths are not working for      *
    *                      rotatelogs in IHS v9                    *
    ****************************************************************
    * RECOMMENDATION:  Apply this fix if using IHS v9 with         *
    *                  rotatelogs                                  *
    ****************************************************************
    With IHS 8.5, the full path to rotatelogs was not required in
    the httpd.conf as long as the path to the script was in the
    PATH envvar.  As of v9, attempting to use the relative path in
    the httpd.conf will result in an error in the error log like
    the following:
    EDC5129I No such file or directory.
    (errno2=0x053B006C): AH00088: exec of 'rotatelogs' failed
    (129)EDC5129I No such file or directory. (errno2=0x0516006C):
    AH00104: unable to start piped log program
    'rotatelogs -l logs/access_log.%Y.%m.%d 5M'
    

Problem conclusion

  • If a piped logger is given with a relative path, check under
    the ServerRoot
    and ServerRoot's bin/ subdirectory for a match instead of
    failing.
    
    This fix is targeted for IBM HTTP Server fix packs:
    - 9.0.0.7
    

Temporary fix

  • Code the full path to rotatelogs in the httpd.conf.
    

Comments

APAR Information

  • APAR number

    PI90811

  • Reported component name

    WAS IHS ZOS

  • Reported component ID

    5655I3510

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-11-29

  • Closed date

    2018-01-26

  • Last modified date

    2018-01-26

  • 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

    WAS IHS ZOS

  • Fixed component ID

    5655I3510

Applicable component levels

  • R90P PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0.0.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 May 2022