Peoplesoft COBOL Error messages

Error messages


A : Issues of License Manager


1.         Micro Focus LMF - 002: The license 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.
Follow the Instructions of  Doc ID 611140.1


2.         Micro Focus LMF - 005: You have exceeded the license limit for this product.

You will be getting this error message when multiple users are trying to compile the COBOL programs at the same time. Make sure you have enough licenses to cater all the users to compile or contact customer care to buy extra licenses.


3.         Micro Focus LMF - 006: You are not licensed to use this product or version.

If you have got the COBOL compiler from peoplesoft.
a.         You may have installed the COBOL compiler in 64-bit mode. To change the COBOL compiler mode use the following command
cobmode –s 32
b. Check license licenses through License Administration Services.



4.         Micro Focus LMF - 008: Maximum license database size exceeded.

The license database has too many licenses to be loaded by the License Manager. Therefore, the License Management Facility terminated execution of the licensed product. So uninstall the licenses that are not required through License Administration Services



5.         Micro Focus LMF - 010: Unable to contact License Manager.

This product has been unable to contact the License Manager.
Therefore, the License Management Facility terminated execution of the licensed product. Check the license manager is running.



B :  How to stop "The license database is corrupt" error.
Analysis:
When you try to start LMF the error message "The license database is corrupt" is issued. There may have been a system crash and reboot. You may also see this error when you try to start License Administration Services.
Solution: The simplest solution to this problem is to rebuild the LMF database files.

1. Make sure that no LMF functions are running.
a. Signed on as root, cd to the correct mflmf directory. (Where LMF was installed. The default is /usr/lib/mflmf or /opt/lib/mflmf.
b. Issue the command ./lmfgetpv. If license manager is running, issue ./lmfgetpv -k to kill it. Then issue ps -aef | grep mflm and kill any other license processes that might not be registered.

2. Delete all four of the license data bases > rm mflmfdb*
3. Start License Administration services with >sh ../mflmadm  and reinstall the serial number and license keys from the License Key Folder as described in the Micro Focus License Management Administrator's Guide.
Note: DO NOT enter any spaces into the license key even if there are spaces shown on the folder.
Exit to the UNIX command prompt.

4. Start license manager with >sh ./mflmman.
Summary:
Once the license management databases become corrupt, the quickest and simplest way to recover is to rebuild the database files.