Exit Print View

Sun OpenDS Standard Edition 2.0 Installation Guide

Get PDF Book Print View
 

Document Information

Directory Server System Requirements

Installing the Directory Server

Configuring the JVM, Java Options, and Database Cache

Upgrading the Directory Server

Starting and Stopping the Directory Server

Starting the Directory Server

To Start the Directory Server by Using start-ds

To Start the Directory Server as a Foreground Process

To Start the Directory Server by Using the Control Panel

To Restart the Directory Server

To Restart the Directory Server by Using the Control Panel

To Start the Directory Server by Using a Script (UNIX/Linux)

Stopping the Directory Server

To Stop the Directory Server by Using stop-ds

To Stop the Directory Server by Using the Control Panel

To Stop the Directory Server that is Running in the Foreground

To Stop the Directory Server by Using a Script (UNIX/Linux)

Managing the Directory Server as a Service

Uninstalling the Directory Server

Stopping the Directory Server

On any system (whether the directory server is running in the foreground or the background), or even from a remote system, you can stop the server using one of the following methods. For more information about the stop-ds command, see stop-ds in Sun OpenDS Standard Edition 2.0 Command-Line Usage Guide.

To Stop the Directory Server by Using stop-ds

  1. Change to the appropriate directory.
    (UNIX, Linux)  $ cd install-dir/bin
    (Windows)         C:\> cd install-dir\bat
  2. Type stop-ds
    (UNIX, Linux)  $ stop-ds
    (Windows)      C:\> stop-ds

To Stop the Directory Server by Using the Control Panel

  1. Change to the appropriate directory.
    (UNIX, Linux)  $ cd install-dir/bin
    (Windows)         C:\> cd install-dir\bat
  2. Type control-panel to open the GUI control panel.
    (UNIX, Linux)  $ control-panel
    (Windows)      C:\> control-panel
  3. On the Server Status panel, click Stop.
  4. On the Confirmation dialog, click Yes.

To Stop the Directory Server that is Running in the Foreground

This procedure assumes that the directory server is running as a foreground process (using the -N or --nodetach option).

To Stop the Directory Server by Using a Script (UNIX/Linux)

The stop-ds command provides a “quiet” option (-Q or --quiet) that suppresses output during the stopping process unless a significant error occurs. You can use this option in a shutdown script.

  1. Create a shell script and add the following stop-ds command.
    install-dir/bin/stop-ds --quiet
  2. Run the script.