Platform: Linux Versions: Toutes les versions

Problem Description

When trying to launch the software on a Linux Machine with an NSL license installed, I receive the following or a similar error message:

License error: -39.
User/host not on INCLUDE list for product.
User/host not on INCLUDE list for feature.
Feature: COMSOLGUI
License path: /usr/local/comsol63/multiphysics/license/license.dat
FlexNet Licensing error:-39,147

Solution

During the installation of an NSL license on a Linux machine, the installer prompts you for the username of the user who will be using the software. Only the user account with the specified username will have access to run COMSOL Multiphysics on the machine. This user information is stored in the options file LMCOMSOL.opt, which can be found under the {COMSOLInstallationDirectory}/license directory (the default COMSOL installation directory is /usr/local/comsol63/multiphysics). If you open the LMCOMSOL.opt file in a text editor, you will see lines in the following format:

INCLUDE FEATURENAME USER "USERNAME"

Here, USERNAME is a placeholder for the username that is supposed to access the software. It is crucial to ensure that the user account attempting to run the software matches this information. Please open a terminal and enter the command whoami to find your exact username on the machine. If there is a mismatch between the command output and USERNAME, you should edit the LMCOMSOL.opt in a text editor and replace all the usernames with the correct information.

Once done, you must restart the license manager for the change to take effect. See section restarting the license manager here.