Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products

OpticStudio Error: 1 licenses, unsupported by licensed server

    • Fernando Cruz Aguirre
      Subscriber

      I was having trouble getting OpticStudio to recognize my recently acquired 3 month license, and kept getting an error that read "One or more Ansys Zemax products were detected, however the license is expired or unable to be used". Under the Optics Launcher, I was evaluated for a 1 month lease of OpticStudio, and a file called license.lic was generated. Within this file, I was instructed to copy and paste its contents into the existing license file. This new file contained increments for zos_level1, level2, and level3, however I did not notice that my original license file had these increments already present. Upon reuploading this licence into the license manager, I tried rerunning OpticStudio again but am now told that all licenses are currently being used. When I checked the FlexNet Publisher's 'features in use' section, I noticed that it says "Users of zos_level1:  (Error: 1 licenses, unsupported by licensed server)" for the three zos_level entries. I tried a fresh reinstall of everything and reuploaded the original license file, but the license manager seems to have a memory of the modified file, seen within the ansyslmd.lic file under "View FlexNet Licenses" in the license manager, and OpticStudio keeps giving me these errors when trying to run it.

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Fernando,

      Can you update your License Manager to the latest version? And also which version you are using for the application?

      • Fernando Cruz Aguirre
        Subscriber

        I am currently using release 2023 R2 of the license manager and OpticStudio, I believe these are the most up to date versions.

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Fernando,

      Correct 2023R2 is the latest release. Can you please send the screenshot of the error and also the screenshot of license file?

      • Fernando Cruz Aguirre
        Subscriber

        I've attached the screenshot of the errors that I am seeing, along with the zos portions of the original 3 month license and the 1 month license that was evaluated/generated by the optics launcher. Please let me know if there is anything else that would be helpful.

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Fernando,

      Were both the license generated for the same machine's hostname and with the same disk serial number?

      • Fernando Cruz Aguirre
        Subscriber

        Yes, both share the same host server name and disk serial number. 

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Fernando,

      On the License server side can you goto C:\Program Files\ANSYS Inc\Shared Files\Licensing\license_files and check if ansyslmd.lic file is the latest one? If not then upload the latest file on License Manager.

      On the client side C:\Program Files\ANSYS Inc\Shared Files\Licensing and open ansyslmd.ini to check if client is pointing to the right server.

       

      • Fernando Cruz Aguirre
        Subscriber

        The ansyslmd.lic file appears to contain all license files that have been uploaded to the license manager, not just the current file. The first license that is displayed is the correct file. Could this be the source of the error? Or should this file normally display a "license history."

        As for ansyslmd.ini, I believe that it is pointing to the correct server. The server is localhost, and the port number matches that of the license file (located immediately after the disk serial number).

      • Fernando Cruz Aguirre
        Subscriber

        Hi Rajeshwari, are there any updates on this issue? 

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Fernando,

      Can you please reupload both the license files and restart the LM? Keep only the licenses which are required and are valid

      Unsupported means either expired/not started/old LM version.

    • Rajeshwari Jadhav
      Ansys Employee

      Also, can you paste the whole license file of this

      • Fernando Cruz Aguirre
        Subscriber

        I have tried restarting the LM, but this did not resolve the issue. When you say to keep only the licenses which are valid, do you mean to delete the invalid license files off the computer, or to delete the invalid portions in the ansyslmd.ini file which currently contains several licenses within it?

         

        Below is the full file from the previous screenshot. The file, generated by the Optics Launcher, was named lisence.lic, and when had uploaded it to the license manager it instructed me to append it to the original license.  I do notice now that while not explicitly labeled as disk serial number, the number immediately following the server name does not match the serial number in the original license file. The modified license file (with the below appended onto it) does match the original serial number.

        SERVER PHYS-S675 b40ede7021f5 1055
        VENDOR ansyslmd
        USE_SERVER
         
        # Products licensed in this file:
        # 1. Ansys Zemax OpticStudio Enterprise: 1 task(s) Lease expiring 02-Sep-2023 Customer # 1110163948
         
        INCREMENT zos_level1 ansyslmd 9999.9999 02-sep-2023 1 2B1D792D24F6 \
        VENDOR_STRING=customer:1110163948 SUPERSEDE \
        ISSUER=AUFI_LUM_TRIAL ISSUED=03-aug-2023 START=03-aug-2023 \
        SIGN="0060 780D 04B8 5030 86FC CA01 25C7 4300 71F8 7A9F FD75 \
        41E0 A65D 8108 CBA0" SIGN2="00E7 15A2 16F2 C7C3 3D72 1C02 8B58 \
        E400 EA61 2EDB 3BD2 00F0 E696 8634 7596"
         
        INCREMENT zos_level2 ansyslmd 9999.9999 02-sep-2023 1 EB30A41CD61B \
        VENDOR_STRING=customer:1110163948 SUPERSEDE \
        ISSUER=AUFI_LUM_TRIAL ISSUED=03-aug-2023 START=03-aug-2023 \
        SIGN="001E E2F2 9FB3 96E7 5902 33EB 9124 0200 41CF A6A9 EB01 \
        B9BF 3FBE 0A3E 3B1E" SIGN2="0023 DD2C 51D0 3866 5EA5 4866 AC0B \
        1D00 41C1 3349 9E27 CBFA 2C0F CDBD 6C96"
         
        INCREMENT zos_level3 ansyslmd 9999.9999 02-sep-2023 1 57194B2CE857 \
        VENDOR_STRING=customer:1110163948 SUPERSEDE \
        ISSUER=AUFI_LUM_TRIAL ISSUED=03-aug-2023 START=03-aug-2023 \
        SIGN="003F 1FFC 3790 669A 5DBA 70CE 5249 9100 6E72 392B DC50 \
        3D99 6FB4 C32F 41FA" SIGN2="00ED B487 AAE7 5980 0AA7 0BFB C7AE \
        6500 C0E1 1584 BA22 D8BE 8AD1 59F2 D222"
    • Rajeshwari Jadhav
      Ansys Employee

      Hi Fernando,

      Just remove the invalid portion, before doing that can you please send the screenshot of Ansys License Manager "Get System HostId Information".

      • Fernando Cruz Aguirre
        Subscriber

        Hi Rajeshiwari, here is the screenshot you requested, please let me know if you need to see anything else. Thank you for the clarification on removing the invalid portion.

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Fernando,

      Seems the license file with this detail SERVER PHYS-S675 b40ede7021f5 1055 is correct.

      What do you mean here?

      • Fernando Cruz Aguirre
        Subscriber

        In the original license file sent to us by Ansys, the first lines of the license file reads: 

         

        SERVER PHYS-S675 DISK_SERIAL_NUM=424d580d 1055
        VENDOR ansyslmd
        USE_SERVER

        # Products licensed in this file:
        # 1. Ansys Academic Research Optics (5 tasks): 1 task(s) Lease expiring 27-Oct-2023 Customer # 432434

        I see now that  b40ede7021f5 is referring to the mac address rather than the disk serial number

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Fernando,

      Please revert the changes, the original file sent by Ansys should be uploaded, so you may have 2 license files on path C:\Program Files\ANSYS Inc\Shared Files\Licensing\license_files

      • Fernando Cruz Aguirre
        Subscriber

        Hi Rajeshwari,

         

        Thank you very much for your assistance, the errors are no longer present in the FlexNet License display!

        I do, however, still have a final issue, whenever I try to open OpticStudio, I am met with this message: 

        The license manager is running properly without errors, but I will get this message whenever I try to run OpticStudio with either the Ansys Client Settings or the Optics Launcher Settings. Under the Ansys Client Settings, I am connected to the correct port, 1055, and the correct server, localhost, but am still unable to run OpticStudio despite having zero isntances of it currently running. The computer was restarted, but nothing has changed.

         

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Fernando,

      Can you please run OpticStudio.exe as admin. Then a utility will appear please mention your servername's PHYS-S675.

      • Fernando Cruz Aguirre
        Subscriber

        The utility did not pop up when running OpticStudio as an admin, but I did pull up the licensing tools in the Optics Launcher, pressed on "Open Ansys Client Settings" and changed the port name to PHYS-S675, and got a green check after pressing "test". I restarted the program but got the same error when running OpticStudio, even as an admin.

        When switching to the Optics Launcher Settings, I also changed the server name to PHYS-S675, and got a similar result. I do notice though that despite the connection being active, under Domain it says "server unreachable or licenses could not be found". Could this be the issue?

    • Rajeshwari Jadhav
      Ansys Employee

      Please provide screenshots of both output:

      • Are you able to ping or telnet your server, in the command prompt try using cmd “ping servername” and “telnet servername 1055” .

      To ON telnet service go to start àsearch “Turn Windows feature on or off” àcheck box “Telnet Client” and click ok.

      Please let me know if you are able to ping and telnet.

      If you are not able to telnet, then check PORTS and Firewall exceptions. Make sure Ansys default ports(1055,2325,1056) are open in the firewall. (Both on the client and server side it should be opened). 

    • Fernando Cruz Aguirre
      Subscriber

      Hi Rajeshwari,

      I believe that I was successful in pinging and telnetting, here are my results: 

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Fernando,

      Is License Manager and application installed on same machine? If yes, then can mention servername as localhost in utility?

      If this doesn't work then try to mention path of license file.

      • Fernando Cruz Aguirre
        Subscriber

        License Manager, Optics Launcher, and OpticStudio are all installed on the same machine. I was originally using localhost as you show, but this gives the same result as using PHYS-S675. I do not have the second option for entering a path to the license file.

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Fernando,

      Can you try to install 2023 R1 once and check if you are facing same problem with it? and also through start menu can you expand Ansys Zemax OpticStudio 2023 R2 folder to check if you see licensing utility over there?

      • Fernando Cruz Aguirre
        Subscriber

        I was able to add ANSYSLMD_LICENSE_FILE as an environment variable with the path to the license file, as seen below, but this did not result in any change. I can try installing 2023 R1 and see if it works. I've also attached the folder items in the start menu for OpticStudio 2023 R2, the Licensing Client Settings program is the same as what opens when "Open Ansys Client Settings" is pressed in the Optics Launcher.

      • Fernando Cruz Aguirre
        Subscriber

        I have installed License Manager 2023 R1, however the R2 version continues to open instead when running it from the start menu.

    • Rajeshwari Jadhav
      Ansys Employee

      Hi,

      Please install the Ansys Zemax OpticStudio application version as 2023 R1, not the License Manager.

      • Fernando Cruz Aguirre
        Subscriber

        Hi Rajeshwari,

         

        Switching to OpticStudio 2023 R1.03 worked, thank you so much for your assistance!

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