This article explains how to recover a corrupt aslmf database prior to Server Express 2.2 Service Pack.
Problem:
Prior to Server Express 2.2 Service Pack 2, the recovery utility aslmdbrecover was not available. How do you recover a corrupt aslmf database if you get the following message:
Error Message: License Key database is corrupt
The License Manager detected corruption in the license database. The license database may have been tampered with. Therefore, the License Management Facility terminated execution of the licensed product.
Resolution:
For Server Express 2.2 Service Pack2 onwards, you can use $COBDIR/aslmf/aslmfdbrecover. Refer to the Deployment License Management Guide, Chapter 2. Installing and Administering Micro Focus Server Licenses, Recovering from a Corrupt License Database.
As aslmf uses cached data you need not stop anything.
Remove or rename the /var/mfaslmf directory
Go to $COBDIR
su to root and run ./aslmf/aslmfinstall ( the tail end of the product install script).
Now you have an empty runtime license database..
Add your runtime license key(s) via AppTrack then refresh the cached image with option 6.
Recreate any developer usage runtime licenses from the dev key by refreshing the development license system (LMF).
#ServerExpress
#COBOL
#netexpress
#Licensing



