Updating the COMSOL License Manager

Solution Number: 1022
Title: Updating the COMSOL License Manager
Platform: All Platforms
Applies to: All Products
Versions: All versions
Categories: Error Messages, Error Messages
Keywords: Error: License server system does not support this version

Problem Description

When starting COMSOL Multiphysics, I receive this error message:

Could not obtain license for COMSOL Multiphysics GUI.
License error: -25
License server system does not support this version of this feature

or

License file does not support this version.
Feature: SERIAL
Application version > License version: 5.4 > 5.3a
License path: C:\Program Files\COMSOL\COMSOL54\Multiphysics\license\license​.dat;
FlexNet Licensing error:-21,126

Solution

The solution is to update the on-site COMSOL License Manager software from COMSOL version 5.3a to version 5.4. Step-by-step instructions can be found below.
Note: the COMSOL 5.4 license manager binaries and license files are backward compatible with COMSOL installations back to version 3.5a. This means that existing installations of COMSOL 5.3a and earlier will continue to function as normal after the license manager has been updated to version 5.4.

Updating the COMSOL License Manager software on Windows

The COMSOL License Manager is installed as a Windows service. We will use the LMTOOLS license utility program to upgrade the license manager service to COMSOL version 5.4.

  1. Install the COMSOL 5.4 License Manager on the license server. Please see the section License Manager Installation on Windows in the COMSOL Multiphysics Installation Guide for instructions. Alternatively, download the license manager binaries using the link at the bottom of this page.
  2. Start the LMTOOLS license tool from the Start menu>All Programs>COMSOL Multiphysics 5.4>COMSOL Launchers>LMTOOLS.
  3. On the Service/License File tab, select the COMSOL License Manager.
  4. Go to the Start/Stop/Reread page and click the Stop Server button.
  5. Go to the Config Services page. Change the paths to lmgrd.exe, and license.dat so that they all point to the COMSOL 5.4 installation directory. Starting with the version of the Flexnet distributed with COMSOL Multiphysics 5.4, the permissions where the license manager is allowed to write has been changed. The current recommendation is to store the debug log file, comsol54.log in the directory C:\ProgramData\COMSOL.
  6. Click the Save Service button.
  7. Go to the Start/Stop/Reread page and click the Start Server button.
  8. Choose Exit from the File menu to close LMTOOLS.

The update is now complete. The license server does not need to be restarted.

Updating the COMSOL License Manager software on Linux and Macintosh

  1. Install the COMSOL 5.4 License Manager components on the license server, available from the COMSOL 5.4 installation media. Please see the section License Manager Installation on Linux or License Manager Installation on Mac OS X in the COMSOL Multiphysics Installation Guide for instructions. Alternatively, download the license manager binaries using the links at the bottom of this page.
  2. Stop the COMSOL license manager: Make the comsol54/multiphysics/license/$arch directory the current directory, where $arch is either glnxa64 (64-bit Linux), or maci64 (64-bit Mac OS X). Stop the 5.3a license manager with the lmdown command:

    ./lmdown -c ../license.dat

  3. Start the COMSOL 5.4 License Manager with the lmgrd command:

    ./lmgrd -c ../license.dat -L /var/tmp/comsol54.log

    Note: If running the lmgrd command returns the error message ./lmgrd: Command not found., the license server is missing required libraries for LSB (Linux Standard Base). For information on how to fix this issue, please see solution 1199

  4. Finally, modify the boot script that starts the COMSOL License Manager automatically at boot. For instruction on how the boot scripts should be set up, please see the COMSOL Multiphysics Installation and Operations Guide.

The update is now complete.

See Also

Instruction video

Solution 903. (Could not obtain license for COMSOL Multiphysics GUI).

Solution 1078. (Problems running a classkit)

Related Files

54_glnxa64.zip 6.6 MB
54_maci64.zip 11.6 MB
54_win64.zip 2.6 MB

Disclaimer

COMSOL makes every reasonable effort to verify the information you view on this page. Resources and documents are provided for your information only, and COMSOL makes no explicit or implied claims to their validity. COMSOL does not assume any legal liability for the accuracy of the data disclosed. Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark details.