MATLAB Answers

License Manager Error -9 Your username does not match the username in the license file.

557 views (last 30 days)
Bing Li
Bing Li on 30 Jan 2020
Commented: Walter Roberson on 28 May 2021
License checkout failed.
License Manager Error -9
Your username does not match the username in the license file.
To run on this computer, you must run the Activation client to reactivate your license.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/R2019b/9
Diagnostic Information:
Feature: MATLAB
License path: /home/alex/.matlab/R2019b_licenses:/usr/local/MATLAB/R2019b/licenses/license.dat:/usr/local/MATLAB/R
2019b/licenses/license_thinkpad-p73_40871338_R2019b.lic
Licensing error: -9,57.
I am a student, I want to install the matlab under Ubuntu, but always get this problem??why is the matlab so unfrienddly to the users??
  1 Comment
Lonkong Clovis
Lonkong Clovis on 10 Oct 2020
Diagnostic Information:
Feature: SR_MATLAB
License path: (Some Place)/.matlab/R2015b_licenses:/usr/local/MATLAB/R2015b/licenses/license.dat:/usr/local/MATLA
B/R2015b/licenses/(license_file_name).lic
Licensing error: -9,57.

Sign in to comment.

Answers (1)

Hans Scharler
Hans Scharler on 30 Jan 2020
The best way to resolve a License Manager Error -9 is by reactivating MATLAB with the activation client.
Linux
The activation client is located here:
/usr/local/MATLAB/R20XXx/bin/activate_matlab.sh
Once you have launched the MATLAB activation client:
  1. Select "Activate automatically using the internet."
  2. Log into your MathWorks account.
  3. Select the correct license.
  4. The username field should auto-populate with the correct user name. Leave it as is.
  5. Confirm the activation information.
  6. Click "finish" to complete the activation process.
  7. Restart MATLAB.
I hope this helps you out.
  6 Comments
Walter Roberson
Walter Roberson on 28 May 2021
The username you should use for ubuntu is the same as the response you get back for running
whoami
in a terminal session.
Unless, that is, you are running MATLAB using sudo in which case you would need to use root . Running MATLAB using sudo is not recommended.

Sign in to comment.

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!