Licensing error -9,57

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

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

Sign in to comment.

Answers (2)

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

Thanks! sudo strace matlab didn't work for me, but it turned out I had exactly the same error as you, so fixed!
just run "bash activate_matlab.sh" which is inside bin folder.
and enter your login name and password.and finally proceed with your computer user account name as login name.
Thanks for the solution, worked like a charm for me as well!
Thanks! it worked, when installing username must be the same than computer login name as said.

Sign in to comment.

Categories

Asked:

on 8 Nov 2014

Community Treasure Hunt

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

Start Hunting!