Skip to main content

Recovering a corrupt license database

  • February 15, 2013
  • 0 replies
  • 2 views

This article explains how to recover a corrupt Development (LMF) and Runtime (ASLMF) database.

Problem:

How do I recover corrupt Development (LMF) and Runtime (ASLMF) databases? I am getting the following error message:

Micro Focus LMF - 002: The license database is corrupt.

License Key database is corrupt.

Resolution:

You should refer to Recovering from a Corrupt Database in the chapter Installing and Administering Licenses in your Deployment Licensing Guide. With Server Express version 4.0 ServicePack1 onwards, there are utilities to assist with database recovery.

For Deployment License Database (Application Server), if the license database is deleted or damaged, you can recover it using the utility aslmdbrecover and then reinstall the license. This utility deletes the license database and any system associated files and recreates the database. It starts the AppTrack utility and prompts you to reinstall the licenses.

To recover from a corrupt database:
  1. Run the utility aslmdbrecover by entering: sh $COBDIR/aslmf/aslmdbrecover .
  2. Reinstall the licenses.

For License database for Development System (mflmf), if the database is deleted or damaged, you cannot restore it from a backup. You can recover it using the utility lmfdbrecover and then reinstalling the licenses. This utility deletes the license database and any system associated files and recreates the database. It starts the License Management Facility and prompts you to reinstall the licenses.

To recover from a corrupt database:
  1. Go to the directory where the License Management Facility is installed, /opt/microfocus/mflmf.
  2. Run the utility lmfdbrecover by entering: sh lmfdbrecover.
  3. Reinstall the licenses.

See the section Recovering from a Corrupt Database in the chapter Administration Tasks in your Development System Licensing Guide.

Old KB# 14111

#COBOL
#ServerExpress
#Licensing