HP-UX Directory Server 8.1 configuration, command, and file reference
M1 = host1.example.com:10011
C1 = host4.example.com:10021
C2 = host2.example.com:10022
[color]
0 = #ccffcc
5 = #FFFFCC
60 = #FFCCCC
A shadow port can be set in the replication monitor configuration file. For example:
host:port=shadowport:binddn:bindpwd:bindcert
When the replication monitor finds a replication agreement that uses the specified port, it will
use the shadow port to connect to retrieve statistics.
7.3.12 restart-slapd (Restarts the Directory Server)
Restarts the Directory Server.
Syntax restart-slapd
Options There are no options for this script.
Exit Status
Table 7-13 restart-slapd exit status codes
DescriptionExit Code
Server restarted successfully.0
Server could not be started.1
Server restarted successfully but was already
stopped.
2
Server could not be stopped.3
7.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/opt/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.
7.3.14 saveconfig (Saves Administration Server configuration)
Saves Administration Server configuration information to
/var/opt/dirsrv/slapd-instance_name/bak directory.
This script will only run if the server is running.
Syntax saveconfig
Options There are no options for this script.
224 Command-line scripts