home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC75367 Status: Closed

DB2START ADD DBPARTITIONNUM COMMAND WILL ALWAYS RETURN THE SAME ERROR
-6048, IF IT FAILS TO RETRIEVE DB CFG FROM CATALOG NODE.

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
On the DPF environment, performing the "db2start DBPARTITIONNUM 
<partition_num>  ADD DBPARTITIONNUM hostname <host_name> port 
<port#>" will always return -6048, if for any reason, it fails 
to get the db cfg from the catalog node. 
 
This defect fix will return the actual error why it failed to 
get the db cfg from the catalog node 
 
For example: 
On the DPF environment, if the database X was removed/dropped on 
the catalog node ONLY, then catalog-node's volume database 
directory (local) will NOT have the entry of this database X 
anymore. However this entry of database X still remains on other 
partitions/nodes. In addition, this database X still remains in 
the system database directory. 
 
If user perform ADD DBPARTITIONNUM, e.g. 
db2start DBPARTITIONNUM <partition_num> ADD DBPARTITIONNUM 
hostname <host_name> port <port#> 
 
then it will get the SQLCODE "-6048" (which is the communication 
error) message: 
 
03/10/2011 16:50:26     3   0   SQL1483N  Add database partition 
server  processing for database partition server "3" failed. 
Information returned for the error includes SQLCODE "-6048", 
SQLSTATE "    ", and message tokens "". 
 
SQL1483N  Add database partition server  processing for database 
partition server "3" failed. Information returned for the error 
includes SQLCODE "-6048", SQLSTATE "    ", and message tokens 
"".  SQLSTATE=5UA02 
 
Note that:  - ADD DBPARTITIONNUM picks up db entry from the 
system database directory. 
 
With this defect fix, it will return the following error 
instead: 
 
03/10/2011 16:50:26     3   0   SQL1483N  Add database partition 
server  processing for database partition server "3" failed. 
Information returned for the error includes SQLCODE "-1013", 
SQLSTATE "4270", and message tokens "". 
SQL1483N  Add database partition server  processing for database 
partition server "5" failed. Information returned for the error 
includes SQLCODE "-1013", SQLSTATE "4270", and message tokens 
"".  SQLSTATE=5UA02 
 
In this example it is failing with -1013, which is: 
 
SQL1013N  The database alias name or database name "<name>" 
could not be found.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* User with DPF environment.                                   * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* In some scenario the DBPARTITIONNUM used with db2start may   * 
* not return the correct error.                                * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Please upgrade to 9.7 FP5 or above.                          * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
The problem is first fixed in DB2 Version 9.7 fix pack 5
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
29.03.2011
17.01.2012
02.05.2012
Problem solved at the following versions (IBM BugInfos)
9.5.FP5,
9.7.FP5
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.5 FixList