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 IC91774 Status: Geschlossen

DB2CLI VALIDATE IS GIVING IMPROPER ERROR MESSAGE WHEN DB2DSDRIVER.XSD FILE
DOESN'T EXISTS

Produkt:
DB2 CONNECT / DB2CONNCT / A10 - DB2
Problembeschreibung:
The below problem with occurring because we cannot see 
db2dsdriver.xsd in the desired location -- hence I believe the 
error is thrown. Yes, error message is not accurate and should 
be fixed. 
 
db2dsdriver.cfg (for all instance) 
 
<configuration> 
    <dsncollection> 
       <dsn alias="DB9G" name="DB9ALOC" host="host1.ibm.com" 
port="50000"> 
          <parameter name="DisableAutoCommit" value="TRUE"/> 
       </dsn> 
    </dsncollection> 
    <databases> 
       <database name="DB9ALOC" host="host1.ibm.com" 
port="50000"> 
          <wlb> 
             <parameter name="enableWLB" value="true" /> 
          </wlb> 
      </database> 
    </databases> 
 </configuration> 
 
DB2 connect 9.7 fixpack 6 (db2inst1) 
 
$ db2cli validate -dsn db9g -connect -user XYS -passwd XYS 
IBM DATABASE 2 Interactive CLI Sample Program 
(C) COPYRIGHT International Business Machines Corp. 1993,1996 
All Rights Reserved 
Licensed Materials - Property of IBM 
US Government Users Restricted Rights - Use, duplication or 
disclosure restricted by GSA ADP Schedule Contract with IBM 
Corp. 
 
---------------------------------------------------------------- 
----------- 
  [ CLI Driver Version  : 09.07.0000 ] 
  [ Informational Tokens: "DB2 
v9.7.0.6","s120629","IP23414","Fixpack  6" ] 
  [ CLI Driver Type     : IBM Data Server Runtime Client ] 
  [ db2diag.log Path    : 
/home/db2inst1/sqllib/db2dump/db2diag.log ] 
 
---------------------------------------------------------------- 
----------- 
 
db2dsdriver.cfg Schema Validation : 
Note: The validation operation utility could not find the 
configuration file named db2dsdriver.cfg. 
The file is searched at 
/home/db2inst1/sqllib/cfg/db2dsdriver.cfg 
 
db2cli.ini Validation : 
Note: The validation operation utility could not find the 
configuration file named db2cli.ini. 
The file is searched at /home/db2inst1/sqllib/cfg/db2cli.ini 
 
 
db2dsdriver.cfg Validation : 
 
---------------------------------------------------------------- 
----------- 
  [ DB2DSDRIVER_CFG_PATH env var : /home/db2inst1/sqllib/cfg ] 
  [ db2dsdriver.cfg Path         : 
/home/db2inst1/sqllib/cfg/db2dsdriver.cfg ] 
 
---------------------------------------------------------------- 
----------- 
  [ List of keywords used for DSN : db9g ] 
    Keywords                  Valid For     Value 
    ------------------------------------------------------- 
    DATABASE                  CLI,.NET,ESQL DB9ALOC 
    HOSTNAME                  CLI,.NET,ESQL host1.ibm.com 
    PORT                      CLI,.NET,ESQL 50000 
    DISABLEAUTOCOMMIT         CLI           TRUE 
 
---------------------------------------------------------------- 
----------- 
 
Connection Section : 
 
---------------------------------------------------------------- 
----------- 
  Connecting to: db9g 
  [IBM][CLI Driver] SQL30061N  The database alias or database 
name "DB9ALOC           " was not found at the remote node. 
SQLSTATE=08004 
 
  Connect Status: failure 
  End Connection Section 
 
---------------------------------------------------------------- 
----------- 
 
Error: The validation operation failed. 
 
DB2 client 9.7 (fixpack 6) 
 
$ db2cli validate -dsn db9g -connect -user XYS -passwd XYS 
IBM DATABASE 2 Interactive CLI Sample Program 
(C) COPYRIGHT International Business Machines Corp. 1993,1996 
All Rights Reserved 
Licensed Materials - Property of IBM 
US Government Users Restricted Rights - Use, duplication or 
disclosure restricted by GSA ADP Schedule Contract with IBM 
Corp. 
 
---------------------------------------------------------------- 
----------- 
  [ CLI Driver Version  : 09.07.0000 ] 
  [ Informational Tokens: "DB2 
v9.7.0.6","s120629","IP23414","Fixpack  6" ] 
  [ CLI Driver Type     : IBM Data Server Client ] 
  [ db2diag.log Path    : 
/home/db2inst2/sqllib/db2dump/db2diag.log ] 
 
---------------------------------------------------------------- 
----------- 
 
db2dsdriver.cfg Schema Validation : 
Note: The validation operation utility could not find the 
configuration file named db2dsdriver.cfg. 
The file is searched at 
/home/db2inst1/sqllib/cfg/db2dsdriver.cfg 
 
db2cli.ini Validation : 
Note: The validation operation utility could not find the 
configuration file named db2cli.ini. 
The file is searched at /home/db2inst2/sqllib/cfg/db2cli.ini 
 
 
db2dsdriver.cfg Validation : 
 
---------------------------------------------------------------- 
----------- 
  [ DB2DSDRIVER_CFG_PATH env var : /home/db2inst1/sqllib/cfg ] 
  [ db2dsdriver.cfg Path         : 
/home/db2inst1/sqllib/cfg/db2dsdriver.cfg ] 
 
---------------------------------------------------------------- 
----------- 
  [ List of keywords used for DSN : db9g ] 
    Keywords                  Valid For     Value 
    ------------------------------------------------------- 
    DATABASE                  CLI,.NET,ESQL DB9ALOC 
    HOSTNAME                  CLI,.NET,ESQL host1.ibm.com 
    PORT                      CLI,.NET,ESQL 50000 
    DISABLEAUTOCOMMIT         CLI           TRUE 
 
---------------------------------------------------------------- 
----------- 
 
Connection Section : 
 
---------------------------------------------------------------- 
----------- 
  Connecting to: db9g 
  Connect Status: success 
  End Connection Section 
 
---------------------------------------------------------------- 
----------- 
 
The validation completed.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* upgrade to DB2 v10.1 Fixpack 3                               * 
****************************************************************
Local-Fix:
verfügbare FixPacks:
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Lösung
Fixed in DB2 v10.1 Fixpack 3
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
22.04.2013
01.10.2013
01.10.2013
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.1.0.3 FixList
10.1.0.3 FixList