Chapter 7. General Usage Information
88
File or Directory
Location
Init scripts
/etc/rc.d/init.d/dirsrv
and
/etc/
sysconfig/dirsrv
/etc/rc.d/init.d/dirsrv-admin
and
/
etc/sysconfig/dirsrv-admin
Tools
/usr/bin/
/usr/sbin/
Table 7.2. Red Hat Enterprise Linux 4 and 5 (x86_64)
File or Directory
Location
Log files
/var/opt/log/dirsrv/slapd-
instance
Configuration files
/etc/opt/dirsrv/slapd-
instance
Instance directory
/opt/dirsrv/slapd-
instance
Database files
/var/opt/dirsrv/slapd-
instance
Runtime files
/var/opt/dirsrv/
instance
Binaries
/opt/dirsrv/bin/
/opt/dirsrv/sbin/
Libraries
/opt/dirsrv/lib/
Table 7.3. HP-UX 11i (IA64)
7.2. LDAP Tool Locations
Red Hat Directory Server uses Mozilla LDAP tools — such as
ldapsearch
,
ldapmodify
, and
ldapdelete
— for command-line operations. The MozLDAP tools are installed with Directory Server
and are located in the
/usr/lib/mozldap
and
/usr/bin/mozldap6/
directories on Red Hat
Enterprise Linux and in the
/opt/dirsrv/bin/mozldap/
directory on HP-UX. When running any
LDAP command, make sure that you are using the MozLDAP utilities, otherwise the command will
return errors.
For most Linux systems, OpenLDAP tools are already installed in the
/usr/bin
directory. These
OpenLDAP tools will not work for Directory Server operations.
7.3. Starting the Directory Server Console
There is a simple script to launch the Directory Server Console. On Red Hat Enterprise Linux 5 (32-
bit), this is in the
/usr/bin
tool directory, so it can be run as follows:
redhat-idm-console
HP-UX has a different location for the script:
/opt/dirsrv/bin/redhat-idm-console