Problem with matlab license in ubuntu 14.04 (edx course)

2 ビュー (過去 30 日間)
Samuel García
Samuel García 2015 年 1 月 31 日
回答済み: sai manasa pappu 2019 年 8 月 7 日
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

回答 (4 件)

andrestoga
andrestoga 2015 年 3 月 26 日
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,
  1 件のコメント
andrestoga
andrestoga 2015 年 3 月 26 日
Ok, it works but typing first "sudo su" and then "matlab"
best,

サインインしてコメントする。


Image Analyst
Image Analyst 2015 年 1 月 31 日
Then do what it says in the FAQ
  1 件のコメント
Samuel García
Samuel García 2015 年 1 月 31 日
i dont find the solution there

サインインしてコメントする。


Saheed Imam
Saheed Imam 2017 年 2 月 28 日
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 2019 年 8 月 7 日
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.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by