HP Micro Focus Object COBOL/UX Release Notes for Version B.13.35

48 Chapter 3
License Management with FLEXlm and COBOL
FLEXlm Utilities
Using lmdiag
This utility allows you to diagnose problems encountered when trying to
check out a license. Its usage is as follows:
lmdiag [-c license_file] [-n] [feature]
where
-c license_file is the path to the license.dat file that contains the
features you are having trouble with.
-n run in non-interactive mode. lmdiag will not prompt
for any input. Extended connection diagnostics are not
available.
feature diagnose this feature only.
The lmdiag utility operates on all of the features specified in all license
files found in your path. It prints information about each license and
attempt to check them out. lmdiag indicates whether the checkout
attempt succeeded or failed. If the checkout fails, the reason is given. If
the reason for failure is that lmdiag is unable to comment to the license
server, it gives you the option of running extended connection
diagnostics.
Extended connection diagnostics attempt to connect to each port on the
license server nodes(s) and will indicate if the port number specified in
the license.dat file is incorrect. lmdiag indicates each port number
that is listening and indicates if it is a lmgrd process. If the vendor
daemon for the feature being tested is found, lmdiag indicates the
correct port number to use in the license.dat file to solve the problem.
Using lmdown
This utility allows for the graceful shutdown of all license daemons (both
lmgrd and vendor daemons) on all nodes. Its usage is as follows:
lmdown [-c license_file]
where
-c license_file specifies the license.dat file to operate on.