Sun Java System Directory Server Enterprise Edition 6.2 Administration Guide

ProcedureTo Start, Stop, and Restart Directory Server

You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help. However, this does not apply to the step for enabling and disabling service management. Enabling and disabling service management must be done at the command line when starting and stopping Directory Server.

  1. To start, stop, or restart Directory Server, do one of the following:

    • To start the server, type:


      $ dsadm start instance-path
      

      For example, to start a server with the instance path /local/ds, use this command:


      $ dsadm start /local/ds
    • To stop the server, type:


      $ dsadm stop instance-path
      

      For example:


      $ dsadm stop /local/ds
    • To restart the server, type:


      $ dsadm restart instance-path
      

      For example:


      $ dsadm restart /local/ds