IBM Support

IZ28163: ON HP-UX ,ossGetDiskInfo function may fail with ECF_PARTIAL_INFO due to buffer overrun

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ON HP-UX ,ossGetDiskInfo function may fail with
    ECF_PARTIAL_INFO due to buffer overrun
    
    Snippet of db2diag.log
    ***********************
    2008-07-21-09.17.01.785694-240 I1837A651          LEVEL: Severe
    PID     : 16529                TID  : 1           PROC :
    db2agent (D02) 0
    INSTANCE: db2d02               NODE : 000
    APPHDL  : 0-8                  APPID: *LOCAL.db2d02.080721131701
    AUTHID  : DB2D02
    FUNCTION: DB2 UDB, buffer pool services, sqlbGetFileSystemInfo,
    probe:15
    MESSAGE :
    ZRC=0x800201A5=-2147352155=SQLB_AS_INVALID_STORAGE_PATH
              "Storage path does not exist or is inaccessible."
    DATA #1 : String, 30 bytes
    Could not get file system info
    DATA #2 : Pointer, 8 bytes
    0xc00000001d710b40
    DATA #3 : Pointer, 8 bytes
    0x9fffffffffff0b00
    DATA #4 : Bitmask, 4 bytes
    0x00000180
    
    2008-07-21-09.17.01.813628-240 I2489A529          LEVEL: Severe
    PID     : 16529                TID  : 1           PROC :
    db2agent (D02) 0
    INSTANCE: db2d02               NODE : 000
    APPHDL  : 0-8                  APPID: *LOCAL.db2d02.080721131701
    AUTHID  : DB2D02
    FUNCTION: DB2 UDB, buffer pool services,
    sqlbCopyStoragePathsFromDiskCB, probe:20
    MESSAGE :
    ZRC=0x800201A5=-2147352155=SQLB_AS_INVALID_STORAGE_PATH
              "Storage path does not exist or is inaccessible."
    DATA #1 : String, 29 bytes
    Error copying paths from disk
    

Local fix

  • For allocation of path buffers , db2 uses HPUX macro SYS_NMLN .
    By default , this macro has a value 9 , that means 8 characters
    plus null.
    So , the mount name and the path to the mount directory should
    be less or equal 8 .
    If you rename the directories to numbers, it might help. For
    instance , the path /0/1/2/ uses 7 characters .
    

Problem summary

  • ON HP-UX ,ossGetDiskInfo function may fail with
    ECF_PARTIAL_INFO due to buffer overrun
    

Problem conclusion

  • Problem was First Fixed in Version 8.2 Fixpak 18
    

Temporary fix

  • For allocation of path buffers , db2 uses HPUX macro SYS_NMLN .
    By default , this macro has a value 9 , that means 8 characters
    plus null.
    So , the mount name and the path to the mount directory should
    be less or equal 8 .
    If you rename the directories to numbers, it might help. For
    instance , the path /0/1/2/ uses 7 characters .
    

Comments

APAR Information

  • APAR number

    IZ28163

  • Reported component name

    DB2 UDB ESE HP-

  • Reported component ID

    5765F4103

  • Reported release

    820

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-07-24

  • Closed date

    2009-09-22

  • Last modified date

    2009-09-22

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

    IZ28162

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

Fix information

  • Fixed component name

    DB2 UDB ESE HP-

  • Fixed component ID

    5765F4103

Applicable component levels

  • R820 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"820","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
22 September 2009