Symptoms

A user call saying he/she cannot access her e-mail and gets an error message that says that the “database is corrupt”.
Or yourself gets an error message when trying to open a database, saying that the “database is corrupt.

Well… to be honest, the situation is quite difficult, and you better get prepared to restore the database from backup. But before doing this, there is still 3 things to try out:

Compact the database

Compacting the database can help straigthen it up, and sometimes that’s all what’s needed.

From the Domino administrator

Navigate to the location of the database and select it. Right-click on it, and select “Compact”.

In the option box that appears, leave the default options, except for “How should the database be compacted ?”, where you should select “In place with file size reduction”. Then click ok.

From the Domino console

The command to type in the domino console is “load compact databasepath -B”.

Example: load compact mail\john.nsf -B

Remember that in this case, datasepath is the relative path to the database from the Lotus\Domino\Data folder.

Fixup the database

Fixup is th function meant to help you in this kind of problem.

From the Domino administrator

Navigate to the location of the database and select it. Right-click on it, and select “Fixup”.

In the option box that appears, leave the default options, then click ok.

From the Domino console

The command to type in the domino console is “load fixup databasepath”.

Example: load fixup mail\john.nsf

Remember that in this case, datasepath is the relative path to the database from the Lotus\Domino\Data folder.

Upgrade folder design

You can also try to upgrade the folder design of the database to its actual design. First, you must understand what the design template of the database.

For example, if it is a mail database, and you use Lotus Notes 5.x, the template is mail50.ntf

If it is a mail database and you are use Lotus Notes 6.x, the template is mail6.ntf.

If you also use webmail access, the template is inotes6.ntf.

From the Domino console

The command to type in the domino console is “load convert databasepath * templatename”.

Example: load convert mail\john.nsf * inotes6.ntf

Remember that in this case, datasepath is the relative path to the database from the Lotus\Domino\Data folder.

Don’t forget the “*”. It is a wildcard that instruct domino to convert the design to inotes6 from any design.

Advertisements