A few days ago, I had to move the data directory of a Domino server to another partition on that server. So I shut down Domino and moved the data directory to the new partition. After this, I changed the “Directory” parameter in notes.ini, so that it pointed to this new location.
I thought that was it so I started up the Domino service again, only to be confronted with a non-working Domino server. The following error showed up on the console:
An error occurred during license use management initialization
After this, the Domino service just stopped. A technote from IBM explained that this problem was caused by two files: Domino8.lic and nodelock. I checked the data directory and those files were present. The technote suggested to reinstall the Domino server, but I wanted to avoid that.
I started looking around in the Windows registry and discovered that there are two references to the data directory in there. Of course, these were still pointing to the old location. After changing these registry keys to the new location, I could start the server again without any problems.
The keys can be found in:
HKEY_LOCAL_MACHINE\SOFTWARE\Lotus\Domino\
and
HKEY_LOCAL_MACHINE\SOFTWARE\Lotus\Domino\1
The name of the key is:
DataPath
Just edit the values and fill in the new path of the Domino directory.
PS: If, for some reason, you don’t want to change the registry, you can also recreate the data directory at it’s old location. Then copy the two files (Domino8.lic and nodelock) to that directory and you will be able to start the server. All other data can stay at the new location. But I prefer to just change the registry.