Sun Java Enterprise System 2005Q4 Installation Guide for UNIX

Starting and Stopping Directory Server

If Directory Server is part of a cluster, ensure that you are working on the active node for the logical host. Directory Server has no dependencies.

ProcedureTo Start Directory Server

Steps
  1. Start Directory Server using one of the following commands:

    • If Directory Server 5.2 is the default version:

      On Solaris OS: /usr/sbin/directoryserver startOn Linux: /opt/sun/sbin/directoryserver start

    • If Directory Server 5.2 is not the default version:

      On Solaris OS: /usr/sbin/directoryserver -useversion 5.2 start On Linux: /opt/sun/sbin/directoryserver -useversion 5.2 start

  2. Verify that the Directory Server process is running. For example, on Solaris OS:


    /usr/bin/ps -ef | grep slapd

    ./ns-slapd -D /var/opt/mps/serverroot/slapd-host1 -i /var/opt/mps/ \
    serverroot/slapd-host1

ProcedureTo Stop Directory Server

Steps
  1. Stop Directory Server using one of the following commands:

    • If Directory Server 5.2 is the default version:

      On Solaris OS: /usr/sbin/directoryserver stopOn Linux: /opt/sun/sbin/directoryserver stop

    • If Directory Server 5.2 is not the default version:

      On Solaris OS: /usr/sbin/directoryserver -useversion 5.2 stopOn Linux: /opt/sun/sbin/directoryserver -useversion 5.2 stop

  2. Verify that Directory Server is no longer running. For example:


    /usr/bin/ps -ef | grep slapd