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 IC94231 Status: Closed

SQL1042C / ECF_FILE_DEVICE_UNAVAILABLE ERROR CONNECTING TO DATABASE WITH
SERVER_ENCRYPT AUTHENTICATION

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
The following error may be seen connecting to a database with 
SERVER_ENCRYPT authentication 
 
db2 connect to db user ******** using ******** 
SQL1042C  An unexpected system error occurred.  SQLSTATE=58004 
 
In the db2diag.log a message similar to the following will also 
be seen: 
 
PID     : 5180                 TID : 3208           PROC : 
db2bp.exe 
INSTANCE: DB2                  NODE : 000 
HOSTNAME: host 
EDUID   : 3208 
FUNCTION: DB2 Common, Cryptography, cryptDynamicLoadGSKitCrypto, 
probe: 
998 
MESSAGE : ECF=0x9000002F=-1879048145=ECF_FILE_DEVICE_UNAVAILABLE 
          The device is unavailable or uncapable of serving the 
request 
DATA #1 : unsigned integer, 4 bytes 
60 
DATA #2 : String, 14 bytes 
gsk8sys_64.dll 
 
As part of the SERVER_ENCRYPT authentication process, DB2 first 
tries to load the GSKit 8 library from the PATH 
environment variable. If the GSKit 8 library is not found, DB2 
tries to load the gskit-crypto library. 
 
This error occurs because starting in Windows 7, the operating 
system returns an error stating 'device not ready' instead of 
'library not found 'when the PATH contains a removable drive 
(such 
as a CD/DVD drive).  This causes DB2 to log the 
ECF_FILE_DEVICE_UNAVAILABLE message when trying to find GSKit 8 
and it does not proceed to try and load gskit-crypto. 
 
The purpose of this APAR is to improve the error message in the 
db2diag.log to also include the text "A possible reason for a 
LoadLibrary failure might be a CD/DVD drive in a middle of the 
PATH. Please consider rearranging the PATH" when logging the 
ECF_FILE_DEVICE_UNAVAILABLE message.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Windows                                                      * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 10.1 Fixpack 4                                * 
****************************************************************
Local Fix:
Correct the PATH environment variable to remove the reference to 
the removable drive (such as the CD/DVD drive)
available fix packs:
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Solution
First fixed in DB2 10.1 Fixpack 4
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC99100 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
18.07.2013
16.06.2014
16.06.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 FixList