Show Table of Contents
Chapter 2. Server Instance File Reference
This chapter provides an overview of the files that are specific to an instance of Red Hat Directory Server (Directory Server) — the files stored in the
/etc/dirsrv/slapd-instance_name directory.[1] Having an overview of the files and configuration information stored in each instance of Directory Server helps with understanding the file changes (or lack of file changes) which occur in the course of directory activity. It can also help to detect errors and intrusion by indicating what kind of changes to expect and, as a result, what changes are abnormal.
2.1. Overview of Directory Server Files
Note
In examples and sample code, paths assume that the Directory Server is installed in on Red Hat Enterprise Linux 5 (64-bit), which has an instance directory of
/etc/dirsrv/slapd-instance_name. If the Directory Server in a different platform, adjust the paths accordingly.
The files, tools, and scripts used by Directory Server are in the locations listed in the following directories.
Table 2.1. Red Hat Enterprise Linux 4 and 5 (x86)
| File or Directory | Location | ||
|---|---|---|---|
| Backup files | /var/lib/dirsrv/slapd-instance_name/bak | ||
| Configuration files | /etc/dirsrv/slapd-instance_name | ||
| Database files | /var/lib/dirsrv/slapd-instance_name/db | ||
| LDIF files | /var/lib/dirsrv/slapd-instance_name/ldif | ||
| Lock files | /var/lock/dirsrv/slapd-instance_name | ||
| Log files | /var/log/dirsrv/slapd-instance_name | ||
| PID files | /var/run/dirsrv | ||
| Tools |
| ||
| Instance directory | /etc/dirsrv/slapd-instance_name |
Table 2.2. Red Hat Enterprise Linux 4 and 5 (x86_64)
| File or Directory | Location | |||
|---|---|---|---|---|
| Backup files | /var/lib/dirsrv/slapd-instance_name/bak | |||
| Configuration files | /etc/dirsrv/slapd-instance_name | |||
| Database files | /var/lib/dirsrv/slapd-instance_name/db | |||
| LDIF files | /var/lib/dirsrv/slapd-instance_name/ldif | |||
| Lock file | /var/lock/dirsrv/slapd-instance_name | |||
| Log files | /var/log/dirsrv/slapd-instance_name | |||
| PID | /var/run/dirsrv | |||
| Tools |
| |||
| Instance directory | /usr/lib64/dirsrv/slapd-instance |
[1]
The
/lib directory only applies to Red Hat Enterprise Linux 32-bit systems. On Red Hat Enterprise Linux 64-bit systems, the directory is /lib64.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.