Operating System - HP-UX
1820478 Members
2948 Online
109624 Solutions
New Discussion юеВ

Microfocus License Manager

 
Geoff Valdez
Occasional Advisor

Microfocus License Manager

Our programmer is trying to compile some SCT Banner-related objects on the server. She is receiving the following error message:

Micro Focus LMF - 010: Unable to contact license manager.
This product has been unable to contact the
License Manager.

Execution of this product has been terminated.

This product cannot execute without the License Manager. Contact your license administrator or refer to the 'Information Messages' of the License Management Facility
Administrator's Guide.

cob64: error(s) in compilation: RCBCT07.cob

*** Error exit code 16


I have tried to manually start/force the license manager, but returns the following error(s):

# ./mflmman
MF-LMF:Mon Jan 23 10:44:50 2006: LMF Starting
MF-LMF:Mon Jan 23 10:44:50 2006: License Key database unusable due to copying, restoration or tampering
MF-LMF:Mon Jan 23 10:44:50 2006: Run 'lmfdbrecover' to recover
MF-LMF:Mon Jan 23 10:44:50 2006: LMF Closing Down
#


Tried to recover the mflmdb by entering:
# ./lmfdbrecover

/usr/lib/dld.sl: Can't find path for shared library: libcobccsupport.sl
/usr/lib/dld.sl: No such file or directory
./lmfdbrecover[8]: 7144 Abort(coredump)
Corrupt database
Attempting to restore from backup
Run will terminate if unsuccessful
MF-LMF:Mon Jan 23 10:45:26 2006: LMF Starting
MF-LMF:Mon Jan 23 10:45:26 2006: Unable to open License Key database
MF-LMF:Mon Jan 23 10:45:26 2006: LMF Closing Down
/usr/lib/dld.sl: Can't find path for shared library: libcobccsupport.sl
/usr/lib/dld.sl: No such file or directory
./lmfdbrecover[14]: 7153 Abort(coredump)
#

I also cannot resore the mflm database using the mflmadm utility.

Any suggestions would be greatly appreciated...

thanks,
geoff valdez
6 REPLIES 6
Alex Glennie
Honored Contributor

Re: Microfocus License Manager

Assuming that Server Express has been installed into /opt/lib/cobol:

1. Make sure that COBDIR is equal to /opt/lib/cobol and has been exported.

2. Make sure that SHLIB_PATH contains the path to the
directory /opt/lib/cobol/lib and has been exported. Also, make sure that this
path occurs in the list before any other cobol libraries in any other locations.

3. Make sure that PATH contains the path to /opt/lib/cobol/bin and has been
exported. Also make sure that this path occurs in the list of paths before any
other cobol executables. You can check this by doing "whereis cob" and if it
finds it in any other location before /opt/lib/cobol/bin, then you need to
change the order in which the paths are specified within the PATH env var
Srini Jay
Valued Contributor

Re: Microfocus License Manager

If you have the license key card (yes, that red card), may be you can re-install the license:

Export vars:

export COBDIR=/opt/lib/cobol
export SHLIB_PATH=/opt/lib/cobol/lib:$SHLIB_PATH
export PATH=$COBDIR/bin:$PATH

Then to install license, run "/opt/cobol/mflmf/mflmcmd".
Geoff Valdez
Occasional Advisor

Re: Microfocus License Manager

thank you both for your tips...

here are my results so far:

$ echo $COBDIR
/opt/cobol2

$ echo $SHLIB_PATH
/opt/cobol2/lib::/data/d1/oracle/product64/9.2.0.4/lib:/opt/cobol2/lib:/usr/lib:/data/d1/oracle/product64/9.2.0.4/jdbc/lib

$ echo $PATH
/opt/cobol2/bin:/usr/local/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/resmon/bin:/opt/netscape:/opt/scr/bin:/opt/mx/bin:/opt/ignite/bin:/opt/gnome/bin:/opt/graphics/common/bin:/usr/sbin/diag/contrib:/opt/hpnpl//bin:/opt/langtools/bin:/opt/imake/bin:/usr/local/bin:.:/data/d1/oracle/product64/9.2.0.4/bin

$ /opt/cobol2/mflmf/mflmcmd
Corrupt database
Attempting to restore from backup
Run will terminate if unsuccessful

$

$ whereis cob
cob: /opt/cobol2/bin/cob
$

still can't figure out if i need to reinstall microfocus, or if this is fixable in the current configuration.

thanks again for any assistance..
gv
Srini Jay
Valued Contributor

Re: Microfocus License Manager

One last try:

# backup your corrupt database (find the location of this file and 'cd' to that dir)

mv mflmfdb* /some_back_up_dir

# create new DB - from the same directory (i haven't done this any time recently!)

$COBDIR/bin/rts32 lmfnewdb

mflmf/mflmcmd - to install license
mflmf/mflmman - to start the manager

If it still doesn't solve your problem, try a fresh installation! All the best...
Geoff Valdez
Occasional Advisor

Re: Microfocus License Manager

Srini,

Here are the results of your latest suggestions:

$ $COBDIR/bin/rts32 lmfnewdb

Load error : file 'lmfnewdb'
error code: 173, pc=0, call=1, seg=0
173 Called program file not found in drive/directory

$

If possible, can direct me on performing a fresh install (if this error message cannot be resolved without too many manual changes)? this is the first time i've ever touched microfocus, hence my limited knowledge on the material..

thanks,
gv
VAS_1
Frequent Advisor

Re: Microfocus License Manager

This information helped me. When they said "remove" I felt better doing a mv -- just in case. If this does not help you I have more specific notes hidden somewhere...

http://supportline.microfocus.com/mf_kb_display.asp?kbnumber=17984