1.5. Starting and Stopping a Directory Server Instance

1.5.1. Starting and Stopping a Directory Server Instance Using the Command Line

Use the dsctl utility to start, stop, or restart an instance:
  • To start the instance:
    # dsctl instance_name start
  • To stop the instance:
    # dsctl instance_name stop
  • To restart the instance:
    # dsctl instance_name restart
Optionally, you can enable Directory Server instances to automatically start when the system boots:
  • For a single instance:
    # systemctl enable dirsrv@instance_name
  • For all instances on a server:
    # systemctl enable dirsrv.target
For further details, see the Managing System Services section in the Red Hat System Administrator's Guide.

1.5.2. Starting and Stopping a Directory Server Instance Using the Web Console

As an alternative to command line, you can use the web console to start, stop, or restart instances.
To start, stop, or restart a Directory Server instance:
  1. Open the Directory Server user interface in the web console. See Section 1.4, “Logging Into Directory Server Using the Web Console”.
  2. Select the instance.
  3. Click the Actions button and select the action to execute:
    • Start Instance
    • Stop Instance
    • Restart Instance