ds_removal
283
Options
Option
Description
-a
path
Gives the path to the database directory. If
this option is not passed with the
verify-
db.pl
command, then it uses the default
database directory,
/var/lib/dirsrv/
slapd-
instance_name
/db
.
Table 7.8. dbverify Options
For information on the equivalent Perl script, see
Section 7.4.21, “verify-db.pl (Check for Corrupt
Databases)”
.
7.3.7. ds_removal
The
ds_removal
tool removes a single instance of Directory Server. The server instance usually
must be running when this script is run so that the script can bind to the instance. It is also possible to
force the script to run, which may be necessary if there was an interrupted installation process or the
instance is corrupted or broken so that it cannot run.
When the instance is removed, it is shutdown and all of its configuration files are removed. Certificate
database files, like
cert8.db
and
key3.db
, are not removed, so the remaining instance directory is
renamed
removed.slapd-
instance
.
Syntax
ds_removal
[ -f ] -s
instance_name
-w
manager_password
Options
Option
Parameter
Description
-f
Forces the removal of the
instance. This can be useful if
the instance is not running but
must be removed anyway.
-s
instance_name
The name of the instance to
remove.
-w
manager_password
The Directory Manager
password to use to bind to the
instance.
7.3.8. ldif2db (Import)
Runs the
ns-slapd
command-line utility with the
ldif2db
keyword. To run this script, the server
must be stopped. Ellipses indicate that multiple occurrences are allowed.
For information on the equivalent Perl script, see
Section 7.4.7, “ldif2db.pl (Import)”
.
Summary of Contents for 8.1
Page 8: ...viii ...
Page 14: ...xiv ...
Page 16: ...2 ...
Page 250: ...236 ...
Page 334: ...320 ...
Page 372: ...358 ...