DB2 - Problem description
Problem IC71451 | Status: Closed |
WHEN RESTORING A DATABASE TO A NEW INSTANCE ON AIX SERVER WITH TRANSPARENT LDAP,DB2DIAG.LOG SHOWS REGISTRY ATTRIBUTE ERROR | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
When restoring a database to a new instance name on server running AIX with transparent LDAP, you will see db2diag.log file messages reporting error for original instance owner id Error shows as: 2010-07-19-14.00.13.468109-300 I12997522A525 LEVEL: Error PID : 8372368 TID : 258 PROC : db2ckpwd 0 INSTANCE: db2inst2 NODE : 000 EDUID : 258 EDUNAME: db2sysc 0 FUNCTION: DB2 UDB, oper system services, sqloGetSecurityUserAttrib, probe:40 MESSAGE : The AIX API getuserattr failed with error 2 (User does not exist in user database). Error encountered while retreiving REGISTRY attribute for user db2inst1. Please consult AIX administrator. The above error message is for a database that originally resided in instance db2inst1, but was moved to db2inst2 on a server where db2inst1 does not exist. If you create the userid for the old instance on the new server, you do not see these messages. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * When restoring a database to a new instance name on server * * running AIX with transparent LDAP, you will see db2diag.log * * file messages reporting error for original instance owner id * * * * Error shows as: * * 2010-07-19-14.00.13.468109-300 I12997522A525 LEVEL: * * Error * * * * * * PID : 8372368 TID : 258 PROC : * * db2ckpwd 0 * * * * * * INSTANCE: pdbin001 NODE : 000 * * * * * * * * EDUID : 258 EDUNAME: db2sysc 0 * * * * * * * * FUNCTION: DB2 UDB, oper system services, * * sqloGetSecurityUserAttrib, * * probe:40 MESSAGE : The AIX API getuserattr failed with error * * 2 (User * * does not exist in user database). Error encountered while * * retrieving REGISTRY * * attribute for user udbi0142. Please consult AIX * * administrator. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 UDB Version 9.7 Fix Pack 4. * **************************************************************** | |
Local Fix: | |
Run the db2 'TRANSFER OWNERSHIP' command to change owner from old Instance owner id to the new Instance owner id for all database objects. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in DB2 UDB Version 9.7 Fix Pack 4. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 23.09.2010 02.05.2011 02.05.2011 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP4 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.4 |