HP Micro Focus Object COBOL/UX Release Notes for Version B.13.35
Chapter 3 57
License Management with FLEXlm and COBOL
FLEXlm Error Messages (Return Status Values)
standard file /usr/local/flexlm/licenses/license.dat,(or
C:\FLEXLM\LICENSE.DAT on Windows and Windows NT) or the file specified
by the vendor (via lc_set_attr()), or the file specified by the user in
LM_LICENSE_FILE.
-2 LM_BADFILE "invalid license file syntax"
A feature name is > MAX_FEATURE_LEN,
A daemon name is > MAX_DAEMON_LEN.
A server name is > MAX_SERVER_NAME.
A feature specifies no hostid and # of licenses is <= 0.
-3 LM_NOSERVER "cannot connect to a license server"
The daemon name specified in the license file FEATURE line does not
match the vendor daemon name.
-4 LM_MAXUSERS "licensed number of users already reached",
The licenses number of users has been reached.
-5 LM_NOFEATURE "no such feature exists"
The feature could not be found in the license file.
A call was made to one of the software license working group usage
metering functions (um_xxx_record()).
-6 LM_NOSERVICE "no TCP "license" service exists"
This happens if a SERVER line does not specify a TCP/port number, and
the TCP license service does not exist
in /etc/services.
-7 LM_NOSOCKET "no socket connection to license manager server"
lc_disconn() was called after the process had been disconnected from
the socket. This error can also occur if an internal error happens
within l_sndmsg() or l_rcvmsg().
-8 LM_BADCODE "encryption code in license file is inconsistent"
The code in a license file line does not match the other data in the
license file. This is usually the result of not building all the
software components with the same encryption seeds. Check makekey.c,
lsvendor.c, and your application code carefully to insure that they are
all built with the same vendor code.
ACTION:
Run lmcksum on your license file to confirm that it is valid.
If you have started lmgrd with the LM_LICENSE_FILE environment
variable set, check that LM_LICENSE_FILE is set to the same value