FLEXlm Utilities
License Administration
Appendix
63
C
lmdiag
Diagnoses licensing problems
lmdiag [–c
license_file
] [–n] [
feature
]
Name of license file to diagnose. If this switch is not specified,
lmdiag
looks for
the environment variable
LM_LICENSE_FILE
. If the environment variable is not
set,
lmdiag
looks for the file
/usr/local/flexlm/licenses/license.dat
.
Non-interactive mode;
lmdiag
does not prompt for any input. In this mode,
extended connection diagnostics are not available.
Diagnose only the specified
feature
.
If no
feature
is specified,
lmdiag
operates on all features in the license file in your
path.
lmdiag
first prints information about the license, then attempts to check out
each license. If the checkout succeeds,
lmdiag
indicates this. If the checkout fails,
lmdiag
gives you the reason for the failure. If the checkout fails because
lmdiag
cannot connect to the license server, then you have the option of running “extended
connection diagnostics.”
Extended diagnostics attempt to connect to each port on the license server node,
and can detect if the port number in the license file is incorrect.
lmdiag
indicates
each port number that is listening, and if it is an
lmgrd
process,
lmdiag
indicates
this as well. If
lmdiag
finds the vendor daemon for the
feature
being tested, then it
indicates the correct port number for the license file to correct the problem.
–c
license_file
–n
feature
Description