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

8 Ansichten (letzte 30 Tage)
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 Kommentare
Walter Roberson
Walter Roberson am 28 Feb. 2025
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 am 1 Mär. 2025
@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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 1 Mär. 2025
Verschoben: Walter Roberson am 3 Mär. 2025
As an experiment try changing <server host name> to IP address.

Weitere Antworten (1)

Hitesh
Hitesh am 3 Mär. 2025
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:

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by