Updating the ldapdb.properties file manually

If you install IBM® Security Directory Server on a computer that do not contain a supported version of IBM DB2®, the ldapdb.properties file is not populated during the installation. In such a situation, you must install a supported version of IBM DB2 and then update the ldapdb.properties file manually.

Before you begin

You must ensure that the full directory server package is installed.

Procedure

  1. Install a supported version of IBM DB2, if not already installed.
  2. Run the db2ls command to list the DB2 versions that are installed on the computer and their installation path.
  3. Update the ldapdb.properties file with the supported DB2 version and the installation path.
    The default location of the ldapdb.properties file with example values for various operating systems:
    Microsoft Windows
    C:\Program Files\IBM\ldap\V6.4\etc\ldapdb.properties
    currentDB2InstallPath=C:\Program Files\IBM\SQLLIB
    currentDB2Version=10.5.0.4
    AIX® and Solaris
    /opt/IBM/ldap/V6.4/etc/ldapdb.properties
    currentDB2InstallPath=/opt/IBM/db2/V10.5
    currentDB2Version=10.5.0.4
    Linux®
    /opt/ibm/ldap/V6.4/etc/ldapdb.properties
    currentDB2InstallPath=/opt/ibm/db2/V10.5
    currentDB2Version=10.5.0.4
  4. Save the ldapdb.properties file.