verify-db.pl.8 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. .\" Hey, EMACS: -*- nroff -*-
  2. .\" First parameter, NAME, should be all caps
  3. .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
  4. .\" other parameters are allowed: see man(7), man(1)
  5. .TH VERIFY-DB.PL 8 "Mar 5, 2013"
  6. .\" Please adjust this date whenever revising the manpage.
  7. .\"
  8. .\" Some roff macros, for reference:
  9. .\" .nh disable hyphenation
  10. .\" .hy enable hyphenation
  11. .\" .ad l left justify
  12. .\" .ad b justify to both left and right margins
  13. .\" .nf disable filling
  14. .\" .fi enable filling
  15. .\" .br insert line break
  16. .\" .sp <n> insert n+1 empty lines
  17. .\" for manpage-specific macros, see man(7)
  18. .SH NAME
  19. verify-db.pl - Directory Server perl script for verifying the database.
  20. .SH SYNOPSIS
  21. verify-db.pl [\-Z serverID] [ \-a path ] [\-h]
  22. .SH DESCRIPTION
  23. Verifies the backend database files. If the server crashes because of a corrupted database, this script can be used to verify the integrity of the different database files to help isolate any problems.
  24. .SH OPTIONS
  25. A summary of options is included below:
  26. .TP
  27. .B \fB\-Z\fR \fIServer Identifier\fR
  28. The server ID of the Directory Server instance. If there is only
  29. one instance on the system, this option can be skipped.
  30. .TP
  31. .B \fB\-a\fR \fIpath\fR
  32. 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.
  33. .TP
  34. .B \fB\-h\fR
  35. .br
  36. Display usage
  37. .SH EXAMPLE
  38. .TP
  39. verify-db.pl \-Z instance2 \-a /var/lib/dirsrv/slapd-instance2/db
  40. .SH DIAGNOSTICS
  41. Exit status is zero if no errors occur. Errors result in a
  42. non-zero exit status and a diagnostic message being written
  43. to standard error.
  44. .SH AUTHOR
  45. verify-db.pl was written by the 389 Project.
  46. .SH "REPORTING BUGS"
  47. Report bugs to https://fedorahosted.org/389/newticket.
  48. .SH COPYRIGHT
  49. Copyright \(co 2013 Red Hat, Inc.