Ansys Products

Ansys Products

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

Installing the ANSYS license manager on Ubuntu

    • Ediolot
      Subscriber

      Hello everyone, I has been trying without success to install the ANSYS license manager in ubuntu 20. The installation process goes without errors and Im able to install the license file correctly through the web interface, but then it doesnt manage to start the server process.

      Here you can see the full log:

      $: /ansys_inc/shared_files/licensing$ cat ansysli_server.log


                     -------------------------------------------- NORMAL STARTUP 2021/11/30 18:56:55 ---------------------------------------------


                     Ansys Licensing Interconnect version 2021.2.0 (20210525) for linx64. Updated at Ansys Release 2021 R2. Started on 2021/11/30 18:56:55 by [email protected]:linx64 with pid 2148.

                     (C) 2021 ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.

                     Built Using FlexNet Publisher v11.16.4.0 build 252457 x64_lsb

                     Built Using OpenSSL 1.1.1j 16 Feb 2021


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


                     Please note that entries in this debug log have the following format:


      TIMESTAMP             ACTION             FEATURE                   REVISION (BUILD DATE)            A/B/C/D                W/X/Y/Z  PID:MPID:APP:[email protected]:PLATFORM:DISPLAY                                   SOCKET:IP


                     Licenses statistics:

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

                     A is the number of licenses requested by this ACTION.

                     B is the number of licenses used by this USER.

                     C is the number of licenses used by all users.

                     D is the number of licenses available in the local license pool.


                     License server performance statistics:

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

                     W is the number of currently connected client applications.

                     X is the maximum number of connected client applications.

                     Y is the unique serial number of this client application.

                     Z is the number of all client applications served by this Licensing Interconnect server.


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

      2021/11/30 18:56:55   INFO               ANSYSLI_CMD=/ansys_inc/shared_files/licensing/linx64/ansysli_server

      2021/11/30 18:56:55   INFO               ANSYSLI_INITIALIZATION_FILE=No initialization file found.

      2021/11/30 18:56:55   INFO               ANSYSLI_MONITOR=/ansys_inc/shared_files/licensing/linx64/ansysli_monitor

      2021/11/30 18:56:55   INFO               ANSYSLI_PRODORD_FILE='/ansys_inc/shared_files/licensing/prodord/ansysli.prodord.xml'

      2021/11/30 18:56:56   INFO               FLEXLM_LICENSE_FILE='/ansys_inc/shared_files/licensing/license_files'

      2021/11/30 18:56:56   INFO               ANSYSLI_PORT=2325

      2021/11/30 18:56:56   INFO               Listen Socket Created

      2021/11/30 18:56:56   INFO               Backing up FLEXlm debug log file to /ansys_inc/shared_files/licensing/logs_backup/license_20211130_185656.log.

      2021/11/30 18:56:56   INFO               /ansys_inc/shared_files/licensing/linx64/lmgrd -c /ansys_inc/shared_files/licensing/license_files -l /ansys_inc/shared_files/licensing/license.log

      2021/11/30 18:56:57   INFO               Still trying to start FLEXlm server. Please wait ...

      2021/11/30 18:57:04   CACHE_SERVER       Available licenses from file /ansys_inc/shared_files/licensing/license_files:

                     [...] # I removed all of these options so the log fits

      2021/11/30 18:57:04   CACHE_SERVER       No active FLEXlm options.

      2021/11/30 18:57:04   CACHE_SERVER       No active Ansys Licensing Interconnect options.

      2021/11/30 18:57:07   INFO               Still trying to start FLEXlm server. Please wait ...

      2021/11/30 18:57:11   ERROR              Unable to write server port to ANSYSLI_PORT.



      Im not sure exactly what's the meaning of the error at the last line. Maybe it couldnt bind to port 2325 ? Maybe it was unable to read the port number from the variable ? Maybe there was an exception somewhere else in the process of connecting to port 2325 ?. There is nothing running on port 2325 and after this failed attempt to start the server I can see the lmgrd process running on port 1055.


      I have tried mainly starting the server (with and without sudo privileges) with:

      • init_ansysli start
      • init_ansysli_tomcat start (the web interface)
      • Manually using linx64/ansysli_server

      Any ideas on how to fix this issue ?

    • George Karnos
      Ansys Employee
      Check to see if /tmp is full
    • akaszynski
      Subscriber
      It's been a while since this has been posted, but I ran into the same issue on Ubuntu 20.04 and thought to post the solution here:
      After installing Ubuntu 20.04, you'll need to install additional packages. The one I was missing was:
      sudo apt-get install lsb
      See:
      https://support.lumerical.com/hc/en-us/articles/4413487749267-Ansys-license-manager-installation-guide-on-Ubuntu-Linux
Viewing 2 reply threads
  • The topic ‘Installing the ANSYS license manager on Ubuntu’ is closed to new replies.