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

Starting the Directory Server

To start the directory server, run the start-ds command on UNIX or Linux systems or the start-ds.bat command on Windows systems. By default, the start-ds command starts the directory server as a background process when no options are specified. You can use the start-ds command with the --nodetach option to run the server as a foreground process. For more information, see start-ds in Sun OpenDS Standard Edition 2.0 Command-Line Usage Guide.

The start-ds command automatically attempts to find the correct Java environment to use when starting the server. You can specify the path to the Java installation, and provide additional options directly to the JVM when the directory server is starting. For more information, see Configuring the Default JVM and Java Arguments.

To Start the Directory Server by Using start-ds

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

To Start the Directory Server as a Foreground Process

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

    You can stop the directory server by pressing Control-C in the terminal window in which the server is running or by running the stop-ds utility from another window.

To Start 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 Start.

To Restart the Directory Server

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

To Restart 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 Restart.
  4. In the Confirmation dialog, click Yes.

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

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

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