Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

FlexNet not Running

    • j.ruess
      Subscriber

      When 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. 

    • 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: 

    • j.ruess
      Subscriber

      We 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.

    • Lito
      Ansys Employee
      1. 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. 

      2. 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

        almc-flex-lic-stat.png

      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.

       

    • j.ruess
      Subscriber

      I 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.

    • j.ruess
      Subscriber

      the lmgrd error is "lmgrd is not running: License server machine is down or not responding "WinSock: Host not found"

    • Lito
      Ansys Employee

      This 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 

      1. Check with your IT for the correct DNS server/service.
      2. If you are configuring the license server using the hostname, try to use the ip address instead.
      3. 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. 

Viewing 6 reply threads
  • You must be logged in to reply to this topic.