Chapter 7. Command-Line Scripts
276
Shell Script
Description
start-slapd
Starts Directory Server.
stop-slapd
Stops Directory Server.
suffix2instance
Maps a suffix to a backend name.
verify-db.pl
Checks backend database files.
vlvindex
Creates and generates virtual list view (VLV)
indexes.
Table 7.1. Shell Scripts in /usr/lib/dirsrv/slapd-
instance_name
or /usr/lib64/dirsrv/
slapd-
instance_name
Perl Script
Description
bak2db.pl
Restores the database from the most recent
archived backup.
db2bak.pl
Creates a backup of the current database
contents.
db2index.pl
Creates and regenerates indexes.
db2ldif.pl
Exports the contents of the database to LDIF.
fixup-memberof.pl
Regenerates the
memberOf
on user entries to
reflect changes in group membership.
ldif2db.pl
Imports LDIF files to a database and runs the
ns-slapd
command-line utility with the
ldif2db
keyword.
ns-accountstatus.pl
Provides account status information to establish
whether an entry or group of entries is locked.
ns-activate.pl
Activates an entry or a group of entries by
unlocking them.
ns-inactivate.pl
Deactivates an entry or a group of entries.
ns-newpwpolicy.pl
Adds relevant entries required for the fine-
grained (user- and subtree-level) password
policy.
schema-reload.pl
Reloads schema dynamically into the server
instance.
verify-db.pl
Checks backend database files.
Table 7.2. Perl Scripts in /usr/lib/dirsrv/slapd-
instance_name
or /usr/lib64/dirsrv/
slapd-
instance_name
Script Name
Description
Perl or Shell Script
cl-dump
Dumps and decodes the
changelog.
Shell
cl-dump.pl
Dumps and decodes the
changelog.
Perl
ds_removal
Removes a server instance.
Shell
Содержание 8.1
Страница 8: ...viii ...
Страница 14: ...xiv ...
Страница 16: ...2 ...
Страница 250: ...236 ...
Страница 334: ...320 ...
Страница 372: ...358 ...