Licensing error -9,57
16 views (last 30 days)
Show older comments
Hi, I downloaded and installes Matlab and activated it via my Study license for Linux 64bit. When I am running ./matlab to start it, it promts me 'License error -9,57', which I cannot find anywhere. Is there someone who might be able to solve thius issue? Thanks in advance.
1 Comment
Chih Chu
on 27 Apr 2021
Did you install the MATLAB on wsl2? If so, the problem is : matlab's activation on every startup is based on hostid, and the hostid is associated with mac address but the mac address on wsl2 is not static on defaults. So you should have a solution for static mac address. There's a solution, https://github.com/microsoft/WSL/issues/5866
Answers (2)
Karl Semich
on 9 Feb 2018
There are some answers here: https://www.mathworks.com/matlabcentral/answers/99457-how-do-i-activate-matlab BUT my problem was different from the one mentioned there.
I found that if I ran matlab under strace it printed the error message in the output!
$ sudo strace matlab
...
futex(0x10a56f4, FUTEX_WAIT_PRIVATE, 1, NULLLicense checkout failed.
License Manager Error -9
Your username does not match the username in the license file.
To run MATLAB on this computer, you must run the Activation client to reactivate your license.
Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2017b/9
...
My problem ended up being that I had not specified the right "login name" when activating the license. It must be the same as your system username on the computer !
4 Comments
Erik Anders Tengblad García
on 13 Dec 2022
Thanks! it worked, when installing username must be the same than computer login name as said.
Image Analyst
on 8 Nov 2014
Looks like there are some relevant hits here: http://www.mathworks.com/matlabcentral/answers/?term=license+9.57
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!