License Manager Error -96 when installing Polyspace 2024b in linux

8 ビュー (過去 30 日間)
Ricardo
Ricardo 2025 年 2 月 28 日
移動済み: Walter Roberson 2025 年 3 月 3 日
I'm trying to do a silent installation of polyspace 2024b in linux: ./install -inputFile <path>/installer_input.txt
The installation is successful, but when I try to run a command like:
./polyspace-bug-finder -sources <file.c>
I get the following error:
License Manager Error -96
Unable to comminicate to license server
Make sure that the client machine can communicate with the hostname listed in the SERVER line of the license file, and that the port listed is not blocked by a firewall.
I have verified that the license server is up and running, and I know that the port I'm using to access the server is not blocked, because I am able to connect using:
telnet <hostname> <port>
I'm also able to ping the server.
Is there any additional step to activate the license?
What else could be causing this problem?
Thanks
  2 件のコメント
Walter Roberson
Walter Roberson 2025 年 2 月 28 日
How is the SERVER line specified? Is it specified as just a host name, or is it a Fully Qualified Host Name, or is it an IP address?
Ricardo
Ricardo 2025 年 3 月 1 日
@Walter Roberson If you are talking about how it is specified in the network.lic file, then:
SERVER <server host name> <ID> <Port>
USER_SERVER

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2025 年 3 月 1 日
移動済み: Walter Roberson 2025 年 3 月 3 日
As an experiment try changing <server host name> to IP address.
  1 件のコメント
Ricardo
Ricardo 2025 年 3 月 3 日
移動済み: Walter Roberson 2025 年 3 月 3 日
@Walter Roberson That actually worked. Thanks a lot!

サインインしてコメントする。

その他の回答 (1 件)

Hitesh
Hitesh 2025 年 3 月 3 日
Hi Ricardo,
This error message indicates that there is a problem resolving the hostname of the license server. The license server hostname is found in the SERVER line of the $MATLAB/licenses/network.lic file on your machine. The hostname must be resolvable for MATLAB to connect to it. 
To test the hostname, we need to use the ping application, which is a command line utility. On Linux distributions, launch terminal, after launching the command line interface, enter this command:
ping <hostname>
where <hostname> is the hostname of the license server as it appears on the SERVER line of your license file. The license file is named network.lic and is found under $MATLAB/licenses where $MATLAB is your root MATLAB installation directory.
As you mentioned that you were able to ping it successfully and MATLAB is still unable to connect to the license server, there may be one or more firewalls blocking the connection between the MATLAB client and the MATLAB license server. The network license manager communicates on two ports that must be opened through the firewalls. If there is a firewall running, contact your System Administrator to open the necessary ports in the firewall. Turned off the firewall and reinstall the Polyspace 2024b.
For more information regarding "ports between the network license manager and client are blocked or not", kindly refer to the following MATLAB Answer:
  1 件のコメント
Walter Roberson
Walter Roberson 2025 年 3 月 3 日
If there were a firewall blocking access, then the "telnet" would not have worked.

サインインしてコメントする。

製品


リリース

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by