HP-UX Directory Server 8.1 administrator guide
http://www.pathname.com/fhs/.
The files and directories installed with Directory Server are listed in the tables below for each
supported platform.
In the file locations listed in the following tables, instance is the server instance name that was
given during setup. By default, this is the leftmost component of the fully-qualified host and
domain name. For example, if the host name is ldap.example.com, the instance name is ldap
by default.
The Administration Server directories are named the same as the Directory Server directories,
only instead of the instance as a directory name, the Administration Server directories are named
admin-serv. For any directory or folder named slapd-instance, substitute admin-serv,
such as /etc/opt/dirsrv/slapd-example and /etc/opt/dirsrv/admin-serv.
Table 1-1 HP-UX 11i directory paths
LocationFile or directory
var/opt/dirsrv/slapd-instance_name/log
Log files
/etc/opt/dirsrv/slapd-instance_name
Configuration files
/opt/dirsrv/slapd-instance_name
Instance directory
/var/opt/dirsrv/slapd-instance_name/db
Database files
/var/opt/dirsrv/slapd-instance_name/lock
/var/opt/dirsrv/slapd-instance_name/run
Runtime files
/opt/dirsrv/bin
/opt/dirsrv/sbin
Binaries
/opt/dirsrv/lib/
Libraries
/sbin/init.d/Hpds-ds
/etc/rc.config.d/Hpds-ds
/sbin/init.d/Hpds-adm
/etc/rc.config.d/Hpds-adm
Initialization Scripts
/opt/dirsrv/bin
/opt/dirsrv/sbin
Tools
For all HP-UX Directory Server guides and documentation, the LDAP tools used in the examples,
such as ldapsearch and ldapmodify, are the Mozilla LDAP tools. The LDAP tools are located
in the /opt/dirsrv/bin directory.
1.3 Starting and stopping servers
The Directory Server is running when the setup-ds-admin.pl script completes. Avoid stopping
and starting the server to prevent interrupting replication, searches, and other server operations.
• If the Directory Server has SSL enabled, you cannot restart the server from the Console; you
must use the command line. It is possible to restart without being prompted for a password.
For more information, see “Creating a password file for the Directory Server”.
• Rebooting the host system can automatically start the ns-slapd process.The directory
provides startup or run command (rc) scripts. For details on adding these scripts, see the
HP-UX operating system documentation for details on adding these scripts
1.3.1 Starting and stopping Directory Server from the console
1. Start the Directory Server Console.
20 Basic HP-UX Directory Server usage