Problem:
This is a general article for help with UNIX License issues. Other KB articles are referred to for more information.
Typical issue: License manager not found, not running, or giving an error message.
Resolution:
During Server Express installation, the lmfinstall script installs the LMF License Manager. However, there is an option not to install. You can execute the lmfinstall script after installation. The script resides in $COBDIR/lmf, (where $COBDIR is the directory in which Server Express is installed).
If an older version of the LMF is already installed, make sure the license manager is running (verify this using the 'lmfgetpv' command), so the lmfinstall script will recognize the existing version.  Then, when you run lmfinstall, the screen will say:
A possibly older version of License Manager than this one is currently running on the system. It is installed in [location]
It is recommended that you upgrade by installing this version.
Existing installed licenses will be retained and not affected.
If you want to install this new version of License Manager into [location], then the currently running version must be stopped.
Do you want to proceed with installation into [location]
(this will STOP the currently running License Manager) ? (y/n)
It is important to answer "y" for "yes" so the LMF version will be updated.  Your licenses will be saved; they will not be lost or changed.  After running the lmfinstall script, remember to re-start the licenese manager using the 'mflmman' command.
Error Messages:
(these are brief solutions and reference the more in depth KB article listed)
The license key entered is not valid
     - If known to be valid, cd to directory $COBDIR/lmf and enter ”./lmfgetpv k” and then “./lmfinstall”.  This will stop the license manager from running and reinstall it.
     - More in KB article 14011 
LMF 006 You are not licensed to use this product or version
     - Enter the command:
grep  COBDIR=  /etc/mflmrcscript
The COBDIR returned from this 'grep' command is the operative LMF directory configured for automatic start at boot time. Note: in just this case, COBDIR does not mean the location where Server Express is installed, it means the operative LMF location.
     - Change directories to the operative LMF location, then enter ./lmfgetpv k, ./mflmcmd, and add the license.  Then enter ./mflmman and ./devas.
     - These commands stop the license manager, allow you to add the licenses again, restart the License manager, and ensure that the appropriate "Developer Usage" licenses appear in "apptrack" (runtime license manager).
     - More in KB article 14015 
LMF 010 Unable to contact License Manager 
     - Using root credentials, cd to the operative LMF location and enter “sh mflmman”
     - More in KB article 14054
     - It is possible to operate the LMF entirely without using root credentials, as explained in KB  34194
#Licensing
#ServerExpress
#Enterprise
#COBOL

