So, you’ve finally gotten your hands on powerful space-time modeling software. Your installation support engineer has been kind enough to email you specific, detailed download and installation instructions. You launch the application and get this message:
What could have gone wrong?!
If you’ve done the tried and true "turn it off and on again" and can’t seem to get it to work, here are some things to check:
1.
Incorrect server info2.
All licenses in use3.
Unable to Connect 4.
License server not running5.
Check your system clock6.
License server only partially running7.
STKv12.8 requires Ansys Lic Manager 2024 R18.
Ansys.com login appears ...9.
'localhost' vs '127.0.0.1'10.
Clear cached file on the client11.
FlexNet Debug Log
1. Incorrect server info
Go ahead an open the Ansys Client Licenses Setting tool. Did you enter the correct information? If your licenses are shared on a network, contact your License Administrator for the correct values; AGI support cannot provide these values. If the Ansys License Manager is running locally, then try using port 1055 (the default) and localhost as the Server1 name.
NOTE: You need to
'Run as administrator' for the Ansys Licensing Client Settings tool; otherwise, you will not be able to save your port/server settings.
2. All licenses in use
Perhaps all the licenses are in use. From the client tool, under FlexNet Publisher, click "Features in use." See that there are licenses available for you to check out.
You can see the same report from the Ansys License Manager.
For STK, with the hierarchal nature of the licenses, at a minimum you will need
stk_mission_level1. All configurations of STK (Pro, Premium, and Enterprise) require this license.
3. Unable to Connect
If the license manager and a valid license have been installed, and it appears that the server is running, but you keep receiving a connection error, try rebooting. Possible causes for this error include:
a. Firewall exceptions: If the server's firewall is enabled, you may need to tweak firewall settings on the server to allow the following through as exceptions:
Server (lmgrd) - TCP/IP 1055 (unless it was changed in the license file)
Vendor/daemon - ansyslmd.exe or port if entered into the license file
Interconnect - TCP/IP 2325 (fixed, needed if using the Ansys License Manager)
You can modify the server and daemon ports in the license file as follows:
SERVER Servername ServerHostID 1055
VENDOR ansyslmd port=12345
After editing the license file, you need to stop and then restart the license service for the changes to take effect.
b. Incorrect port and/or server: Perhaps an incorrect port and/or server name was entered into the client utility, or the required values have changed. Contact your license administrator to obtain the correct input values.
c. ANSYSLMD_LICENSE_FILE: Check to see if you have this environment variable set (this is not common). If so, the value should be port@servername. Make sure that this information is correct.
d. The installed license files have expired: Check with your license administrator to see if your licenses are still valid.
e. Incorrect host name file and/or incorrect host ID in the license file: Do not manually edit the host ID information in the license file. Please contact your installation support engineer with the correct information to have the file reissued.
4. License server not running
Sometimes the Ansys License Manager may be stopped. In order to run licensed products, the Ansys License Manager must be running on the license server with a valid license file. A valid license file must be installed prior to launching the license manager. For more information, see
How to Set Up the Ansys License Manager.
To start the manager:
1. Open the Ansys License Management Center.
2. Click the green Start button on the right side of the page.
3. Check the Ansys License Manager -> Diagnostics -> Display FlexNet License Status to verify that licenses are available for checking out.
5. Check your system clock: If you are running with temp/eval/lease licenses, there is a security feature built into FlexNet that may be causing your license check out to fail. This may be evident by checking the
Ansys License Manager -> Log Files -> View FlexNet Debug Log. If you see that licenses are checked out, then immediately checked in, this is a clue that either your system clock is off or that FlexNet is finding files dated in the future. For example:
21:36:55 (ansyslmd) OUT: "stk_mission_level1" ...
21:36:55 (ansyslmd) IN: "stk_mission_level1" ...
To verify that this is caused by a system clock error:
- Go to this directory: C:\Users\USERNAME\AppData\Local\Temp\.ansys.
- Look for one of these files: ansyscl.xxxxxxxxxxxx.log or licdebug.xxxxxxxxxxxx.STK12.###.out
- Open these files and search for "System Clock". If you see something similar to this,
then it's a system clock error.
To fix this, try fixing your system clock. If that does not work, or your clock is already correct, then you need to search your computer for any files dated in the future and fix them. This may not be easy; you need to look at all three file dates (created/last accessed/modified). It may be easier just to find a different computer to run STK.
6. License server only partially runningYou find that the license server is only partially running ...
Licensing Interconnect: running
Licensing Interconnect Monitor: running
FlexNet Licensing: not running
I'm not sure why this happens, but here's the fix ...
- Open the Task Manager (Run as Administrator).
- From the Task Manager 'Details' tab, locate all lmgrd.exe process and 'End task'
You can then START the Ansys License Manager
7. STKv12.8 requires Ansys Lic Manager 2024 R1 (or higher)In order for STKv12.8 (and higher) to be able to check-out licenses, the Ansys License Manager needs to be running 2024 R1 or higher, or at least FlexNet v11.19.4.2 .
8. Ansys.com login appears with the "A current STK license could not be found" message.
Open
Ansys Licensing Client Settings tool (run 'as Administrator'), go to the
Web Licensing > Shared page and verify that it's not Enabled.
STK doesn't currently use Web Licensing and if this is On STK won't start. If you see any errors on this page about connections close them and turn
Off the
Enabled slider here. There is no save on this page but upon closing the
Ansys Licensing Client Settings tool your change will be saved and STK should start.
A second way to verify that Web Licensing is enabled is to look at the destination file of the Client Settings tools which by default is "
C:\Program Files\AGI\STK 12\Shared Files\Licensing\ansyslmd.ini". Note that editing this file as non admin is prohibited, editing a copy on your Desktop and then overwriting this file is best way to make a change. You can either delete the 'ANSYS_LICENSING_SHARED_WEB=1' line from the file or change the value to 0.
ANSYS_LICENSING_SHARED_WEB=1 (ON)
ANSYS_LICENSING_SHARED_WEB=0 (OFF)
9. 'localhost' vs '127.0.0.1' If you are pointing to a local machine with 'localhost' as the server name and cannot check-out licenses, try replacing 'localhost' with '127.0.0.1' (aka loopback address). Both of these values identify the local machine, but can be used differently depending on how your IT group has them defined, as well as avoiding host name mapping that may or may not exist.
10. Clear cached file on the clientFollow the below to remove the cached files on the client, this can resolve quirky issues:
1. From the Start menu, type %appdata% in the search field and press enter. That opens a window. In this window:
a. Rename the folder Ansys as Ansys_old
2. From the Start menu, type %temp%\ in the search field and press enter. That opens a window. In this window:
a. Rename the folder .ansys to .ansys_old.
11. FlexNet Debug LogIf all else fails, send a copy of your
Ansys License Manager -> Log Files -> View FlexNet Debug Log to your installation support engineer.