Ansys Free Student Software

Ansys Free Student Software

Topics cover installation and configuration of our free student products.

FLEXlm server Issues with Ubuntu – Ansys License manager

    • Hadley So
      Subscriber

      I was able to get Ansys License manger installed and activate our entitlements. Ansys Licensing Interconnect version 2023.2.0 for lin64 is running successfully and reads valid licenses from the “.lic” file. Both “ANSYS License Manager” and “ANSYS Enterprise License Manager” have been installed since our Linux system does not have a GUI.
       
      The issue we’re facing is “Could not start FLEXlm server. Please check the FLEXlm log file. Exiting.” When looking at the 2023R2 License Management Guide I am unable to find the FLEXlm log files as specified in the 2023R2 License Management Guide.
       
      Question: Is FLEXlm (FlexNet) installed as part of “ANSYS License Manager” or “ANSYS Enterprise License Manager”?
      If so, how would I debug, if not installed is there documentation on how to install?

       

      ---

      Here are some lines from ansysli_server.log:

      2023/09/28 07:58:02    ERROR               Could not start FLEXlm server. Please check the FLEXlm log file. Exiting.
      2023/09/28 07:58:02    ERROR               Could not start FLEXlm server. Please check the FLEXlm log file. Exiting.


      2023/09/28 07:58:14    CLIENT_ACCEPT                                                                                            1/1/1/1                                                                              x:xx.xxx.xx.xxx     
      2023/09/28 07:58:14    HANDSHAKE_ERROR                                                                                          1/1/1/1                                                                              x:xx.xxx.xx.xxx      
              System error: 0 "".
      2023/09/28 07:58:16    CLIENT_ACCEPT                                                                                            1/1/2/2                                                                              x:xx.xxx.xx.xxx      
      2023/09/28 07:58:16    HANDSHAKE_ERROR                                                                                          1/1/2/2                                                                              x:xx.xxx.xx.xxx

    • George Karnos
      Ansys Employee

      You do not need to install BOTH Ansys License Manager and Enterprise License Manager.

      They both include the daemon for Flexnet (lmgrd)
      The Enterprise License Manager is specialized and if installed second could have changed something.
      Check the ansyslmd.ini file under /ansys_inc/shared_files/licensing

      it should not contain any specialized settings.

      I would recommend uninstalling ALL and start from scratch. 
      Then, just installing The Ansys License Manager,

      Also, check the installatyion guides for prerequisites and verify that ALL require linux library packages are installed.

    • George Karnos
      Ansys Employee

      You can also look athe the /ansys_inc/shared_files/licensing/license.log file
      This is the Flexnet debug log file.

      There are installation guides on the Ansys Customer Portal:
      https://download.ansys.com/Installation%20and%20Licensing%20Help%20and%20Tutorials

    • Hadley So
      Subscriber

      Thanks for the help George - 

      I think the issue is further back, it looks like the Flexnet daemon isn't being installed when the Ansys License Manager installer is running. 

       

      I restarted the entire process and re-installed Ansys License Manager. The installer error log had the following error:

       

      Error was encountered during the licensing configuration: 
         '/ansys_inc/shared_files/licensing/tools/bin/runlmconfig' terminated after 1 attempts with the following error(s): 
             Unknown error
         Exit Code: 127
         /ansys_inc/shared_files/licensing/tools/bin/linx64/ansyslm_config: error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory


      Any ideas on why the file cannot be opened? I confimed that the file exists and that I have permissions - running everything with sudo.

    • George Karnos
      Ansys Employee

      I would still verify that ALL required linux libraries are installed.
      https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v232/en/installation/unix_platform_libraries.html

Viewing 4 reply threads
  • The topic ‘FLEXlm server Issues with Ubuntu – Ansys License manager’ is closed to new replies.