问题描述
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
解决方法
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.
COMSOL 尽一切合理的努力验证您在此页面上查看的信息。本页面提供的资源和文档仅供参考,COMSOL 对其有效性不作任何明示或暗示的声明。COMSOL 对所披露数据的准确性不承担任何法律责任。本文档中引用的任何商标均为其各自所有者的财产。有关完整的商标详细信息,请参阅产品手册。
