Collect ASCII server trace to determine and debug issues
that are related to a failed directory server startup. You can also
use it to trace a specific operation at directory server startup.
Procedure
- Stop the directory server instance, if it is running. Issue
the command of the following format:
ibmslapd -I instance_name -k
- Determine whether tracing is enabled. Issue the following
command:
- If trace is disabled (in "off" mode), issue the following
command to enable tracing:
- Start the directory server in DEBUG mode and redirect the
output to a file.
- On AIX®, and Linux™
platforms
- Issue the command of the following format:
ibmslapd –I instance_name –n -h 65535 2>&1 | tee /tmp/slapd_trace.out
- On Windows™ platform
- Issue the command of the following format:
(ibmslapd –I instance_name -n -h 65535 2>&1) > C:\slapd_trace.out
- Re-create the problem. After the error or the condition
you want to trace occurs and the screen no longer displays messages,
press Ctrl C to stop the process. Now, you
can analyze the trace file.
- Disable tracing. Issue the following command: