Friday, January 18, 2008

How to compact Domino directory (names.nsf) and Administration Request (admin4.nsf) database?


1. Ensure that the program directory is in your system path. If you don't have a system path entry for Louts Domino you can add a path entry. Example C:\lotus\domino (if you modify the path, you will need to reboot your server)

How to change the Program directory in system path?

Right click on my computer => Properties => Advanced

Click on environment variables.

Confirm that there is an entry for the path of lotus program directory. Or you can add the path by clicking on edit button. After entering path reboot the system.

2. Ensure that the notes.ini for the partitioned notes servers is in the relevant data directories.

3. Make sure that you don't have any other notes.ini files hanging around especially in the program directory. (Check for the notes.ini file in the program directory. Make sure that the there is only one notes.ini in the data directory. Delete if you have extra notes.ini file.)

4. You will need to run the command lines from the data directories not from the program directory.

Example:

Suppose your data directory is in E: drive

Go to command prompt. Change the directory to e:\louts\domino\data

And enter the command for compacting

Ncompact names.nsf