IBM Support

IV53385: OSLEVEL RETURNS AWK MESSAGE FIELD IS NOT CORRECT WITH UTF LOCALE APPLIES TO AIX 6100-09

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The following message is displayed when running oslevel
    if
    the locale is set to a UTF-8 locale:
    # echo $LANG
    EN_US
    # oslevel -s
    awk: Field IV32750:bos.perf.tools:6.1.7.18:6.1.7.18:=:
    DISCONNECTED FIBRE CHANEL ADAPTER'S EFFECT NMON (  ? KEY
    )
    is not correct.
    The input line number is 49911. The file is
    /tmp/.oslevel.datafiles/.oslevel.rml.cache.
    The source line number is 1.
    awk: Field IV32750:bos.perf.tools:6.1.7.18:6.1.7.18:=:
    DISCONNECTED FIBRE CHANEL ADAPTER'S EFFECT NMON
    (  ? KEY ) is not correct.
     oslevel: Error processing cache, return code 215.
     oslevel: Use the -f flag to rebuild cache.
    

Local fix

  • Set the LANG environment variable to C when running the
    oslevel command:
    # LANG=C oslevel -s
    6100-07-07-1316
    

Problem summary

  • oslevel will return the following error
    -> oslevel -s
    awk: 0602-562 Field $(IV32750:bos.perf.tools:6.1.7.18:6.1.7.18
    :=:DISCONNECTED FIBRE CHANEL ADAPTER'S EFFECT NMON ( ª KEY ))
    is not correct. The input line number is 36713.  The file is
    /tmp/.oslevel.datafiles/.oslevel.rml.cache ....
    

Problem conclusion

  • Parse fix description from search field
    

Temporary fix

Comments

  • 6100-07 - use AIX APAR IV46597
    6100-08 - use AIX APAR IV57810
    6100-09 - use AIX APAR IV53385
    6100-09 - use AIX APAR IV53385
    6100-09 - use AIX APAR IV53385
    7100-01 - use AIX APAR IV53254
    7100-02 - use AIX APAR IV53263
    7100-03 - use AIX APAR IV53387
    

APAR Information

  • APAR number

    IV53385

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2013-12-16

  • Closed date

    2013-12-16

  • Last modified date

    2014-08-14

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

    IV46597

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

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U859281

       UP14/05/21 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Standard Edition

Software version: 610

Operating system(s): AIX

Reference #: IV53385

Modified date: 14 August 2014