Syntax, Options, Start-slapd (starts the directory server) – Red Hat 8.1 User Manual

Page 218: Exit status codes, Stop-slapd (stops the directory server), Exit status, Suffix2instance (maps a suffix to a backend name)

Advertising
background image

Syntax

saveconfig

Options

There are no options for this script.

7.3.16. 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.17. 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.18. suffix2instance (Maps a Suffix to a Backend Name)

Maps a suffix to a backend name.

Syntax

suffix2instance [ -s suffix ]

Options

Table 7.16. suffix2instance Options

Option

Description

-s

Suffix to be mapped to the backend.

218

Chapter 7. Command-Line Scripts

Advertising