home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC68214 Status: Geschlossen

REDIRECT RESTORE OF DATABASE FAILS WITH SQL5153N

Produkt:
DB2 FOR LUW / DB2FORLUW / 980 - DB2
Problembeschreibung:
Redirect restore of a database fails with the following error 
 
SQL5153N  The update cannot be completed because the following 
relationship 
would be violated: "". 
 
Following errors can be seen in the db2diag.log 
 
2010-03-19-03.21.14.686996-240 E18178A946         LEVEL: Severe 
PID     : 143450               TID  : 2058        PROC : db2sysc 
INSTANCE: rohiraut             NODE : 000         DB   : CRCTST3 
APPHDL  : 0-8                  APPID: 
*LOCAL.rohiraut.100319072115 
AUTHID  : ROHIRAUT 
EDUID   : 2058                 EDUNAME: db2agent (CRCTST3) 
FUNCTION: DB2 UDB, database utilities, sqludProcessDBCfg, 
probe:474 
MESSAGE : SQL5153N  The update cannot be completed because the 
following 
          relationship would be violated: "". 
DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes 
 sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -5153   sqlerrml: 0 
 sqlerrmc: 
 sqlerrp : sqludPro 
 sqlerrd : (1) 0x00000000      (2) 0x00000000      (3) 
0x00000000 
           (4) 0x00000000      (5) 0x00000000      (6) 
0x00000000 
 sqlwarn : (1)      (2)      (3)      (4)        (5)       (6) 
           (7)      (8)      (9)      (10)        (11) 
 sqlstate: 
 
2010-03-19-03.21.15.189518-240 E19125A1051        LEVEL: Error 
(OS) 
PID     : 143450               TID  : 2058        PROC : db2sysc 
INSTANCE: rohiraut             NODE : 000         DB   : CRCTST3 
APPHDL  : 0-8                  APPID: 
*LOCAL.rohiraut.100319072115 
AUTHID  : ROHIRAUT 
EDUID   : 2058                 EDUNAME: db2agent (CRCTST3) 
FUNCTION: DB2 UDB, oper system services, sqloopenp, probe:80 
MESSAGE : ZRC=0x870F0016=-2029060074=SQLO_SHAR "File sharing 
violation." 
          DIA8519C A file sharing violation has occurred, 
filename was "". 
CALLED  : OS, -, open 
OSERR   : ETXTBSY (26) "Text file busy" 
DATA #1 : Codepath, 8 bytes 
4:14:15:16:23:36:37 
DATA #2 : File name, 71 bytes 
/home/rohiraut/databases/CRCTST3/rohiraut/NODE0000/SQL00001///SQ 
LDBCONF 
DATA #3 : Bitmask, 4 bytes 
0x0000004C 
 
fuser for the file SQLDBCONF shows db2sysc as the holder 
 
Note that this error only occurs on V9.5 FP5. Will be fixed in 
V9,5 FP6 onwards. On all FixPaks's below Fp5 it works fine. 
 
This error only occurs during a redirect restore and when 
LOGSECOND is set to 254
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* DB2 V9.5 FP5                                                 * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* Redirect restore of a database fails with the following      * 
* error                                                        * 
*                                                              * 
*                                                              * 
* SQL5153N  The update cannot be completed because the         * 
* following                                                    * 
* relationship                                                 * 
*                                                              * 
* would be violated: "".                                       * 
*                                                              * 
*                                                              * 
*                                                              * 
* Following errors can be seen in the db2diag.log              * 
*                                                              * 
*                                                              * 
*                                                              * 
* 2010-03-19-03.21.14.686996-240 E18178A946        LEVEL:      * 
* Severe                                                       * 
* PID    : 143450              TID  : 2058        PROC :       * 
* db2sysc                                                      * 
* INSTANCE: rohiraut            NODE : 000        DB  :        * 
* CRCTST3                                                      * 
* APPHDL  : 0-8                  APPID:                        * 
*                                                              * 
* *LOCAL.rohiraut.100319072115                                 * 
*                                                              * 
* AUTHID  : ROHIRAUT                                           * 
*                                                              * 
* EDUID  : 2058                EDUNAME: db2agent (CRCTST3)     * 
*                                                              * 
* FUNCTION: DB2 UDB, database utilities, sqludProcessDBCfg,    * 
*                                                              * 
* probe:474                                                    * 
*                                                              * 
* MESSAGE : SQL5153N  The update cannot be completed because   * 
* the                                                          * 
* following                                                    * 
*                                                              * 
*           relationship would be violated: "".                * 
*                                                              * 
* DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes                * 
*                                                              * 
* sqlcaid : SQLCA    sqlcabc: 136  sqlcode: -5153  sqlerrml: 0 * 
* sqlerrmc:                                                    * 
*                                                              * 
* sqlerrp : sqludPro                                           * 
*                                                              * 
* sqlerrd : (1) 0x00000000      (2) 0x00000000      (3)        * 
*                                                              * 
* 0x00000000                                                   * 
*                                                              * 
*           (4) 0x00000000      (5) 0x00000000      (6)        * 
*                                                              * 
* 0x00000000                                                   * 
*                                                              * 
* sqlwarn : (1)      (2)      (3)      (4)        (5)      (6) * 
*                                                              * 
*           (7)      (8)      (9)      (10)        (11)        * 
*                                                              * 
* sqlstate:                                                    * 
*                                                              * 
*                                                              * 
*                                                              * 
* 2010-03-19-03.21.15.189518-240 E19125A1051        LEVEL:     * 
* Error                                                        * 
* (OS)                                                         * 
*                                                              * 
* PID    : 143450              TID  : 2058        PROC :       * 
* db2sysc                                                      * 
* INSTANCE: rohiraut            NODE : 000        DB  :        * 
* CRCTST3                                                      * 
* APPHDL  : 0-8                  APPID:                        * 
*                                                              * 
* *LOCAL.rohiraut.100319072115                                 * 
*                                                              * 
* AUTHID  : ROHIRAUT                                           * 
*                                                              * 
* EDUID  : 2058                EDUNAME: db2agent (CRCTST3)     * 
*                                                              * 
* FUNCTION: DB2 UDB, oper system services, sqloopenp, probe:80 * 
*                                                              * 
* MESSAGE : ZRC=0x870F0016=-2029060074=SQLO_SHAR "File sharing * 
*                                                              * 
* violation."                                                  * 
*                                                              * 
*           DIA8519C A file sharing violation has occurred,    * 
*                                                              * 
* filename was "".                                             * 
*                                                              * 
* CALLED  : OS, -, open                                        * 
*                                                              * 
* OSERR  : ETXTBSY (26) "Text file busy"                       * 
*                                                              * 
* DATA #1 : Codepath, 8 bytes                                  * 
*                                                              * 
* 4:14:15:16:23:36:37                                          * 
*                                                              * 
* DATA #2 : File name, 71 bytes                                * 
*                                                              * 
* /home/rohiraut/databases/CRCTST3/rohiraut/NODE0000/SQL00001/// 
* LDBCONF                                                      * 
*                                                              * 
* DATA #3 : Bitmask, 4 bytes                                   * 
*                                                              * 
* 0x0000004C                                                   * 
*                                                              * 
*                                                              * 
*                                                              * 
* fuser for the file SQLDBCONF shows db2sysc as the holder     * 
*                                                              * 
*                                                              * 
*                                                              * 
* Note that this error only occurs on V9.5 FP5. Will be fixed  * 
* in                                                           * 
* V9,5 FP6 onwards. On all FixPaks's below Fp5 it works fine.  * 
*                                                              * 
*                                                              * 
*                                                              * 
* This error only occurs during a redirect restore and when    * 
*                                                              * 
* LOGSECOND is set to 254                                      * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 V9.5 FP6                                      * 
****************************************************************
Local-Fix:
1. Move the instance to V9.5 FP4 and then do the redirect 
restore. 
 
2. Update db cfg parameter LOGSECOND to less that 254. Take a 
new backup and then do the redirect restore
verfügbare FixPacks:
DB2 Version 9.8 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.8 Fix Pack 4 for AIX and Linux
DB2 Version 9.8 Fix Pack 5 for AIX and Linux

Lösung
1. Move the instance to V9.5 FP4 and then do the redirect 
restore. 
 
2. Update db cfg parameter LOGSECOND to less that 254. Take a 
new backup and then do the redirect restore
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
27.04.2010
10.01.2011
10.01.2011
Problem behoben ab folgender Versionen (IBM BugInfos)
9.5.FP4,
9.5.FP6
Problem behoben lt. FixList in der Version
9.8.0.3 FixList