Problem:
$ su
Password:
sh lmfinstall
Enter the directory name where you wish to install License Manager
(Press Enter for default directory /usr/lib/mflmf)
/usr/lib/mflmf does not exist
do you wish to create it ? (y/n)
y
Empty database created ok
Do you want only superuser to be able to access the License Admin System? (y/n)
y
It is recommended that you let license manager autostart at boot time
Do you want license manager to be automatically started at boot time? (y/n)
y
LMF installation complete
sh mflmcmd
Corrupt database
Attempting to restore from backup
Run will terminate if unsuccessful
Resolution:
OCDS (Object COBOL Developer Suite) is a very old product and although ‘sh mflmcmd’ will work in most cases, sometimes it is necessary to use ‘mflmadm’ instead..
Therefore run mflmadm and install the license via the screen dialog tool.