IBM Support

DB2 hang or crash due to transparent LDAP on Linux

Troubleshooting


Problem

What to look for if DB2 crashs or hangs due to transparent LDAP?

Symptom

The crash of DB2 or hang of it usually causes DB2 to create a trap that leads up to the failure, in this case the trap usually happens outside of DB2 and shows the following:

0x00002AAACE1F49CF _nss_ldap_ent_context_release + 0x002f (/lib64/libnss_ldap.so.2)
0x00002AAACE1F6A75 _nss_ldap_endgrent + 0x0015 (/lib64/libnss_ldap.so.2)

or review the OS logs for similar /var/log/messages may also show:

May 7 08:23:33 db2test db2sysc 0[11696]: nss_ldap: could not get LDAP result - Can't contact LDAP server
May 7 08:23:37 db2test db2pd: nss-ldap: do_open: do_start_tls failed:stat=-1
May 7 08:23:38 db2test db2pd: nss_ldap: reconnected to LDAP server ldap://db2test.ca.db2test1.com/

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Security \/ Plug-Ins - LDAP","Platform":[{"code":"PF016","label":"Linux"}],"Version":"9.7;9.5;9.1","Edition":"Enterprise Server;Workgroup Server","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
30 April 2025

UID

swg21469020