DB2 - Problem description
| Problem IC97835 | Status: Closed |
EREG :CLIDRIVER AND DSDRIVER , SUN PLATFORM ONLY, 'DB2CLI VALIDATE -DSN DSN_TEST1' THROWS SEGMENTATION FAULT(COREDUMP) | |
| product: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
| Problem description: | |
Step to Reproduce:
1. Download the 97fp7 dsdriver and clidriver image
2. Extract it
3. ./installDSDriver
4. . ./db2profile
5. Place db2dsdriver.cfg and db2cli.ini at cfg folder
6. db2cli validate -dsn initest - working fine
7. executing any of the below commands will give Segmentation
Fault(coredump).
db2cli validate -dsn unknown_dsn
or
db2cli validate -database unknown_db:server:port
or
db2cli validate -dsn dsn_test1
or
db2cli validate -database dbname:server:port
db2dsdriver.cfg:
<configuration>
<dsncollection>
<dsn alias="dsn_test1" name="dbname" host="server" port="port">
</dsn>
</dsncollection>
<databases>
<database name="dbname" host="server" port="port">
<acr>
<parameter name="enableACR" value="true"/>
<parameter name="enableSeamlessACR" value="false"/>
<alternateserverlist>
<server name="S1" hostname="server1" port="port"/>
<server name="S2" hostname="server2" port="port"/>
</alternateserverlist>
<affinitylist>
<list name="list1" serverorder="S1,S2"/>
</affinitylist>
<clientaffinitydefined>
<client name="client1" hostname="localhost" listname="list1"/>
</clientaffinitydefined>
</acr>
</database>
</databases>
<parameters>
</parameters>
</configuration>
db2cli.ini:
[initest]
hostname=server
pwd=xxxxx
port=port
PROTOCOL=TCPIP
database=dbname
uid=userid
Error:
]% db2cli validate -dsn dsn_test1
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.7","s120722","IP23371","Fixpack 7" ]
[ CLI Driver Type : IBM Data Server Driver For ODBC and
CLI ]
[ db2diag.log Path
:/export/home/test/db2_v97fp7/odbc_cli/clidriver/db2dump/db2diag
.log ]
----------------------------------------------------------------
-----------
db2dsdriver.cfg Schema Validation :
Success: The schema validation operation completed successfully.
The configuration file
/export/home/test/db2_v97fp7/odbc_cli/clidriver/cfg/db2dsdriver.
cfg is valid
Segmentation Fault(coredump)
Last known working build is 97fp4. 97fp5 onwards it fails. | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users who run db2cli validate in sun platform can hit this * * issue * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to db2_v101fp4 or later releases. * **************************************************************** | |
| Local Fix: | |
| available fix packs: | |
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows | |
| Solution | |
db2_v101fp4 contains fix. The error is no longer reproducible after fix. | |
| Workaround | |
not known / see Local fix | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 21.11.2013 03.04.2014 03.04.2014 |
| Problem solved at the following versions (IBM BugInfos) | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 10.1.0.4 |
|