License manager error -15

조회 수: 88 (최근 30일)
Pancham Shukla
Pancham Shukla 2022년 3월 5일
댓글: LABS DTEC 2024년 10월 18일
I am using AppsAnywhere to launch Matlab through my University system. It gives me License manager error -15.
Unfortunatley, I removed the directory where Matlab was prevsiouly installed. I don't know what to do.
  댓글 수: 1
DR. S. A. DHANARAJ
DR. S. A. DHANARAJ 2024년 8월 29일
how to slove this error

댓글을 달려면 로그인하십시오.

답변 (2개)

Srijith Kasaragod
Srijith Kasaragod 2022년 3월 8일
Hi,
This error can have different meanings depending on which system it occurs.
If you receive this error on a client installation of MATLAB:
  1. Verify communication by pinging the license manager server from the client with the following command: ping <hostname> where <hostname> is the hostname of the server machine. If this fails you may have a networking error that is preventing the client from communicating with the license manager server. Contact your network administrator to resolve this issue. NOTE: If you know the IP address of the server and are able to ping that, the issue more lies within the DNS configuration of your network. You can replace the hostname in the server line of the network.lic with the IP address as a workaround
  2. Verify that the SERVER line of the network.lic on the client matches that of the license.dat file on the server itself. If the SERVER line differs it may cause the client to contact the wrong server/port.
  3. Check if there is a firewall(s) between the MATLAB client and the license manager server. The license manager communicates on two ports that must be opened through the firewall(s). These ports are specified in the license file hosted on the license manager server. If there is a firewall running, contact your System Administrator to open the necessary ports in the firewall.
If you receive this error on the license server:
  1. Verify that the license manager is running on the license server. If the license manager is not running, restart the license manager and try to run MATLAB again. This will often resolve the error. For more information on how to restart the license manager, see instructions: https://www.mathworks.com/matlabcentral/answers/102968-how-do-i-start-or-stop-the-network-license-manager
  2. Verify that the TCP port numbers used by the license manager are not already being used by another application. To determine which port numbers the license manager is using, refer to the end of the SERVER and/or DAEMON lines in the license.dat file.
Note that the license manager uses two ports. The first port is used by lmgrd, and is defined at the end of the SERVER line in the license.dat file. By default, port 27000 is used. The second port is used by MLM, and is (optionally) defined at the end of the DAEMON line in the license.dat file. By default, the port is randomly selected.
If the DAEMON line does not end with "port=<number>", then MLM is using a random open port. Consult your network administrator for help identifying ports in use.
For more information about these ports, see the article below:
If you are getting this error while connected to a Wide Area Network (WAN), please see the article below:
Hope this helps!
  댓글 수: 1
Pancham Shukla
Pancham Shukla 2022년 3월 8일
Thank you. I shall try what you suggested.

댓글을 달려면 로그인하십시오.


LABS DTEC
LABS DTEC 2024년 5월 2일
편집: LABS DTEC 2024년 5월 2일
Unfortunately I can't solve it by following these steps.
  댓글 수: 2
Jaroslaw
Jaroslaw 2024년 10월 17일
hi LABS DTEC
were you abled to solve this? we have the exact same error but are abled to ping the server.
LABS DTEC
LABS DTEC 2024년 10월 18일
Hello Jaroslaw,
We address this issue by setting a specific port number for the Vendor Daemon software (MLM.exe).
For Windows OS:
1) on the PC where the license manager was installed, go to the path C:\Program Files\MATLAB\R2021b\etc
2) open the <license.dat> file as administrator and set a port number between 27001 and 27009. In our case, we chose 27001, as shown below:
  • MLM DAEMON "C:\Program Files\MATLAB\R2021b\etc\win64\mlm.exe" port=27001
3) Save the changes and ensure that the PC's firewall has a valid rule to allow communication through the port defined above. If not, you need to set this rule.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by