MATLAB Answers

Why do I receive License Manager Error -8?

30,503 ビュー (過去 30 日間)
Why do I receive "License Manager Error -8"?
License Manager Error -8.
License checkout failed. Encryption code in license file is inconsistent.

採用された回答

MathWorks Support Team
MathWorks Support Team 2020 年 7 月 16 日
編集済み: MathWorks Support Team 2020 年 7 月 16 日
This issue generally indicates that the license file is served from a network license manager and that there is a problem with the license.dat file on the machine running the license manager. The cause of this error may be due to one of the following:
1. The Host ID for which the license.dat file was generated is not the Host ID of the license server machine
2. Missing, corrupt, or incorrect characters in the license.dat file itself
3. The system time and date are not set properly. Check to make sure that the date and time are set correctly on the machine before proceeding below.
This issue may also occur if you are using MATLAB R2007b or below with a standalone license file generated for R2008a or higher.In this case, generating a license file for the correct release of MATLAB will resolve this issue.
If the time and date are set correctly, and you are not using R2007b or below with a standalone license file for R2008a or higher, see the steps below for troubleshooting the license file:
The first step is to locate the license file (license.dat) for the license manager. The license.dat file on the server machine is located in:
$MATLABROOT/etc
Where are the license files for MATLAB located?
(where $MATLAB is the MATLAB installation directory)
Please check for the following:
1) Make sure that the Host ID specified in the license file matches the Host ID on the "SERVER" line of the license file. Also if the Host ID is not proceeded by "ID=", it must match the Host ID of the license server. For more information on obtaining your Host ID, see the related solution listed below.
The Host ID of the license file will be in a comment line in the license file. For example:
# BEGIN------cut here------CUT HERE-----BEGIN
# MATLAB license passcode file.
# LicenseNo: 123456 HostID: 001122334455
In this example, the Host ID is the MAC address 001122334455. This same MAC address should be in the SERVER line of the license file. For example:
SERVER my-license-host 001122334455 27000
If the wrong Host ID is used in the SERVER line, or if the license file was generated for a different Host ID, this error will occur. Individual licenses use a Host ID that is ID= and the license number. If you have an individual license, this should be the Host ID in the SERVER line. For example:
SERVER my-license-host ID=123465 27000
NOTE: Changing the Host ID listed in the commented section of the license file will not resolve the error. If your Host ID is incorrect, you will need to obtain a new license file generated for the correct Host ID.
2) This error may be the result of having extra carriage returns in your license file. In order to avoid this, ensure that the following strings all begin on a left justified line: #, SERVER, DAEMON, or INCREMENT. Sometimes an INCREMENT line can get wrapped on the end of the preceding INCREMENT line causing it to be omitted.
3) If you are located in Turkey, or the default language of your computer is Turkish, please refer to the article below:
Why do I see license manager error -8 when launching MATLAB on Linux when my locale is set to Turkey?

  25 件のコメント

表示 22 件の古いコメント
Colin Fraser
Colin Fraser 2020 年 6 月 23 日
If you are still experiencing this issue, please create a service request below.
-Colin Fraser
Souvik Banik
Souvik Banik 2020 年 9 月 21 日
Rik
Rik 2020 年 9 月 21 日
@Souvik Banik I'm going to delete your comment, as it seems to only contain profanity. If you are done venting your frustration you can contact Mathworks support with your actual question.

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

その他の回答 (29 件)

lawrence tanyanyiwa
lawrence tanyanyiwa 2017 年 4 月 10 日
この 回答 は 1 人のコントリビューターによってフラグが設定されました
To resolve such a problem consider coping a bin file from the original Matlab zip folder and pasting it to the bin file in Program files or Drive C. When extracting files some files are not correctly extracted leading to license errors

  21 件のコメント

表示 18 件の古いコメント
marco mizael
marco mizael 2020 年 9 月 19 日
funcionou
龙 蔡
龙 蔡 2020 年 11 月 5 日
you are right,thank you
RACHAEL LYDIA
RACHAEL LYDIA 2020 年 12 月 12 日
It did not work for me, please help

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


Leonard Bagos
Leonard Bagos 2016 年 7 月 29 日
are all version of MATLAB so complicated to install? I cannot even start the MATLAB R2016a. If there is a version which is simple to install and start. what version is it?

  3 件のコメント

Walter Roberson
Walter Roberson 2016 年 7 月 29 日
In the case of individual licenses, the last few versions of MATLAB have been easy to install: download the installer, start it running, indicate your agreement with the licenses in the appropriate place, provide your Mathworks login credentials, select which of the products you want to install, indicate where you want to install them, set it executing. Eventually, indicate which user it is authorized for, and request activation.
If you are using a license server for a commercial or academic license, then Yes, matters get more complicated. Unfortunately, license servers do tend to be complicated. The other major vendors of similar software all use the same licensing technology so the situation is the same for them.
Yeman Brhane
Yeman Brhane 2017 年 2 月 16 日
Most of the time this error happens when the folders listed in the readme files are not properly copied to the %installdir% to overwriting the originally installed files. So make sure you replace them prperly.
songyao dou
songyao dou 2019 年 11 月 16 日
sorry, i tried this way,but stil failed,can you give me another way.

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


VAIBHAV BHARDWAJ
VAIBHAV BHARDWAJ 2016 年 6 月 26 日
can you provide video so that I can remove error from my system while installation of MATLAB 2016/a

  3 件のコメント

Walter Roberson
Walter Roberson 2016 年 6 月 27 日
It takes a lot of resources to produce a video that would cover all of the possibilities on all of the operating systems. You would be better off contacting Mathworks Support for free installation assistance.
VAIBHAV BHARDWAJ
VAIBHAV BHARDWAJ 2016 年 7 月 4 日
ya ,but still i am not able to fix this error
Walter Roberson
Walter Roberson 2016 年 7 月 4 日
Was Mathworks Support unable to assist you with your installation problem?
I estimate that it would take me about a month or two months of full time effort to create a suitable video, as I would have to research all of the possibilities, load all of the different operating systems, figure out how all of those operating systems worked, research all the various ways things could go wrong. Make that three months full time work, perhaps four. Plus the time to learn video editing, and the cost of buying the various operating systems to experiment with. I am sure I would have learned a lot by the end, but keep in mind that during that time I would not be answering Questions here because I would be busy working on the video to answer one Question. A Question that Mathworks Support might already know the answer to for any particular operating system and release.

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


Parth Kalra
Parth Kalra 2017 年 3 月 24 日
Disappointed with the installation procedure. Facing this same issue. Is there an easy way out? This is not user friendly at all.

  4 件のコメント

表示 1 件の古いコメント
Anesu Chimhowa
Anesu Chimhowa 2018 年 7 月 6 日
you guys are not serious just installing an application just as as dicficult as rocket science..would you have used smartphones if it was this complicated..u litteraly did nothing to hide the complexity of this thing
Walter Roberson
Walter Roberson 2018 年 7 月 6 日
This error condition only applies when a license server is being used. Unfortunately it turns out that license servers are surprisingly complex.
Mathworks uses Flexera's flexlm license server, which is the same license server used by many many software packages, including all of the major competitors to Mathworks that I could think of to check into.
Walter Roberson
Walter Roberson 2018 年 10 月 29 日
It has since come to my attention that another case in which this problem shows up is in connection to some cracked versions of MATLAB. We delete all information about how to crack MATLAB.

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


Muhammad Kashif
Muhammad Kashif 2017 年 12 月 23 日
I was getting the same error in Matlab 2017b. I tried the solutions given on this page but they didn't work for me unfortunately. The problem was solved simply by changing the computer name. I bought the new laptop and the computer name was something like Asus-64489 . I just changed it to a 6 letter word like "SkScan". This fixed the problem. AlHamduliLLah

  2 件のコメント

Ami Bose
Ami Bose 2019 年 1 月 13 日
Hi Kashif,
Did you reinstall Matlab after changing the laptop name?
yang yang
yang yang 2020 年 4 月 14 日
Hi Kashif,
Did you reinstall Matlab after changing the laptop name?

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


fatma zein
fatma zein 2018 年 2 月 18 日
1. The Host ID for which the license.dat file was generated is not the Host ID of the license server machine

  1 件のコメント

Walter Roberson
Walter Roberson 2018 年 3 月 1 日
That would happen if you installed the network license daemon (flexlm), but that the MAC address you requested the license file be generated for is not recognized as one of the MAC addresses of the license server.
This could happen due to a mistake in which system the license was requested for. It could also happen in some Linux environments due to changes in the ethernet device naming conventions. It can also happen in some OS-X or MacOS environments that have dual thunderbolt displays installed. It can also happen in some Linux systems that have no hardwared ethernet ports (only WiFi) and the system has been configured to randomize the WiFi MAC address on every boot.

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


Kalansuriya Uditha
Kalansuriya Uditha 2018 年 3 月 24 日
i got license-error 8523 after i install matlab why is that?

  1 件のコメント

Walter Roberson
Walter Roberson 2018 年 3 月 26 日
The error would have been -8,523 rather than 8523 .
The causes are as explained above.

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


Kamal Lamichhane
Kamal Lamichhane 2018 年 5 月 16 日
Hi, please help me to solve following problem!

  9 件のコメント

表示 6 件の古いコメント
Cody Lamke
Cody Lamke 2020 年 4 月 16 日
Hello,
If you are still experiencing this issue, please contact MathWorks support:
-Cody Lamke
Anandhi Samikannu
Anandhi Samikannu 2020 年 4 月 30 日
i got the same problem , acn anyone help me?
Walter Roberson
Walter Roberson 2020 年 4 月 30 日
Mathworks technical support can assist you; you should contact them.
Error -8 has to do with license servers, and if you are an end user then you would need to get your IT people to fix the license server.

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


hbo
hbo 2019 年 2 月 16 日
編集済み: hbo 2019 年 2 月 16 日
Hello all,
please help me to solve this problem (matlab 2016 (64 bit)?
license Manager error -8
thank you in advance
hbo

  1 件のコメント

Walter Roberson
Walter Roberson 2019 年 2 月 16 日
If the steps described above do not work for you then you need to contact Mathworks Technical Support.

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


Varsha Choudhary
Varsha Choudhary 2019 年 4 月 9 日
How to solve problem -8523. Please answer

  1 件のコメント

Walter Roberson
Walter Roberson 2019 年 4 月 9 日
If the steps in Mathworks' response did not solve the problem for you, then you need to contact Mathworks for free installation support.

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


RaviTej NaNi K
RaviTej NaNi K 2019 年 6 月 2 日
編集済み: RaviTej NaNi K 2019 年 6 月 2 日
Hi Friends. If your are facing licence checkout failed-8 and Licencing error -8523 issue.Please update your windows properly then it will resolve the issue. I have faced same issue and struggled for 1 week.Finally after updating windows it is working without any licence issues.Hope it helps.

  0 件のコメント

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


Liqaa mezher
Liqaa mezher 2019 年 10 月 7 日
Hi, please help me to solve following problem!matl.png

  1 件のコメント

Colin Fraser
Colin Fraser 2019 年 10 月 10 日
Hi,
If you are still experiencing this issue, please contact MathWorks support:
-Colin Fraser

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


ashish shinde
ashish shinde 2019 年 10 月 31 日
just copy netapi32.dll file from your installation to C:\Program Files\MATLAB\R2018a\bin\win64
It will work

  3 件のコメント

Afsah Abdullah
Afsah Abdullah 2019 年 11 月 1 日
thanks it worked !
Meghana M
Meghana M 2020 年 5 月 20 日
where to get that netapi.dll file
Praveen Chebolu
Praveen Chebolu 2020 年 9 月 27 日
Thank u FRIEND

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


loukriz abdelouadoud
loukriz abdelouadoud 2020 年 2 月 25 日
WE NEED YOUR HELP TO FIXED HIS PB

Saeed Esmaillvash
Saeed Esmaillvash 2020 年 3 月 12 日
Hi, please help me to solve following problem!

  1 件のコメント

Walter Roberson
Walter Roberson 2020 年 3 月 12 日
Notice the license_server.lic file. That file should contain a SERVER line that indicates which computer is your network license server. That license server needs to have its license repaired (or possibly you are not pointing to the correct license server)

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


Remil Batista Ferreras
Remil Batista Ferreras 2020 年 3 月 22 日
why the matlab is activated by but if I open it ,it shows "License manager -8"?

  1 件のコメント

Walter Roberson
Walter Roberson 2020 年 3 月 22 日
Those are all of the license manager error -8 cases that I have been able to track down. The first three of those deal exclusively with problems on a license server. When you are using a license server, you do not do Activation, you just point yourself to the license server. The license server itself would be installed using other tools that are not Activation.
Other than the case of attempting to use a cracked license, there is one case where Activation applies, and that is the case where you have Activated a local copy, but you also have your license path pointing to a license server, and your local license might be okay but the problem could then arise when your local version tried to talk to the license server. A locally-licensed MATLAB would try to talk to a configured license server if you attempted to use a function from a toolbox which you do not have locally licensed, in which case the local license would want to reach out to the license server to see if a license for the toolbox was available there. This situation would require repairing the license file on the license server, or (sometimes) pointing yourself to a different license server (it has been known to happen that a new license server is created but the old one is not completely turned off and ends up sitting around with invalid licenses.)

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


Faez Hassan Ali
Faez Hassan Ali 2020 年 3 月 28 日
Why do I receive "License Manager Error -8"?

mahmood mahdi
mahmood mahdi 2020 年 4 月 14 日
Why do I receive "License Manager Error -8"?

  1 件のコメント

Walter Roberson
Walter Roberson 2020 年 4 月 14 日
Chances are that you receive it for one the same reasons described above. If not then you will need to contact Mathworks Support for free installation assistance.

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


amin safari
amin safari 2020 年 4 月 15 日
i coud'nt solve this problem wath i should do?

  1 件のコメント

Colin Fraser
Colin Fraser 2020 年 4 月 16 日
If you are still experiencing this issue, please create a service request below.
-Colin Fraser

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


tingting jiang
tingting jiang 2020 年 4 月 28 日
編集済み: Walter Roberson 2020 年 4 月 28 日
我并没有看懂解决方法,也不知道哪里出错了,作为一个电脑小白,我希望有有图片或者视频指导。
I don't understand the solution, and I don't know what's wrong. As a person who doesn't know much about computers, I hope to have a picture or video guide.

  1 件のコメント

Walter Roberson
Walter Roberson 2020 年 4 月 28 日
I have tracked down three possible causes for this problem on MATLAB installations. All three of them are problems with remote license servers, and require that the license server administrator make changes. If you are someone who does not know much about computers, then you are not the license server administrator, so you should ask your license server adminstrator to repair the problem.
The one case that I tracked down that involves something on the user's machine, involves cases where the user is using a cracked version of MATLAB. People who are running cracked versions of MATLAB should purchase MATLAB.

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


popat chavan
popat chavan 2020 年 5 月 27 日

  2 件のコメント

Areej Taha
Areej Taha 2020 年 8 月 19 日
the same proplem in my instull
Colin Fraser
Colin Fraser 2020 年 9 月 2 日
If you are still experiencing this issue, please create a service request below.
-Colin Fraser

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



ruth tamgho
ruth tamgho 2020 年 8 月 13 日
l WANT TO INSTALL MATLAB

  1 件のコメント

Steven Lord
Steven Lord 2020 年 9 月 2 日
If you are experiencing difficulty with the installation process, either problems with the instructions in the Installer not working as expected or problems with the instructions in the install process documentation, please contact Technical Support using the telephone icon in the upper-right corner of this page for installation assistance.

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


Meseret Adane
Meseret Adane 2020 年 8 月 23 日
I want to have activation key with full licence

  1 件のコメント

Walter Roberson
Walter Roberson 2020 年 8 月 23 日
Activation keys only apply to individual licenses. Error 8 only applies to licence servers for network licenses, with the exception that Error 8 can show up for some attempts to use cracked licenses.

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


旭婷 刘
旭婷 刘 2020 年 9 月 5 日
激活错误后应该怎么做,只能卸载重装吗。

  3 件のコメント

Rik
Rik 2020 年 9 月 5 日
Read the other comments on this thread or contact technical support.
Saudalkhaled Saud
Saudalkhaled Saud 2020 年 9 月 26 日
عندي مشكله اذا فتحت البرنامج يعطيني خطا 8

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


Hamza mezzene
Hamza mezzene 2020 年 10 月 1 日
編集済み: Rik 2020 年 10 月 1 日
[redacted something that looks like a licence number]

  1 件のコメント

Rik
Rik 2020 年 10 月 1 日
Read the other comments on this thread or contact technical support. Posting your licence number will not achieve anything.

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


龙 蔡
龙 蔡 2020 年 11 月 8 日
because you have updated this version of matlab , thus result in an erros.
solution:please renew the license and bin file from your origin matlab file. you can reference to soft management.

  1 件のコメント

Walter Roberson
Walter Roberson 2020 年 11 月 8 日
In my experience, the above advice is only relevant to people who are using license cracks.

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


NAJATE ESSANHAJY
NAJATE ESSANHAJY 2020 年 11 月 29 日
l WANT TO INSTALL MATLAB

  1 件のコメント

Colin Fraser
Colin Fraser 2020 年 12 月 2 日
If you are still experiencing this issue, please create a service request below.
-Colin Fraser

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


Yann Gasparick NGOMA BAYONNE
Yann Gasparick NGOMA BAYONNE 2020 年 12 月 2 日
license checkout failed. license manager error-8

  2 件のコメント

Walter Roberson
Walter Roberson 2020 年 12 月 2 日
As far as I have been able to tell, this error number only occurs when there is a problem on a license server, and must be fixed by the administrator of the license server.
The one exception I have found to that is that I have seen the error occur on standalone systems that someone installed a "cracked" version of MATLAB on.
Soha Elshaaraey
Soha Elshaaraey 2021 年 1 月 7 日 17:59
i need to active service

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

タグ

タグが未入力です。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by