Start/stop the Directory Server

To start the Directory Server, take these steps:

  1. In iSeries Navigator, expand Network.
  2. Expand Servers.
  3. Click TCP/IP.
  4. Right-click IBM Directory Server and select Start.

    The directory server might take several minutes to start, depending on the speed of your server and the amount of available memory. The first time you start the directory server might take several minutes longer than usual because the server must create new files. Similarly, when starting the directory server for the first time after upgrading from an earlier version of Directory Server, it might take several minutes longer than usual because the server must migrate files. You can check the status of the server periodically (see Check the status of the directory server) to see if it has started yet.

The directory server can also be started from the character-base interface by entering the command STRTCPSVR *DIRSRV. Additionally, if you have your directory server configured to start when TCP/IP starts, you can also start it by entering the STRTCP command.

Configuration only mode

The directory server can be started in configuration only mode from the character-base interface by entering the command TRCTCPAPP APP(*DIRSRV) ARGLIST(SAFEMODE).

Configuration only mode starts the server with only the cn=configuration suffix active and does not depend on successful initialization of the database backends.

To stop the directory server, follow these steps:

Stopping the directory server affects all applications using the server at the time it is stopped. This includes Enterprise Identity Mapping (EIM) applications that are currently using the directory server for EIM operations. All applications are disconnected from the directory server, however, they are not prevented from attempting to reconnect to the server.

To stop the Directory Server, take these steps:

  1. In iSeries Navigator, expand Network.
  2. Expand Servers.
  3. Click TCP/IP.
  4. Right-click IBM Directory Server and select Stop.

    The directory server might take several minutes to stop, depending on the speed of your system, the amount of server activity, and the amount of available memory. You can check the status of the server periodically (see Check the status of the directory server) to see if it has started yet.

Note:
The directory server can also be stopped from a 5250 session by entering the commands ENDTCPSVR *DIRSRV, ENDTCPSVR *ALL, or ENDTCP. ENDTCPSVR *ALL and ENDTCP also affect any other TCP/IP servers that run on your system. ENDTCP will also end TCP/IP itself.