The BlackBerry Enterprise Server depends on existing databases, such as the mail files and the IBM Lotus Domino directory, for its operation.
Corruption of a database design, form, document, view, or index can cause a number of issues with the BlackBerry Enterprise Server. To help correct these problems, an administrator can run maintenance tasks, such as Fixup, Updall and Compact.
Some issues that the maintenance tasks may correct are the following:
- Unable to add a BlackBerry smartphone user account to the BlackBerry Enterprise Server
- Unable to scan a mail file
- Cannot redirect messages to a BlackBerry smartphone
- Unable to open a redirection folder
- BlackBerry profiles database is not updated with BlackBerry smartphone user information when changes are made in Redirector Settings of BlackBerry® Desktop Manager, or when a new encryption key is generated
- BlackBerry smartphone user name is not found in the IBM Lotus Domino directory
Procedure
The BlackBerry Enterprise Server creates IBM Lotus Domino-designed databases, such as BlackBerryProfiles.nsf, BlackBerryOutbox.nsf, BBDir.nsf, BBStats.nsf, and a uniquely named BlackBerry state database for each user.
Note: These maintenance task can be performed either online or offline, as desired.
Procedure for Offline Maintenance
Complete the following steps to perform IBM Lotus Domino offline maintenance tasks on specific databases:
- Stop the IBM Lotus Domino Server.
- Open a command prompt window.
- At the command prompt, browse to the IBM Lotus Domino directory and run the following command(s) on the problem database(s) in the following order:
- nfixup
This corrects corrupted views and documents. - nupdall -R
This rebuilds all used views and fixes corrupted views and full-text indices. This task is resource-intensive. - ncompact -c
This can fix database corruption. - Start the IBM Lotus Domino Server.
Procedure for Online Maintenance
For online maintenance, the same set of commands can be run, except the "n" in front of the command is dropped, and the command Load is needed. The command is run from the Domino console.
Caution should be taken when running online maintenance as this can affect the performance of your server.
- Commands are run against the BlackBerry Enterprise Server folder located within C:\Lotus\Domino\Data\ directory.
- Run the following command(s) on the problem database(s) in the following order:
- The following corrects corrupted views and documents in databases that are unopen, skipping the open databases. Add the -o switch to take the databases offline and correct any corrupt views and documents:
Load fixup BES
- The following rebuilds all used views and fixes corrupted views and full-text indices. This task is resource-intensive.
Load updall -R BES - The following can fix database corruption.
Load compact -c BES