Why do I see license manager error -8 when launching MATLAB on Linux when my locale is set to Turkey?

203 views (last 30 days)
Why do I see license manager error -8 when launching MATLAB on Linux when my locale is set to Turkey (tr_TR)?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 20 Sep 2017
This behavior is caused by a bug in the MATLAB license management system. On Linux only, when using the Turkish locale (tr_TR), MATLAB will fail to start (with both standalone and served licenses). The error that appears is License Manager Error -8.
A temporary workaround is to change the locale of your computer to English. 
If you still receive this error, or if you do not want your default language to be English, please contact MathWorks Installation Support. 

Sign in to comment.

More Answers (3)

CHAIMAE BARADI on 26 Apr 2021
How to solve these problems:
License checkout failed.
License Manager Error -8
Make sure the HostID of the license file matches this machine, and that the HostID on the SERVER line matches the HostID of the license file.
  1 Comment
Walter Roberson
Walter Roberson on 26 Apr 2021
This particular error is not fixed by doing that -- this particular error had to do with using locale set to Turkey.
There are other Error -8 causes for which your suggestion is correct.

Sign in to comment.

Muhammad Alamin
Muhammad Alamin on 28 Sep 2021
Hi, please help me to solve following problem!
Walter Roberson
Walter Roberson on 24 Sep 2022

Sign in to comment.

Ahmed IRAQI on 20 Mar 2022
Please help me I am a student and I have an exam
  1 Comment
Walter Roberson
Walter Roberson on 20 Mar 2022
If you are using Turkish locale, then you might perhaps be able to change the locale to get around the problem.
If you are not using Turkish locale, then there are a small number of possibilities that I know of for that situation:
  • you might have left-over irrelevant license files that are interfering with correct operation;
  • you might have a license file pointing to the wrong server. In particular for that exact error message, your license file would have to have been configured to say that your computer itself is the license server for a network license, but the license server would have had to have been configured badly
  • that message has been observed for some people who are using cracked versions of MATLAB
If you are using a Student license (that is, one you bought yourself) on your own machine, then delete all the files listed in the "License path" part of the message and then re-run the activation.
If you are using an academic license provided by your university, please review the installation processes they documented for you; if you are not able to get it to work then you would probably need to get your university to help.
If you are using a cracked license... buy a real license. Which would also allow you to use a modern version of MATLAB instead of R2015b, and would also allow you to use MATLAB Online.

Sign in to comment.


No tags entered yet.


Community Treasure Hunt

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

Start Hunting!