Show Table of Contents
6.4. Starting and Stopping Servers
6.4.1. Starting and Stopping Directory Server
The most common way to start and stop the Directory Server service is using system tools on Red Hat Enterprise Linux. For example, Linux uses the
service tool:
# service dirsrv {start|stop|restart} instance
Passing the instance name stops or starts only that instance; not giving any name starts or stops all instances.
Note
The service name for the Directory Server service on Red Hat Enterprise Linux is
dirsrv.
The start/stop scripts are in the
/usr/sbin directory and are run similar to the service start/stop command:
# /usr/sbin/{start|stop|restart}-dirsrv instance
If the instance name is not given, then the all instances are started or stopped.
Alternatively, each instance has its own start and stop scripts that apply only to that instance.
# /etc/dirsrv/slapd-instance_name/{start|stop|restart}-slapd6.4.2. Starting and Stopping Admin Server
There are two ways to start, stop, or restart the Admin Server:
- There are scripts in the
/usr/sbindirectory.# /usr/sbin/{start|stop|restart}-ds-admin - The Admin Server service can also be stopped and started using system tools on Red Hat Enterprise Linux. For example:
# service dirsrv-admin {start|stop|restart}

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.