MATLAB Answers

Why do I receive License Manager Error -15?

8,213 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2010 年 5 月 6 日
回答済み: Jacques Richou 2021 年 1 月 13 日 17:10
Why do I receive "License Manager Error -15"?
On the client system, the error appears as:
ERROR: License checkout failed. Cannot connect to license server. License Manager Error -15.
On the license server, the error appears as:
 
ERROR: FlexNet Licensing error: -15,10. System Error: 10061 "WinSock: Connection refused"

採用された回答

MathWorks Support Team
MathWorks Support Team 2020 年 10 月 12 日
編集済み: MathWorks Support Team 2020 年 10 月 12 日
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 here.
  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.
Example:
SERVER Host_Name HostID 27000
DAEMON MLM <path/to/MLM> port=1711
Note: In this setup both the Host Name and HostID are from the License Server, not the client computer.
If the DAEMON line does not end with "port=<number>", then MLM is using a random open port. In the example above, you will need to check ports 27000 and 1711. Consult your network administrator for help identifying ports in use.
For more information about these ports, see the article below:\n
What ports does the MATLAB license manager use, and how can I set those ports?
\n
If you are getting this error while connected to a Wide Area Network (WAN), please see the article below:
Why do I receive a license manager error -15 when trying to checkout a license key from a distant location or over a wide area network (WAN)?

  6 件のコメント

表示 3 件の古いコメント
Paul Duffield
Paul Duffield 2020 年 8 月 25 日
Hi all,
If I were to change the port on the server to 27010, is there a simple way to update the clients or do I need to reinstall with the new license.dat file?
Cheers
Colin Fraser
Colin Fraser 2020 年 9 月 2 日
You would need to update the license files of all clients to now have the 27010 set as the port.
If you are still experiencing this issue, please create a service request below.
-Colin Fraser
Ali Naeemah
Ali Naeemah 2020 年 9 月 26 日
the software center of my university told me that the expire date of Matlab 2019a will expire on my 2020 that means now I can not use the university version right now until they update it

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

その他の回答 (10 件)

pronning
pronning 2017 年 7 月 7 日
To me, the error occured when I was off-site, and the VPN to the University server was disconnected...

  2 件のコメント

Shilin Chen
Shilin Chen 2020 年 4 月 18 日
So did I
凌华 杨
凌华 杨 2020 年 8 月 29 日
That is my cause! thanks so much

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


Asma
Asma 2017 年 7 月 8 日
I got this problem but it was like intermittence connection. Sometimes there is no error, sometimes not ok and appears this error. Ping the hostname is successful. I don't know how to solve it.

  0 件のコメント

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


Leonid Tulin
Leonid Tulin 2017 年 10 月 11 日
I have that error after force-quit . Server works fine . How can i fix it ??

  2 件のコメント

Laurent Patry-beaudoin
Laurent Patry-beaudoin 2018 年 6 月 5 日
have you found how to solve this problem?
Tech Support
Tech Support 2018 年 6 月 6 日
Hi Laurent,
If you are still experiencing this issue, please contact MathWorks support:
-Justin

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


Anuradha Das
Anuradha Das 2018 年 2 月 16 日
i could not open the matlab r2017a due to licence failure..kindly assist me

  1 件のコメント

Riley Holzman
Riley Holzman 2018 年 4 月 24 日
You have to wait for your teacher. she will tell you.

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


blue ece
blue ece 2018 年 3 月 8 日
how i can install matlab

  4 件のコメント

表示 1 件の古いコメント
Kyle Perry
Kyle Perry 2018 年 5 月 18 日
Hi William,
If you are still getting license manager error -15, please contact the Installation support team so we can assist with the error.
www.mathworks.com/support/contact_us/
William Jones
William Jones 2018 年 6 月 15 日
Hi Kyle, MATLAB worked on the client PC for a few days for a User, and then stopped working on its own when I got the call. The first thing I noticed in the license file "(lmgrd) MLM using TCP-port 54612 when it was working, but now the server PC config/debug log says it is using port 50977. I thought this was odd. Not sure if you've seen/heard this before? So, I changed the port in the license file on the client PC to match the server PC (port 50977) and it now works again on the client PC. Go figure. Is there a way to automate this? Or a way to predict when it was happen again. Thanks! Will.
Kyle Perry
Kyle Perry 2018 年 6 月 20 日
Hi Will,
It should not have been adjusting the port number on its own, if this happens again, please contact us so we can take a look at the issue.
Regards, Kyle Perry

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


h612
h612 2018 年 5 月 21 日
I am using Matlab2017a from my university. I just figured out that using any network besides that of my universities', I had the license server issue. Hope that helps sm1.

  0 件のコメント

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


Alfonso Valdes
Alfonso Valdes 2018 年 10 月 25 日
Hi, I just migrated to Mac OS Mojave and got the license message the first time I tried to use Matlab under Mojave. The license path in the message is /Library/Application Support/MathWorks/MATLAB/R2017b_licenses:/Applications/MATLAB_R2017b.app/licenses/license.dat:/Applications/MATLAB_R2017b.app/licenses/network.lic
But if I ls from /Library/Application Support/MathWorks/MATLAB, I just see the directory R2017b and there is no license. Anyone else seeing this? Have you migrated to Mojave?

  2 件のコメント

Torvald Ask
Torvald Ask 2019 年 2 月 8 日
I have the same problem. Matlab won't start; I just get the License Manager Error -15 and when I follow the path you have listed it stops with the R2018b directory.
Kyle Perry
Kyle Perry 2019 年 2 月 14 日
Hello Everyone,
If you are still receiving the error after trying all the steps listed above, then please contact our support team so we can assist.

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


Dhritiraj Sengupta
Dhritiraj Sengupta 2019 年 7 月 13 日
Hello, I am having the following error. How can I fix it?
WeChat Screenshot_20190713142256.png

  1 件のコメント

Colin Fraser
Colin Fraser 2019 年 7 月 17 日
  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.
  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 need further assistance, please contact us.
-Colin

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


Toon Verwaest
Toon Verwaest 2020 年 4 月 8 日
License checkout failed. License Manager Error -15
MATLAB is unable to connect to the license server. Check that the license manager has been started, and that the MATLAB client machine can communicate with the license server.

  9 件のコメント

表示 6 件の古いコメント
stavros kolios
stavros kolios 2020 年 11 月 24 日
Με άδειες του ΕΜΠ έχω κατεβάσει το πρόγραμμα!!
stavros kolios
stavros kolios 2020 年 11 月 24 日
Good Evening!!I have the same problem !!Have you found a solution?Can you help ??
Aris K
Aris K 2020 年 12 月 16 日
Πρέπει να έχετε κατεβάσει και να έχετε ανοιχτό το VPN του ΕΜΠ για να δέχεται το license.

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


Jacques Richou
Jacques Richou 2021 年 1 月 13 日 17:10
Hello there,
My MatLab was working just fine last time I used it, I was not in school, but at home to try it 1st time
Next, when it did not work, I was at my girlfriends appartment when it showed me the License Error
No VPN used anywhere, and other students did not have the same issue.
I reinstalled Matlab, and it did not change anything, f someone has an idea about how to solve this, I'll take =)
Have a nice one =)

  0 件のコメント

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

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by