Ce contenu n'est pas disponible dans la langue sélectionnée.
2.6. Verifying the Integrity of Back-end Databases
The
dsctl dbverify
command enables administrators to verify the integrity of back-end databases. For example, to verify the userroot
database:
- Optionally, list the back-end databases of the instance:
dsconf -D "cn=Directory Manager" ldap://server.example.com backend suffix list
# dsconf -D "cn=Directory Manager" ldap://server.example.com backend suffix list dc=example,dc=com (userroot)
Copy to Clipboard Copied! Toggle word wrap Toggle overflow You need the name of the database in a later step. - Stop the Directory Server instance:
dsctl instance_name stop
# dsctl instance_name stop
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Verify the database:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - If the verification process reported any problems, fix them manually or restore a backup.
- Start the Directory Server instance:
dsctl instance_name start
# dsctl instance_name start
Copy to Clipboard Copied! Toggle word wrap Toggle overflow