-
-
August 27, 2025 at 12:31 pm
j.ruess
SubscriberWhen running the license manager on our server, the flexnet portion of the license does not run. The interconnect and interconnect monitor do successfully start.Â
In the Flexnet Debug log it states:
8:06:17 (lmgrd) "": Not a valid server hostname, exiting.
8:06:17 (lmgrd) Valid license server system hosts are: ""
8:06:17 (lmgrd) Using license file ""
8:06:17 (lmgrd) Unable to kill lmgrd.exe. Please kill this manually by opening the Task manager and Killing the lmgrd.exe which are still running".
The IP Address above is not the correct IP address. I am not sure, but I believe that may be a part of the problem. I tried recreating the license file and migrating to the new server (or rather to the correct IP address) but it simply says "not a valid hostname, changing to IP address. We recently moved the server, physically to a different location and had to change the IP address. the server and hostname are the same.
Please let me know if you have any advice. -
August 27, 2025 at 9:05 pm
Lito
Ansys Employee@j.ruess,Â
Try / check the following:Â
- Ensure that the Hostname and MAC address, "xxxxSVR (MAC_ADDRESS=xxxxxx40fcc2)", you used to activate/generate the new license match those shown in the Ansys license managerment center > Get system hostid information page. Â
- Before installing the new license file, remove the previous "ansyslmd.lic" file from the "../license_files/" folder in the Ansys LM installation directory. e.g. move it to the '../backup' folder.Â
- Then "Add" the new license file and Install/Restart the Ansys LM when prompted.Â
We have the following Knowledge Base (KB) for reference:Â
-
August 28, 2025 at 5:14 pm
j.ruess
SubscriberWe managed to get the License server running, but now we are having an error for machines attempting to connect to it. Some of the machines are giving an error when opening workbench and say that lmgrd.exe is not running. I have checked the task manager on the server and it appears to me that lmgrd is running normally. The server also shows all 3 components, interconnect, interconnect monitor, and flexnet as running.
-
August 28, 2025 at 6:14 pm
Lito
Ansys Employee- Did you configure the license file/manager for share license access as shown in the KB >> Configuring the Ansys license manager for shared access – Ansys Optics ? e.g. set static ports in the license file and set the firewall exceptions on the license server/machine. And the client machine is on the same local network as the server and allowed to connect to the license server on the LAN.Â
- If the Ansys license manager is up and running it should show the licenses that are available for checkout in the Ansys LMCenter > Display FlexNet license status page >> Ansys license management center (overview) – Ansys Optics
Check the error message from the client machine when trying to checkout the licenses from the server and refer to this KB on how to fix the licensing error >> Fixing common licensing errors – Ansys Optics.
Â
- Did you configure the license file/manager for share license access as shown in the KB >> Configuring the Ansys license manager for shared access – Ansys Optics ? e.g. set static ports in the license file and set the firewall exceptions on the license server/machine. And the client machine is on the same local network as the server and allowed to connect to the license server on the LAN.Â
-
August 28, 2025 at 6:54 pm
j.ruess
SubscriberI went through all of these steps. We have confirmed the firewall is not the issue. There is no error code number. Workbench simply says it cannot connect to the license server on the one machine. The server says licenses are available. It is able to lease those licenses out on some machines, but not all. The server is on a different subnet from the target machines, but that doesn't seem to be the issue. When running the connection to license server app from the target computers, we are receiving confirmation that they are connected. We actually have 2 of our machines right next to each other in the same room and on the same subnet. Both receive the green check to connect to the license server. One of the machines works normally, and the other says it cannot connect to the license server when attempting to launch workbench. Everything on the license server seems to be running correctly. The target machines, whether working or not have a note in the logs that says lmgrd.exe is not running or able to start running. I'm not sure if that is a part of the problem. When running task manager oon the server lmgrd is running.
-
August 28, 2025 at 6:57 pm
j.ruess
Subscriberthe lmgrd error is "lmgrd is not running: License server machine is down or not responding "WinSock: Host not found"
-
August 28, 2025 at 8:43 pm
Lito
Ansys EmployeeThis is related to you DNS routing/your machine’s/network’s ability to resolve the hostname vs IP address of the machines >>Fixing common licensing errors (error: -96)– Ansys OpticsÂ
- Check with your IT for the correct DNS server/service.
- If you are configuring the license server using the hostname, try to use the ip address instead.
- Otherwise, try to add the IP and hostname of your server and client machines into the hosts files.
Example ‘hosts’ file:Â
##on the client machines##
127.0.0.1Â Â localhost client_machine_hostname
IP_ADDRESSÂ Â client_machine_hostname
IP_ADDRESSÂ Â license_server_hostname
##on the license server##
127.0.0.1Â Â localhost license_server_hostname
IP_ADDRESS Â Â license_server_hostname
IP_ADDRESS Â Â client_machine_hostname1
IP_ADDRESS Â Â client_machine_hostname2
##add each client machine that connects with the server##
. . .
IP_ADDRESS Â Â client_machine_hostname##Â
Hope this helps.Â
-
- You must be logged in to reply to this topic.
-
4858
-
1587
-
1386
-
1242
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.