IBM Support

IT24155: CONNECTIONS FAIL IN CRYPTDIGESTINIT WITH ECF_CRYPT_UNEXPECTED_ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you have a DB2 client to do remote connections and a global
    GSKit older than the one provided with the DB2 product, your
    connections might fail with error SQL1042C  An unexpected system
    error occurred.
    
    In your db2diag.log, you might have a message similar to this :
    
    2017-04-20-12.22.21.610439+060 I12375E1557           LEVEL:
    Error
    PID     : 30032                TID : 140737353873184 PROC :
    db2bp
    INSTANCE: db2inst3             NODE : 000
    HOSTNAME: hostname
    FUNCTION: DB2 Common, Cryptography, cryptDigestInit, probe:242
    MESSAGE : ECF=0x90000403=-1879047165=ECF_CRYPT_UNEXPECTED_ERROR
              Unexpected cryptographic error
    CALLSTCK: (Static functions may not be resolved correctly, as
    they are resolved to the nearest symbol)
      [0] 0x00007FFFF3783D6B
    /home/db2inst3/sqllib/lib64/libdb2osse.so.1 + 0x239D6B
      [1] 0x00007FFFF3783BC5 ossLog + 0xC5
      [2] 0x00007FFFF5062CB3 cryptDigestInit + 0x73
      [3] 0x00007FFFF5061F8A cryptDigest + 0x3A
      [4] 0x00007FFFF59C3FE1 sqlexSlcServerEncryptAccsecrm + 0x2B1
      [5] 0x00007FFFF59C2CFB
    _Z33sqlexSlcServerEncryptAuthenticateP14db2UCinterfacelPj + 0x5B
      [6] 0x00007FFFF597EC50
    _Z20sqlexAppAuthenticateP14db2UCinterface + 0x560
      [7] 0x00007FFFF5B9678B _Z18sqljrDrdaArConnectP14db2UCinterface
    + 0x9B
      [8] 0x00007FFFF59694B2 _Z16sqleUCdrdaARinitP14db2UCconHandle +
    0x102
      [9] 0x00007FFFF595524E sqleUCappConnect + 0xA0E
      [10] 0x00007FFFF57F839D
    _Z12sqlakConnectPP9sqlak_rcbPP15sql_static_datat + 0x17CD
      [11] 0x00007FFFF57DAF1F sqlacall + 0x19AF
      [12] 0x00000000004E2BB5 _Z11clp_connecttPcS_S_S_P5sqlca +
    0x995
      [13] 0x00000000004B710E _Z20clpbp_exe_sqlconnectv + 0xDE
      [14] 0x00000000004A4270 _Z10clp_bp_conv + 0xA00
      [15] 0x00000000004A382F main + 0x23F
      [16] 0x00007FFFF2501C36 __libc_start_main + 0xE6
      [17] 0x0000000000413A49 /home/db2inst3/sqllib/bin/db2bp +
    0x13A49
    

Local fix

  • export
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/INSTHOME/sqllib/lib64/icc
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Db2 clients                                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to at least Db2 11.1 Mod3 Fix Pack 3                 *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Db2 11.1 Mod3 Fix Pack 3
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT24155

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-02-22

  • Closed date

    2018-03-19

  • Last modified date

    2018-03-19

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
19 March 2018