Skip to main content

This article helps troubleshoot messages such as This is an OSX license, This is an Application Server license, or This is a development license.

Problem:

What should we do if we encounter The license key entered is not valid or other possible error messages such as:

This is an OSX license

This is an Application Server license

This is a development license

Resolution:

First, ensure that the serial number has been entered correctly. All Server Express licenses and later Object Cobol Developer Suite licenses have two letters and a plus sign (" ") at the end for licensing purposes. All fifteen characters (twelve numeric digits, two uppercase letters, and the plus sign) must be entered as the serial number.

Second, look at the type of license. If it says "Application Server" or "Enterprise Server" go to "AS" below. If it says only "Server Express" or has the word "developer" or "development" or says "Object Cobol Developer Suite" go to "DEV" below. If the word "flexlm" appears, you have an OEM license from Hewlett-Packard. These Cobol products are no longer supported by Hewlett-Packard, therefore contact Micro Focus sales to convert to a Micro Focus direct market product.

AS

Set up environment variables:


  • export COBDIR=/product/installation/directory/on/your/system
  • export LIBPATH=$COBDIR/lib (AIX only)
  • export SHLIB_PATH=$COBDIR/lib (HP-UX only)
  • export LD_LIBRARY_PATH=$COBDIR/lib (all other UNIX platforms)

unset COBPATH COBDATA

cd $COBDIR/aslmf

./apptrack


  • Create or enter password if prompted to do so (six spaces = no password).
  • Press the number 3 (three), but do not press "enter".
  • Type the fifteen character (twelve numeric digits, two uppercase letters, and plus sign), enter.
  • Type the 24 or 32 character license key.
  • If you have more than one license to enter, press "3" again and repeat the steps above.
Note: License key characters are in the range 0-9, A-F. The letters "O" and "l" are not used.

DEV

Log on as root


  • unset COBPATH COBDATA
  • Change directory to the License Manager directory, /something/mflmf (If location is unknown, see "Find mflmf" below)
  • sh mflmcmd
  • Enter "I" to install
  • Type the fifteen character (twelve numeric digits, two uppercase letters, and plus sign), then click enter.
  • Type the 24 or 32 character license key
  • If you have more than one license to enter, run sh mflmcmd again.
  • Stop and restart the license manager to update the daemon's memory using ./lmfgetpv k ; sh mflmman force
  • If you are using Server Express version 1.x or Object Cobol Developer Suite, use ./devas (may not exist on older versions of Object Cobol Developer Suite).
Note: Note: License key characters are in the range 0-9, A-F. The letters "O" and "l" are not used.

FIND mflmf


  • Find / -name lmfgetpv 2> /dev/null | grep mflmf (this may take several minutes)
  • If no output, see "Install mflmf" below.
  • If one line output, change directory to that directory and resume the "DEV" procedure above.
  • If multiple lines output, change directory to any one of them, run command ./lmfgetpv (Note the "loaded from" directory and cd there).

INSTALL mflmf


  • cd $COBDIR/lmf
  • If the directory does not exist, you do not have a development product and cannot install a development license.
  • sh ./lmfinstall
  • Specify a directory or take the default. Write down the directory name specified.
  • Answer both yes/no questions with "y".
  • Change directory to the specified directory name and resume the "DEV" procedure above.
Old KB# 14142

#COBOL
#Licensing
#ServerExpress