Red Hat Directory Server 8.0 Configuration, Command, and File Reference
Exit Code Description
0 Server restarted successfully.
1 Server could not be started.
2 Server restarted successfully but was already
stopped.
3 Server could not be stopped.
Table 7.13. restart-slapd Exit Status Codes
3.13. restoreconfig (Restores Administration Server
Configuration)
Restores, by default, the most recently saved Administration Server configuration information to
the NetscapeRoot partition under the /etc/dirsrv/slapd-instance_name/ directory.
To restore the Administration Server configuration, do the following:
1. Stop the Directory Server.
2. Run the restoreconfig script.
3. Restart the Directory Server.
4. Restart the Administration Server for the changes to be taken into account.
Syntax.
restoreconfig
Options.
There are no options for this script.
3.14. saveconfig (Saves Administration Server Configuration)
Saves Administration Server configuration information to
/var/lib/dirsrv/slapd-instance_name/bak directory.
This script will only run if the server is running.
Syntax.
saveconfig
Chapter 7. Command-Line Scripts
256