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

578 views (last 30 days)
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:
Diagnostic Information:
Feature: MATLAB
License path: /home/alex/.matlab/R2019b_licenses:/usr/local/MATLAB/R2019b/licenses/license.dat:/usr/local/MATLAB/R
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
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.
The activation client is located here:
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.
Walter Roberson
Walter Roberson on 2 Dec 2022
/home/kbaizid/.matlab/R2022b_licenses is the folder that would typically be used to hold individual licenses for username kbaizid
/usr/local/MATLAB/R2022b/licenses/license_IITxxxxxxx.iit.local_4XXXXXX_R2022b.lic would probably be for a Designated Computer license for license number 4XXXXXX installed on hard disk with serial number IITxxxxxxx but I guess it could potentially be an individual license.
Anyhow, look at the locations listed and delete any R2022b license file you find there (well, unless you have multiple people using the same machine, then be more careful.) Then run the activation client in the MATLAB installation directory.

Sign in to comment.





Community Treasure Hunt

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

Start Hunting!