7.3.15 start-slapd (Starts the Directory Server)

Starts the Directory Server. It might be a good idea to check whether the server has been effectively started using the ps command because it could sometimes be that the script returned while the startup process was still on-going, resulting in a confusing message.

Syntax start-slapd

Options There are no options for this script.

Exit status codes

Table 7-14 start-slapd exit status codes

Exit Code

Description

0

Server started successfully.

 

 

1

Server could not be started.

 

 

2

Server was already started.

 

 

7.3.16 stop-slapd (Stops the Directory Server)

Stops the Directory Server. It might be a good idea to check whether the server has been effectively stopped using the ps command because it could sometimes be that the script returned while the shutdown process was still on-going, resulting in a confusing message.

Syntax stop-slapd

Options There are no options for this script.

Exit status

Table 7-15 stop-slapd exit status codes

Exit code

Description

0

Server stopped successfully.

 

 

1

Server could not be stopped.

 

 

2

Server was already stopped.

 

 

7.3.17 suffix2instance (Maps a suffix to a backend name)

Maps a suffix to a backend name.

Syntax

suffix2instance [ -ssuffix]

Options

Table 7-16 suffix2instance option

Option Description

-s

Suffix to be mapped to the backend.

7.3.18 vlvindex (Creates virtual list view indexes)

To run the vlvindex script, the server must be stopped. The vlvindex script creates virtual list view (VLV) indexes, known in the Directory Server Console as browsing indexes. VLV indexes introduce flexibility in the way search results are viewed. VLV indexes can organize search results alphabetically or in reverse alphabetical order, making it easy to scroll through the list of results. VLV index configuration must already exist prior to running this script.

Syntax

7.3 Shell scripts 225