Appendix E

FLEXlm Error Codes

E.1 Error Message Format

FLEXlm error messages presented by applications have the following components:

Error messages were improved in v6. FLEXlm Error Explanation, and supporting information are only available in applications using v6.0+.

These error messages may occur in two formats available with FLEXlm or may appear in a format customized by the application.

E.1.1 Format 1 (short):

FLEXlm error text (-lm_errno, minor_num[:sys_errno]) [sys_error_text]

The system error information may be missing.


Can’t connect to license server (-15,12:61) Connection refused

E.1.2 Format 2 (long—version 6.0+):

FLEXlm error text
 FLEXlm error explanation
[Optional Supporting information]
FLEXlm error: -lm_errno, minor_num. [System Error: sys_errno] [“system_error_text”]


Cannot connect to license server
 The server (lmgrd) has not been started yet, or
 the wrong port@host or license file is being used, or the
 port or hostname in the license file has been changed.
Feature: f1
Server name: localhost
License path: @localhost:license.dat:./*.lic
FLEXlm error: -15,12. System Error: 61 “Connection refused”

E.2 Error Code Descriptions

The following table lists the most common errors produced by FLEXlm-licensed products.

Table 8-1: FLEXlm Error Codes  
Error Code
Cannot find license file.
Invalid license file syntax.
No server for this feature.
Licensed number of users already reached.
No such feature exists.
No TCP/IP port number in license file and FLEXlm service does not exist. (pre-v6 only)
No socket connection to license manager service.
Invalid (inconsistent) license key or signature.
The license key/signature and data for the feature do not match. This usually happens when a license file has been altered.
Invalid host.
The hostid of this system does not match the hostid specified in the license file.
Feature has expired.
Invalid date format in license file.
Invalid returned data from license server.
No SERVER lines in license file.
Cannot find SERVER host name in network database.
The lookup for the host name on the SERVER line in the license file failed. This often happens when NIS or DNS or the hosts file is incorrect. Workaround: Use IP address (e.g., 123.456.789.123) instead of host name.
Cannot connect to license server.
The server (lmgrd) has not been started yet, or the wrong port@host or license file is being used, or the TCP/IP port or host name in the license file has been changed.
Cannot read data from license server.
Cannot write data to license server.
License server does not support this feature.
Error in select system call.
License file does not support this version.
Feature checkin failure detected at license server.
License server temporarily busy (new server connecting).
Users are queued for this feature.
License server does not support this version of this feature.
Request for more licenses than this feature supports.
Cannot find ethernet device.
Cannot read license file.
Feature start date is in the future.
No such attribute.
Bad encryption handshake with daemon.
Clock difference too large between client and server.
In the queue for this feature.
Feature database corrupted in daemon.
Duplicate selection mismatch for this feature. Obsolete with v8.0+ vendor daemon.
User/host on EXCLUDE list for feature.
User/host not on INCLUDE list for feature.
Cannot locate dynamic memory.
Feature was never checked out.
Invalid parameter.
Clock setting check not available in daemon.
FLEXlm vendor daemon did not respond within timeout interval.
Checkout request rejected by vendor-defined checkout filter.
No FEATURESET line in license file.
Incorrect FEATURESET line in license file.
Cannot compute FEATURESET data from license file.
socket() call failed.
Message checksum failure.
Server message checksum failure.
Cannot read license file data from server.
Network software (TCP/IP) not available.
You are not a license administrator.
lmremove request before the minimum lmremove interval.
No licenses to borrow.
License BORROW support not enabled.
FLOAT_OK can’t run standalone on SERVER.
Invalid TZ environment variable.
Local checkout filter rejected request.
Attempt to read beyond end of license file path.
SYS$SETIMR call failed (VMS).
Internal FLEXlm error—please report to Macrovision.
Bad version number must be floating-point number with no letters.
Invalid PACKAGE line in license file.
FLEXlm version of client newer than server.
USER_BASED license has no specified users - see server log.
License server doesn’t support this request.
Checkout exceeds MAX specified in options file.
System clock has been set back.
This platform not authorized by license.
Future license file format or misspelling in license file.
The file was issued for a later version of FLEXlm than this program understands.
ENCRYPTION_SEEDS are non-unique.
Feature removed during lmreread, or wrong SERVER line hostid.
This feature is available in a different license pool.
This is a warning condition. The server has pooled one or more INCREMENT lines into a single pool, and the request was made on an INCREMENT line that has been pooled.
Attempt to generate license with incompatible attributes.
Network connect to this_host failed.
Change this_host on the SERVER line in the license file to the actual host name.
Server machine is down or not responding.
See the system administrator about starting the server, or make sure that you’re referring to the right host (see LM_LICENSE_FILE environment variable).
The desired vendor daemon is down.
1) Check the lmgrd log file, or 2) Try lmreread.
This FEATURE line can’t be converted to decimal format.
The decimal format license is typed incorrectly.
Cannot remove a linger license.
All licenses are reserved for others.
The system administrator has reserved all the licenses for others. Reservations are made in the options file. The server must be restarted for options file changes to take effect.
A FLEXid borrow error occurred.
Terminal Server remote client not allowed.
Cannot borrow that long.
License server out of network connections.
The vendor daemon can't handle any more users. See the debug log for further information.
Dongle not attached, or can’t read dongle.
Either the hardware dongle is unattached, or the necessary software driver for this dongle type is not installed.
Missing dongle driver.
In order to read the dongle hostid, the correct driver must be installed. These drivers are available at or from your software vendor.
Two FLEXlock checkouts attempted.
Only one checkout is allowed with FLEXlock-enabled applications.
SIGN= keyword required, but missing from license.
This is probably because the license is older than the application. You need to obtain a SIGN= version of this license from your vendor.
Error in Public Key package.
CRO not supported for this platform.
BORROW failed.
BORROW period has expired.
lmdown and lmreread must be run on license server machine.
Cannot lmdown the server when licenses are borrowed.
FLOAT_OK license must have exactly one dongle hostid.
Unable to delete local borrow info.
Support for returning a borrowed license early is not enabled. The vendor must have enabled support for this feature in the vendor daemon. Contact the vendor for further details.
An error occurred while returning a borrowed license to the server.
Attempt to checkout just a PACKAGE. Need to also checkout a feature.
Error initializing a composite hostid.
A hostid needed for the composite hostid is missing or invalid.
Error, borrowed license doesn't match any known server license.
1Indicates errors due to an operating system failure.



FLEXlm End Users Guide
July 2003