HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

ADMINISTERING

Fixing corrupted databases

Corrupted databases don't occur frequently when you use transaction logging. When you use transaction logging to log changes to databases, a server automatically uses the transaction log to restore and recover databases after a system failure -- for example, after server failures or power failures. If a disk failure occurs, you use the transaction log along with a certified backup utility to restore and recover the databases.

The Miscellaneous Events view of the Domino® server log file (LOG.NSF) records detailed messages about corrupted documents and views. These messages in the log file indicate document corruption:

  • Document NTdocument number in database database name is damaged
  • Document document number in database database name has been deleted

The following messages indicate that Domino has rebuilt, is in the process of rebuilding, or was unable to rebuild damaged views:
  • Page format is incorrect
  • Invalid CNO vector - position == 0
  • Container integrity has been lost - rebuild

If you encounter database corruption in a database, you can use any of these methods to try to fix the problem. Because corruption is much less of an issue for logged databases, these methods are primarily used for solving corruption problems in unlogged databases.
  • Run Fixup to fix corrupted views and documents.
  • Run Updall to fix corrupted views and full-text indexes; if a corrupted view is the problem, try Updall before trying Fixup.
  • Run Compact with the -c option to fix corruption problems that Fixup doesn't correct.
  • Press SHIFT+F9 to rebuild one view; press CTRL+SHIFT+F9 to rebuild all views in a database.
  • Create a replica of the database.

Related concepts
The Domino server log file (LOG.NSF)
Using Fixup
Updall options

Related tasks
Running the Fixup task
Creating replicas using the Administration Process
Detecting corrupted databases

Related reference
Compact options