Problem with matlab license in ubuntu 14.04 (edx course)

4 views (last 30 days)
Hi, i'm trying to install matlab 2014a in my ubuntu 14.04 because i have a free trial given im coursing an edx course related with it
so i installed matlab by following the instructions and once the process its finished i prompt "matlab" in my terminal and this is what i get:
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.
Troubleshoot this issue by visiting: http://www.mathworks.com/support/lme/R2014a/8
Diagnostic Information: Feature: MATLAB License path: /home/samuel/.matlab/R2014a_licenses:/home/samuel/licenses/license.dat:/home/samuel/licenses/license _samuel-Aspire-5750_405329_R2014a.lic Licensing error: -8,523.
i dont know how to deal with this problem and i would thank help

Answers (4)

andrestoga
andrestoga on 26 Mar 2015
I have the same problem.
I accidentally specified that the user would be 'root' as @Gary did but I got the following error when running matlab:
andrestoga@lap-ubuntu-andres:~$ matlab License 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/R2015a/9
Diagnostic Information: Feature: MATLAB License path: /home/andrestoga/.matlab/R2015a_licenses:/usr/local/MATLAB/R2015a/licenses/license.dat:/usr/local/MA TLAB/R2015a/licenses/license_lap-ubuntu-andres_1066622_R2015a.lic Licensing error: -9,57.
I also tried to run matlab as "sudo su matlab" as one in the following page suggested:
And I got the following error:
No passwd entry for user 'matlab'
Can someone help me please?
Best,

Image Analyst
Image Analyst on 31 Jan 2015
Then do what it says in the FAQ

Saheed Imam
Saheed Imam on 28 Feb 2017
This a pretty old question. However, my work around was to install Matlab R2016b in a location accessible to the default (non-root) user (e.g. Desktop/MATLAB). Then launching matlab works fine for me.
I think it's just a conflict between users at time of installation/license creation and launching...

sai manasa pappu
sai manasa pappu on 7 Aug 2019
Ubuntu 18.04 Matlab 2019a :
The above problem arose for me when I gave host id in the existing license file as the host id with ethernet. In this case, Matlab starts only when connected to the same wired connection and throws error 8 / -9,57 when offline/connected to different wifi.
Solved the above by manually creating a license file from https://in.mathworks.com/licensecenter/licenses giving the host id which applies both with and without internet ( in my case, last entry of "ether" which can be found through "/sbin/ifconfig" in Linux terminal. Download the new file and paste its contents into existing license file. Then start matlab.

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!