|ARM Technical Support Knowledge Articles|
If you get the following error message on your client when you try to use a licensed feature, even though your license server has definitely been started, then the communication between the server and client has probably been blocked.
"<command line>": Error: A1439E: Cannot obtain license for "<featurename>" with license
version >=x.x: 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.
Server name: <server>
License path: <license path>
FLEXlm error: -15,xx. System Error: 10061 "WinSock: Connection refused"
For further information, refer to the FLEXlm End User Manual,
available at "http://www.globetrotter.com".
On Solaris or Linux, the equivalent system error message is "
There are a number of different causes for this error message.
1. The license server name is too long
There is a character limit on host names imposed by the FLEXlm licensing software. If the license server's hostname is longer than the limit, you should alias it to something shorter in the hosts file (see below) or alternatively use the IP address directly. For ARM tools using FLEXlm versions 8.1b and older (for instance, RVCT 2.0 and ADS 1.2.x), the limit is 32 characters. For tools using newer versions of FLEXlm (such as RVDS 2.x), the limit is 64 characters.
2. The license server and clients are on different subnets
To solve this problem, first try modifying the value of the
ARMLMD_LICENSE_FILE environment variable on the client to use the license server's fully qualified domain name (for example, "
firstname.lastname@example.org" instead of just "
port@myserver"). If this fails to allow the client to access the server, try using the license server's IP address instead of the fully qualified domain name in the above environment variable.
If you are still unable to connect to the server and get the same error condition, you may need to modify the "
hosts" file on your client so that it maps the fully qualified domain name of the server to its IP address. It is strongly recommended that you consult with your company's IT department first before modifying this file. Add an entry of the form:
On Solaris or Linux, the hosts file is
/etc/hosts. On Windows XP or 2000, the hosts file is
C:WINNTSYSTEM32DRIVERSETCHOSTS. You may need administrator privileges to edit these files.
Another cause of the problem is if the license server and client are on opposite sides of a firewall. The firewall can block requests from the client despite the server being operational. To work around this, you must first define the ports to be used by both the lmgrd and armlmd license server daemons, and then reconfigure your firewall to allow accesses to these ports.
Modify the top of your license server file to include port numbers for both the
SERVER myserver <myserver_hostid> 8224
VENDOR armlmd port=<portnumber>
lmgrd port number for ARM licenses is, by default,
8224, but you can change this to another valid number if you wish. For more information, please refer to the FLEXlm End User Guide, version 9, section B.1.3 (the document, enduser.pdf, can be found in the
Utilities/FLEXlm directory of your ARM RealView tools CD-ROM). This explains how to set the vendor daemon port number.
Please note that ARM does not support the use of WAN-based license.
Article last edited on: 2010-07-28 17:14:55
Did you find this article helpful? Yes No
How can we improve this article?