Questo contenuto non è disponibile nella lingua selezionata.
1.5. Starting and Stopping a Directory Server Instance
1.5.1. Starting and Stopping a Directory Server Instance Using the Command Line Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
Use the
dsctl
utility to start, stop, or restart an instance:
- To start the instance:
dsctl instance_name start
# dsctl instance_name start
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - To stop the instance:
dsctl instance_name stop
# dsctl instance_name stop
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - To restart the instance:
dsctl instance_name restart
# dsctl instance_name restart
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Optionally, you can enable Directory Server instances to automatically start when the system boots:
- For a single instance:
systemctl enable dirsrv@instance_name
# systemctl enable dirsrv@instance_name
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - For all instances on a server:
systemctl enable dirsrv.target
# systemctl enable dirsrv.target
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
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 Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
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:
- Open the Directory Server user interface in the web console. See Section 1.4, “Logging Into Directory Server Using the Web Console”.
- Select the instance.
- Click thebutton and select the action to execute:
- Start Instance
- Stop Instance
- Restart Instance