IBM Support

IC67080: DB2SET FAILS WITH ERROR: DBI1306N THE INSTANCE PROFILE IS NOT DEFINED.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • db2set throws the following error:
    
    $ db2set db2_workload=sap
    DBI1306N  The instance profile is not defined.
    Explanation:
    The instance is not defined in the target machine registry.
    User response:
    Specify an existing instance name or create the required
    instance.
    
    
    This problem can be caused by a dirty record in the DB2 global
    registry.
    You can list the content of the DB2 global registry with this
    command: "<DB2DIR>/bin/db2greg -dump"
    If, for example, your instance is called "db2inst1" the output
    will contain a record like this:
    I,DB2,9.7.0.1,db2inst1,/home/db2inst1/sqllib,,1,0,/opt/IBM/v97,,
    
    The error from db2set is triggered because the InstallPath
    record (/opt/IBM/v97) is different than the path where your copy
    of DB2 is installed.
    

Local fix

  • Execute this command as root, where <DB2DIR> is the path where
    your DB2 copy is installed:
    <DB2DIR>/instance/db2iupdt <INSTANCE NAME>
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * db2set throws the following error:                           *
    *                                                              *
    *                                                              *
    *                                                              *
    * $ db2set db2_workload=sap                                    *
    *                                                              *
    * DBI1306N  The instance profile is not defined.               *
    *                                                              *
    * Explanation:                                                 *
    *                                                              *
    * The instance is not defined in the target machine registry.  *
    *                                                              *
    * User response:                                               *
    *                                                              *
    * Specify an existing instance name or create the required     *
    *                                                              *
    * instance.                                                    *
    *                                                              *
    *                                                              *
    *                                                              *
    *                                                              *
    *                                                              *
    * This problem can be caused by a dirty record in the DB2      *
    * global                                                       *
    * registry.                                                    *
    *                                                              *
    * You can list the content of the DB2 global registry with     *
    * this                                                         *
    * command: "<DB2DIR>/bin/db2greg -dump"                        *
    *                                                              *
    * If, for example, your instance is called "db2inst1" the      *
    * output                                                       *
    * will contain a record like this:                             *
    *                                                              *
    * I,DB2,9.7.0.1,db2inst1,/home/db2inst1/sqllib,,1,0,/opt/IBM/v97
    *                                                              *
    *                                                              *
    * The error from db2set is triggered because the InstallPath   *
    *                                                              *
    * record (/opt/IBM/v97) is different than the path where your  *
    * copy                                                         *
    * of DB2 is installed.                                         *
    *                                                              *
    *                                                              *
    *                                                              *
    * You can fix the issue by running db2iupdt against your       *
    * instance:                                                    *
    * <DB2DIR>/instance/db2iupdt <INSTANCE NAME>                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * You can fix the issue by running db2iupdt against your       *
    * instance:                                                    *
    * <DB2DIR>/instance/db2iupdt <INSTANCE NAME>                   *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Version 9.7 Fix Pack 2
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC67080

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-03-10

  • Closed date

    2010-04-22

  • Last modified date

    2010-05-06

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

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

    IC67087

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
06 May 2010