1.5. Starting and Stopping a Directory Server Instance


Use the dsctl utility to start, stop, or restart an instance:
  • To start the instance:
    # dsctl instance_name start
    Copy to Clipboard Toggle word wrap
  • To stop the instance:
    # dsctl instance_name stop
    Copy to Clipboard Toggle word wrap
  • To restart the instance:
    # dsctl instance_name restart
    Copy to Clipboard Toggle word wrap
Optionally, you can enable Directory Server instances to automatically start when the system boots:
  • For a single instance:
    # systemctl enable dirsrv@instance_name
    Copy to Clipboard Toggle word wrap
  • For all instances on a server:
    # systemctl enable dirsrv.target
    Copy to Clipboard Toggle word wrap
For further details, see the Managing System Services section in the Red Hat System Administrator's Guide.
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
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat