Database corruption is when some or all parts of the database objects are unreadable or the integrity is questionable. It may occurs due to internal issues ( software problems in the Notes Client code ) or external issues which effect expected Notes operations.
The corruption could be a result of:
- Improper operation procedures ( such as improper shutdown )
- Third party software applications
- Operating system or network problems
- Hardware failures
“Future Date” Issue
If the user is complaining that is able to see incoming emails in All Documents, All by Date and All by Person views, but not in the Inbox folder, the mailbox has to be checked for “future date” problem.
“Future Date” issue is caused by setting the operating system clock to a time in the future. The date selected remains in Notes, even though it is reset by the operating system.
Any documents created or modified in that state are stamped with future date, which is preventing the incoming mails to be visible under Inbox folder.
- Open user’s mailbox database from his/her home mail server
- From the main menu select Create –> View…
View name: FutureDate
Selection Conditions: By Formula
- Paste the future date formula:
SELECT (@Modified > @Today) | (@Created > @Today)
- Click OK
LN Client must be restarted after the correction. Then open the mail file from the user’s home mail server and go to the FutureDate view, select all the documents in this view / Ctrl-A /. Ctrl+X, then Ctrl+V. The documents will be cut and pasted back with the current date as modified. After this action no document should be visible in that view.
Corrupted Local Replica
Before recreating local replica from the server ( in some cases the mailbox database is too large and it will take long time to be recreated from the server ) there are few steps that you have to do first:
If you think that the local replica is corrupted ( in case that everything is working as expected on server replica and you are sure that the problem persists only on local replica ):
- Go to command prompt and navigate to Lotus Notes installation folder ( generally C:\Program Files\notes )
- Use these tree executables in order to fix the corrupted database:
nfixup.exe, ncompact.exe, nupdall.exe
- nfixup -J -F [database name]
[J] Fixup transaction-logged databases
[F] Scan all documents
- ncompact -c -i [database name]
[i] Ignore errors and proceed
- nupdall -R [database name]
[R] Rebuild all used views
Note: Nfixup without any options will perform fixup to all Notes databases in the folder where it was executed.
Corrupted Local Replica
Error: “Database is corrupt Cannot allocate space” is received when opening local replica.
- Remove the database from the workspace.
- Compact the workspace. ( right click on free space in Workspace, select Properties and click the Second Tab. Click on Compact ).
- Recreate local replica.
Error: “The database is being taken offline and cannot be opened”
- While opening the mailbox database:
The error message is usually caused by a Lotus Domino task running on a database during the time you try to open it. Some Domino tasks ( e.g. fixup -o , compact -c ) do NOT allow access to a database while they are running. The duration where the database is unavailable should not be significant.
- When launching the Lotus Notes client:
On the second attempt, however, Notes will launch successfully. The issue continues, resulting in the customer having a successful launch with every other attempt.
After closing the Notes Client and deleting the local cache.ndk, the customer was able to repeatedly launch Notes without a problem.