Deleting Older License Keys
If you received new license keys because you moved your server or traded in existing license keys, the older license keys are no longer valid and must be removed in order for you to be in compliance with the Perforce Permanent License Agreement.
The host and license information that you need to remove are included in the email we sent you. For each of these license keys, that email listed:
*The hostname of the license server.
*The host ID of the license server.
*The FlexNet INCREMENT lines that contain the now invalid license.
Here is how to remove an invalid license:
1. Locate the machine that corresponds with the host ID for the invalid license. Since hostnames are dynamic, you can use the <installdir>/flexlm-<version>/bin/toolworks_hostid script to validate the host ID of the license server.
The FlexNet host ID is unique for each license server regardless of hostname and IP address changes.
2. Locate the <installdir>/flexlm-<version> directory on the license server.
3. If necessary, become the root user.
4. Make a temporary backup of the existing license.dat file. For example:
cp <installdir>/flexlm-<version>/license.dat <installdir>/flexlm-<version>/license.dat.bak
5. Using a text editor, edit the <installdir>/flexlm-<version>/license.dat file to delete the - INCREMENT line. Save this file.
6. If other license keys still exist in the license.dat file, run toolworks_lmreread so the license server can evaluate the license.dat and verify that these licenses still work. If they do, you can delete the license.dat.bak temporary backup file.
To reread your license.dat file:
<installdir>/flexlm-<version>/bin/toolworks_lmreread
If no license keys remain in the license.dat file, use the following command to stop the license server:
<installdir>/flexlm-<version>/bin/toolworks_init stop