Ansys Products

Ansys Products

Install a network license

    • mrmz
      Subscriber

      We are trying to install a network license on LS-DYNA. The following are the steps we are doing for this purpose:


      • import network license on local machine
      • set LS-DYNA env variables --> license type: network

      When we run a job, we get the following error:

       *** License problem ***

       Network license:

       *** Error License client cannot find any servers to talk to.

              Servers may be down, not ready, or the wrong version.


      Moreover, we are not able to see the "license summary".

      ------------

      We have tried to set the license locally as well by doing the following steps:

      • "import license file" from "Node Locked Licenses"
      • set LS-DYNA env variables --> license type: local


      But we get the following error:

       *** License problem ***

       Local license:

       *** Error Bad license keys!

    • ANSYS_MMadore
      Ansys Employee
      Can you share the first few lines of text of the license file so we can determine if this is an ANSYS LS-DYNA license or an LST LS-DYNA license? Each have very different processes.

      Thanks
    • mrmz
      Subscriber
      The University of *******-- 1133451
      EMAIL: **@*.edu
      FAX:
      TELEPHONE: +12*** (Dr. ********)
      #
      SERVER: 59B49924 2A005C7C 617429FF D763A0D1 BA98E6E9
      # Intel(R) Ethernet Connection (2) I219-LM (UP)
      # undefined
      #
      # Interface: 2
      SERVER: B2A18AAF 8D238985 DF5A314A 4D5EF319 90804A4B
      # Generic (UP)
      # undefined
      #
      #
      #
    • TrentE
      Ansys Employee
      You are using a network license key under Windows. After you import the network license key, you'll need to start the LSTC License Manager. If you have installed the LS-DYNA Manager program for Windows, start the program as Administrator. Then, from the License Manager menu of the LS-DYNA Manager program, select the option to Install as a Service. Then select the option to Start the service. Then View the Local Machine LSTC License Manager Status to make sure that the license manager started. If all this seems to be working, exit the LS-DYNA Manager program and run the LS-DYNA Manager program as your user. From the Env Variables menu, select the option to set the LS-DYNA ENV Variables. There, set the license type to be "network" and specify the hostname or IP address of the machine running the network license (use "localhost" if you are trying to run on the same machine where the LSTC License Manager is located.) Now try to run LSDYNA. Let me know if there are any errors.
      Trent
    • mrmz
      Subscriber
      Thanks for your response. This did not solve our problem.
      When I try to "Start LSTC license manger", a dialog box with the message "Stopped" appears. Same thing happens when trying to select "view local machine LSTC license manger status".
      Moreover, when trying to select "License Summary", an error appears with the message "Encountered sharing violation while accessing C:\LSDYNA\qrun.inf.

      When trying to run a job, the following error appears:
      *** License problem ***
      Network license:

      *** Error License client cannot find any servers to talk to.
      Servers may be down, not ready, or the wrong version.
    • TrentE
      Ansys Employee
      Under the License Manager menu, there is an option to view the LSTC License Manager log file. Scroll to the bottom of that log file and look for the last ERROR. That should tell you why the LSTC License Manager failed to start.
      Keep in mind that the LSTC License Manager is keyed to one particular machine. If you want to access the license from a different machine, then you must configure LSDYNA to check for the network license on that machine; you won't be able to install the LSTC License Manager except on the machine that it is keyed for. To point to a different machine for the license, use the Settings option under the Env Vars menu; there you can set the license type to network and set the network license manager field to the host name or IP address of the machine that is running the LSTC License Manager.
    • mrmz
      Subscriber
      I am just focused on using a single machine right now.
      So, when attempted to open the log file, I get the message shown in the following image:


    • mrmz
      Subscriber
      I uninstalled and re-installed LS-DYNA, but the problem persists.
    • TrentE
      Ansys Employee
      From the run field on the task bar of Windows, run "services.msc" and scroll through the list of Services for the LSTC License Manager. Open that service, and see if it is installed. Try to start the service from there.
    • mrmz
      Subscriber
      This is the error I get when attempted to start the LSTC License manger the way you suggested
    • TrentE
      Ansys Employee
      The "Error 2" message for a Windows Service usually means that the program file has been removed or moved from the location where it was last registered through the Service Control Manager. To recreate the service definition, and to point it to the correct program file, run the Windows DYNA Manager program as Administrator, and under the License Manager menu select "Remove LSTC License Manager from Services"; then select "Install LSTC License Manager in Services". Finally, try to start the LSTC License Manager service from the Windows Service Control Manager, or try to start it using the start option found under the License Manager menu. That should solve the problem, provided the license file located is located in same directory with the service executable (lstclm.exe) and the license file.
    • mrmz
      Subscriber
      Thanks for your response, but it did not resolve the problem. We get the following errors when trying to run it from LSDYNA manager (first screenshot) and from Services.msc (second screenshot)




    • TrentE
      Ansys Employee
      There should be a log that was created when you tried to start the service. Check if lstclm.log now exists and, if so, what is the ERROR message at or near the bottom of the file?
    • TrentE
      Ansys Employee
      It appears that the license manager was previously installed, but that it executable file needed by the service was either moved are removed. However the service was not removed, and it still pointed to the old program file, which no longer existed. Now that you have re-defined the service, the error message is different.
      The new message indicates that the license server is not starting. So either the license file is missing from this new location, or the license file is not keyed for the machine you are on. The new lstclm.log file, which should now appear in the same location with the service, should contain a message to this effect at or near the bottom of the file. The lstclm.log file is a plain text file that can be opened directly, or by using the option in the DYNA Manager program to 'View the LSTC License Manager log file'. Scroll to the bottom for a description of the ERROR encountered while trying to start the LSTC License Manager program.
    • mrmz
      Subscriber
      For a system that we created a log file (for licensing), I get the following error when trying to access the log file based on your instruction. Reinstalling the LSDYNA did not help either.

      When trying to do the installation and do the licensing on another system in the same network, we get the following error. A screenshot of the log file can be seen in the following:

      We may be able to provide remote access to ANSYS officials for troubleshooting our issues! please let us know. Thank you!
    • TrentE
      Ansys Employee
      The message you have explains why the LST License Manager failed to start: the Machine information where you are attempting to run the License Manager does not match the machine information in the license key file. The LST License Manager is keyed to one particular machine. LSDYNA running on one machine can check out a license through the network from a machine where the LSTC License Manager is running, but the LST License Manager is designed to run only on the machine that it is key to, which is the machine where the original LSTC_SERVER_INFO license request file was generated.
      If you want to point your LSDYNA program to a machine where the license server is running, then open the DYNA Manager program and select the Env Variables menu item related to Settings. There you set the license type to network, and you set the Network License Manager field to the host name or IP address of the machine that is running the LSTC License Manager. After you do that, you should be able to run LSDYNA.
Viewing 15 reply threads
  • You must be logged in to reply to this topic.