You are on page 1of 12

Attached is a new license file which must be installed on the license server.

The name of the license server is


listed at the top of the attached license file. Save the license file attachment to a temporary directory. Please
ask the license server administrator to install it using the following steps below.
If you are not the contact person who installs the license file, please provide this license file to the license
server administrator.
For step-by-step instructions on how to install the license file refer to the section “Starting the ANSYS License
Management Center” below.
NOTE: If you are running a newer version of ANSYS software, you do not need a new license file but you do
need to download and install the latest ANSYS License Manager on the server and the client.
If you run into errors refer to the “Troubleshooting the most common ANSYS licensing Flexlm Errors and
Possible Resolutions” below. If still running into errors, please provide diagnostic information found in this
section “Additional Tips and Gathering Diagnostics Information to send to Support” below.
Note that the following instructions are for the installation and setup of the ANSYS License Manager. If you
are using a legacy product license manager (Fluent LM, Ansoft LM, etc) then you must follow separate
instructions. Please see Solution # 2046388. You should also consider migrating to the ANSYS License
Manager to take advantage of updated products and avoid obsolescence.
IMPORTANT NOTES
The current version of Java utilized by the ANSYS License Management Center is OpenJDK 11.0.4.
The current version of OpenSSL utilized with the ANSYS Licensing Interconnect is 1.1.1d.
The minimum version of the ANSYS License Manager to run ANSYS 20.1 (2020R1) products is 20.1 (2020R1).
When installing any ANSYS Discovery AIM product, the Intel OpenCL (16.1.2) runtimes must be installed. At the
conclusion of the ANSYS Discovery AIM product installation, the following option may be displayed: "Install
Intel OpenCL runtimes needed for Discover AIM".

Instructions for Discovery Enterprise Products

The license file for ANSYS Discovery Enterprise products is installed using the method outlined in this
document. For downloads and information about ANSYS Discovery Enterprise products, create a free
Discovery Forum account by clicking here and then clicking “Sign up now” on the login page. After signing into
your account on the Discovery Forum, you will see a link to the Downloads on the right side of the window.
The Discovery Forum also includes information about Licensing and Installation, tutorials, application
examples, and other knowledge materials.

Updated: April 16, 2020


Starting the ANSYS License Management Center
Windows 7:
1. Click Start>All Programs>ANSYS, Inc. License Manager>ANSYS License Management Center

Windows 10/Server 2012/Server 2016:


1. From the Start screen, click the arrow located in the lower left portion of the screen to access
the Windows Applications.
2. Scroll to find ANSYS, Inc. License Manager.
3. Click the ANSYS License Management Center option.
Linux:
1. Run the start_lmcenter script located in the following directory:
../ansys_inc/shared_files/licensing/

Updated: April 16, 2020


2. Choose “Add a License File”

3. Browse to the License file and select it. In this below example, there are 2 license files from ANSYS
which can be used with ANSYS license Management Center.

4. Choose “INSTALL LICENSE FILE” if prompted

Updated: April 16, 2020


5. Choose “RESTART” if prompted.

The ANSYS License File should now be installed and available. If you have a second license file called ‘license-
ansoft’ then please repeat steps 2 through 4.
NOTE: Please do not use ANSYS License Management Center if the license file says ‘license-fluent’ or ‘license-
apache’

Updated: April 16, 2020


Troubleshooting the most common ANSYS licensing Flexlm
Errors and Possible Resolutions

ERROR Description/Error Resolution / Solution

-4 Licensed number of users already reached. Resolution: This error indicates that all licenses
are currently in use. Please open the
ANSLIC_Client_Admin tool and choose License
Status. From this report, you can determine who is
using the licenses.

-13 No SERVER lines in license file Use the ANSYS License Management Center to
add a license file. Do not manually edit and copy
the license file. If you do make sure the text file is
saved with ANSI encoding using Notepad on
Windows.

-15 Cannot connect to license server system. Resolution 1: The server (lmadmin or lmgrd) has
not been started yet. Please check if License
Manager software is up and running on License
Server machine Resolution 2. the TCP/IP port in
the license file has been changed. Please request
License Server
Administrator to verify the SERVER line in the
license file
Resolution 3: Wrong port number is specified on
client machine.
For ANSYS CFD and Structural please open this file
in a text editor C:\Program Files\ANSYS Inc\Shared
Files\Licensing\ansyslmd.ini
And look for line SERVER=
1055 is default port number
For ANSYS EM open file below in editor
C:\Program
Files\AnsysEM\admin\redirect.lic or
redirect1055.lic And look for line
SERVER <hostname> ANY 1055

Updated: April 16, 2020


-18 License server system does not support this The License file may have changed recently
feature
Resolution 1: For ANSYS CFD or Structural reset
client license preferences. Please see Solution #
2044230 Resolution 2: For ANSYS EDT see Solution
# 2041261

-21 License file does not support this version. A newer license file may have been emailed to the
ANSYS Support Coordinator in your organization,
but It has not been installed yet.

-25 License server system does Resolution 1: Installed license has expired TECS that do not support
not support this version of the version of product being run. Confirm TECS with the account and
this feature. ensure the most recently issued license has been installed on the
license server.
version of vendor daemon is
too old Resolution 2: The version of ANSYS License Manager software is
older than the version of ANSYS Product being run. Download and
Your version of the ANSYS install the current ANSYS license manager from the ANSYS Customer
Portal
license client software is out
of date. Refer to Licensing
Error Messages in the
Troubleshooting section of
the ANSYS Licensing Guide.

Your version of the ANSYS


license manager software is
out of date.

Your version of the ANSYS Resolution: The version of ANSYS Licensing client file on the user’s
license client software is out machine is older.
of date. Please refer to Check for licensing executable mismatch
Licensing Error Messages in
the Troubleshooting section
of the ANSYS, Inc. Licensing
Guide.

Updated: April 16, 2020


The version of the license
client
13245@somemachine [2.0.1]
must be greater or equal to
the client ALI_UTIL version
[2.1.1].

-39 User/host not on INCLUDE list


The license server administrator has created a set of rules in a Flexlm
for feature.
options file on the license server and the rules are not allowing
current username or machine name (hostname) to access the
license. Please contact your IT License Server Administrator to check
if you can get added to the INCLUDE list

-96 License server machine is


down or not responding. Please refer to “How to video Configuring Windows Firewall
Exceptions for ANSYS 19.x License Manager”
https://www.youtube.com/watch?v=nofuLnng5Ek
A firewall running on the license server is likely blocking
communication on ports used by the ANSYS
License Manager

Add:

C:\Program Files\ANSYS Inc\Shared


Files\Licensing\winx64\ lmgrd.exe and ansyslmd.exe to your firewall
exceptions as well as port 1055 and 2325.

Updated: April 16, 2020


OR

On the client machine if Windows firewall is


running then please configure firewall exceptions
per below.

Add:

C:\Program Files\ANSYS Inc\Shared


Files\Licensing\winx64\ansysli_client.exe,
lmgrd.exe to your firewall.

OR

Another possibility might be the network


connection between the client machines and
license server might not be optimal. Please try
setting the environment variable as below:

FLEXLM_TIMEOUT=1500000

HOW?
Close ANSYS programs saving data where
necessary
My Computer - properties - Advanced System
Settings
- System Properties Window - Advanced Tab -
Environment variables - System - New

Variable Name
FLEXLM_TIMEOUT

Variable Value
1500000

Updated: April 16, 2020


-97 The desired vendor daemon is down. 1. Open up the ANSYS License Management
Center and check that the license server has
been stated
2. Try lmreread.
3. On the client machine if Windows firewall is
running then please configure firewall
exceptions per below.

Add:

C:\Program Files\ANSYS Inc\Shared


Files\Licensing\winx64\ansysli_client.exe and
lmgrd.exe to your firewall exceptions.
ERROR Description/Error Resolution / Solution

Using the steps in the how to video the executable


files in this video are for the license server
machine only.

4. Verify that you can ping the license server by


hostname. It could be that the client machine is
specifying an incorrect hostname or port or the
License Manager is not running. Check with
your License Server administrator.
5. If you are using a dongle and you have
unplugged it
(this kills the vendor daemon leaving LMGRD
running). You will need to restart the license
manager.
More FAQs
A comprehensive set of solutions can be found in Solution # 2043164

Updated: April 16, 2020


Additional Tips and Gathering Diagnostics Information to
send to Support
1. Try Rereading the License Server or restarting the license manager services
2. Reset client license preferences
3. If Contacting Licensing support, attach diagnostic information to your Service Request

Gathering Diagnostic Information


From the License Server:
WINDOWS
1. Start > All Programs> ANSYS, Inc. License Manager > License Management Center

LINUX
…/ansys_inc/shared_files/licensing/lic_admin/anslic_admin

1. Select “Launch the ANSYS License Management Center (LMC)” (This launches ANSYS License Management
Center)
2. Select “Gather Diagnostic Information” > “Save to File”
3. Please attach this file to your Service Request
On the Client/Workstation (if different machine than license server):
WINDOWS
Start /All Programs > ANSYS vxx.x > ANSYS Client Licensing > Client ANSLIC_ADMIN Utility.
Choose View Status >Diagnostic Options > Gather Diagnostic Information > “yes”.

NOTE: Windows 7, Windows Server 2008, 2012, 2016 please run Server ANSLIC_ADMIN Utility as elevated
user by right clicking the mouse and choose "Run as Administrator"

LINUX
… /ansys_inc /shared_files /licensing /lic_admin /anslic_admin.
Choose View Status >Diagnostic Options > Gather Diagnostic Information > “yes”.

A video showing the steps for gathering diagnostics the client side on Windows can be found here:
https://www.youtube.com/watch?v=t-48uAl0rH8&feature=youtu.be

10

Updated: April 16, 2020


FREQUENTLY ASKED QUESTIONS
Q: What happens to my old license file when I add a new one?
A: If you are adding a temporary license, that temporary license will be appended to the existing license file,
otherwise the prior license is copied to a backup directory.

Q: Is the license file / license manager backwards compatible?


A: Yes. the most recent license file and the latest license manager will allow for running all prior versions going
back to release 5.7.

Q: I have downloaded and installed the new version of Ansys. Do I need to download and install the new
License Manager?
A: It depends. If you are downloading a point release, for example, 19.1 or 19.2 and have the 19.0 license
manager installed you DO NOT need to download the license manager. If you are upgrading to 20.x you WILL
NEED to download and install the latest ANSYS License Manager.

Q: I have a new license file; do I need the latest license manager?


A: No, this is not required, unless updating to 20.x, but if you are running an older license manager it is
recommended to always be running the most recent version of ANSYS License Manager. Please refer to ANSYS
Platform Support page at
http://www.ansys.com/en/Solutions/Solutions-by-Role/IT-Professionals/Platform-Support to make sure the
most recent ANSYS License Manager is supported on the operating system of the License Manager machine.

Q: If my machine changes that is hosting the license file can I request a machine change on the ANSYS
Customer Portal?
A: Yes, if you are the asset owner. If you are not the asset owner, you will have to contact your local sales
contact. Up to three changes to the license server can be made each year.
If you are the asset owner please follow these steps to request a machine change.
1. Go to the ANSYS Customer Portal web page:
https://support.ansys.com/portal/site/AnsysCustomerPortal
2. Select License Management then License Server Change
3. If the new license server machine is not already specified in the license server machines 4. list, you
need to add it indicating the Hostname, the Hostid and the ID type
5. Select the current license server and new one.
6. Click on Select All to transfer all licenses.
7. Check that every license has been correctly transferred and click on Submit for Confirmation.

11

Updated: April 16, 2020


8. Your new license file has been created and will be sent to you by email. (If it does not arrive in your
Inbox check your Spam folder)

12

Updated: April 16, 2020

You might also like