IBM Support

IT20042: DB2VAL DOESN'T VERIFY THE PERMISSION FOR INSTANCE OWNER HOME DIRECTORY, MAY RESULT IN SQL1646N ERRORS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Db2val doesn't check the permission for instance owner home
    directory (chkPermOwn). This check is done by both db2iupdt and
    db2icrt.
    Missing rx for other will cause fenced routines to fail:
    as root:
    $ chmod o-rx /home/<instance_name>
    
    as instance owner:
    $ db2start
    $ db2 connect to <db_name>
    $ db2 -x " select count(*) from sysibmadm.snapbp"
    SQL1646N  A routine failed because the fenced user ID cannot
    access required
    files in the sqllib directory or other instance or database
    directories.
    
    so this is something which should be verified by db2val
    

Local fix

  • Manually change permissions while the instance is stopped
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 10.5 Fix Pack 9 or higher                     *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 10.5 Fix Pack 9
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT20042

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-04-04

  • Closed date

    2017-09-29

  • Last modified date

    2017-09-29

  • 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

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RA50 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.5","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
13 January 2022