IBM Support

IZ62541: INSTALLER BROKE THE PARSING FOR AGENTS THAT USE % IN THEIR .INI

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    ITM 6.20 unix/linux
    
    Problem Description:
         The problem is caused by sed command using % as delimter
         while % is part of the string being replaced
    
    Detailed Recreation Procedure:
         (1) install and config ITM 6.2 ud agent
         (2) run command
               itmcmd history -C ud -i <instance>
         (3) an error message like the following will display
      sed: 0602-404 Function s%$1%"/opt/IBM/ITM/aix526/ud/hist/%
    (DB2INSTANCE)"% cannot be parsed.
         (4) related entries in ud.ini and ud.env
     in ud.ini
    
    CTIRA_HIST_DIR=$CANDLEHOME$/$BINARCH$/$PRODUCTCODE$/hist/%(DB2IN
    STANCE)
     in ud.env
      CTIRA_HIST_DIR=/opt/IBM/ITM/aix526/ud/hist/%(DB2INSTANCE)
    

Local fix

  • Workaround:
    replace the following line in ud.ini
    
    CTIRA_HIST_DIR=$CANDLEHOME$/$BINARCH$/$PRODUCTCODE$/hist/%(DB2IN
    STANCE)
    
    with
    CTIRA_HIST_DIR=$CANDLEHOME$/$BINARCH$/$PRODUCTCODE$/hist/actuali
    nstance
    
    where acutalinstance is the actual name of the instance.
    

Problem summary

  • When the CandleHistory command is invoked for the ud agent
    without an instance name, it returns the error:
    
    sed: 0602-404 Function
    s%$1%"/opt/IBM/ITM/aix526/ud/hist/%(DB2INSTANCE)"% cannot be
    parsed.
    
    When the CandleHistory command is invoked for the ud agent with
    a valid instance name, it returns the error:
    
    CANDLEHOME/config/ud_${instance}.config does not exist
    

Problem conclusion

  • Two issues are addressed in this fix:
    #1 When the instance name is not specified, display a meaningful
    error message.
    
    #2 when the instance name is correctly specified, use the
    correct config file CANDLEHOME/config/ud.config
    
    The fix for this APAR is included in the following maintenance
    vehicle:
        | interim fix | 6.2.0.3-TIV-ITM-IF0003
        | fix pack | 6.2.1-TIV-ITM-FP0002
        | fix pack | 6.2.2-TIV-ITM-FP0002
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ62541

  • Reported component name

    OMEG DIST INSTA

  • Reported component ID

    5608A41CI

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-10-05

  • Closed date

    2009-12-30

  • Last modified date

    2010-06-02

  • 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

    OMEG DIST INSTA

  • Fixed component ID

    5608A41CI

Applicable component levels

  • R620 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTFXA","label":"Tivoli Monitoring"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 November 2022