DB2 - Problem description
| Problem IC86898 | Status: Closed |
CLI THROWS SQL5163 ERROR DURING CONNECT FOR HOSTNAME OF "CLIENTA FFINITYDEFINED" SECTION IN DB2DSDRIVER.CFG FILE ON SUN64. | |
| product: | |
DB2 CONNECT / DB2CONNCT / A10 - DB2 | |
| Problem description: | |
CLI IS NOT ABLE TO GET NETWORK INTERFACE VALUES AND HENCE IP
ADDRESS ON SUN64 AND SUNAMD64, HENCE THROWS SQL5163N ERROR.
For hostname used under "clientaffinitydefined" section of
db2dsdriver.cfg file, CLI throws SQL5163N error while connecting
to the database. The issue found on Sun64 and SunAMD64 platforms
only. On other platform it works fine.
The "db2cli validate -dsn mydsn -connect" also throws same error
while trying to connect to the database.
SQLDriverConnect: rc = -1 (SQL_ERROR)
SQLError: rc = 0 (SQL_SUCCESS)
SQLError: SQLState :
fNativeError : -5163
szErrorMsg : [IBM][CLI Driver] SQL5163N A required
configuration parameter "a qualifying client in affinity group"
is missing from the db2dsdriver.cfg configuration file.
cbErrorMsg : 159
SQLError: rc = 100 (SQL_NO_DATA_FOUND) | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users using clientaffinitydefined section in db2dsdriver.cfg * * file on Sun64 platform. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to db2_v101fp2 or later releases. * **************************************************************** | |
| Local Fix: | |
| available fix packs: | |
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows | |
| Solution | |
db2_v101fp2 contains fix of this issue. After fix, connect will not throw error. | |
| Workaround | |
not known / see Local fix | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 01.10.2012 31.12.2012 31.12.2012 |
| Problem solved at the following versions (IBM BugInfos) | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 10.1.0.2 |
|
| 10.5.0.2 |
|