Collecting trace information to debug issues with LDAP server

You can issue trace commands from the IBM Spectrum® Protect server or server options file (dsmserv.opt) to collect the trace information. You can use the information that is exported to a trace log file for debugging the problem. You can also send the file to IBM® Software Support for further analysis.

Procedure

Complete the following steps to get the trace information.

  1. Perform one of the following options to get the trace information for the LDAP server.
    • To get the trace information from the IBM Spectrum Protect server, issue the following sequence of commands:
      export ldap_debug=65535
      export ldap_debug_file=ldaptrc.log
      
    • To get the trace information from the dsmserv.opt file, issue the following sequence of commands:
      trace enable ldap ldapcache
      trace begin trace.log
      
  2. Start the IBM Spectrum Protect server.
  3. Go to the server logs directory and find the trace file that you specified in step 1.

What to do next

You can also turn on and off the LDAP tracing while the IBM Spectrum Protect server is running by issuing the following commands:
ldaptrace enable <level=65535>
<recreate>
ldaptrace disable