Clear Filters
Clear Filters

Host does not match SERVER when running lmstart

19 views (last 30 days)
I just installed MATLAB on a new mahine running Ubuntu 18.04. I have a MATLAB license from my university. After the installation, I'm supposed to run lmstart.
However, when I run lmstart in the terminal, I get an error:
(identifying information removed)
Checking license file for local hostname and local hostid . . .
/usr/local/MATLAB/R2019a/etc/lmhostid: 332: /usr/local/MATLAB/R2019a/etc/lmhostid: /usr/local/MATLAB/R2019a/etc/glnxa64/lmhostid: not found
Error: Your host does not match any SERVER line in your license
file. Your local lmhostid(s) are:
Your hostname is: my_computer_name
The SERVER line(s) are:
-----------------------------------------------
SERVER matlabresearchls.myuniversity.com 12345678 1708
-----------------------------------------------
Please stop, fix the problem, and try again . . .
What do I do? I can't run MATLAB on my computer with out this.

Answers (2)

Pruthvi Muppavarapu
Pruthvi Muppavarapu on 1 Apr 2019
Hello Mark,
The cause of such issues might be the missing of Linux Standard Base (LSB) libraries. Try installing all the libraries and it might help resolve the issue. The following answer provides more information on installing LSB libraries:
  1 Comment
Mark Girard
Mark Girard on 1 Apr 2019
This seems to have done something, but it doesn't solve my problem. I still get the same error as above, but now I'm able to continue despite the error. After
Please stop, fix the problem, and try again . . .
I see
Continue to start up license manager? y/[n])
Previously, after continuing, there would be another error then it would quit. Now, I can press y to continue, and I see:
Taking down any existing license manager daemons . . .
No license manager daemons running . . .
Starting license manager . . .
Debug logfile = /var/tmp/lm_TMW.log
Waiting 300 secs for MATLAB vendor daemon to come up . . .
Type your interrupt character (usually CTRL-C) to quit.
Time = 3 secs : still waiting . . .
Time = 30 secs : still waiting . . .
------------------------------------------------------------------------
Mon Apr 1 09:52:55 EDT 2019 LM_LOGFILE (last 2 lines)
79 9:52:28 (lmgrd) Valid license server system hosts are: "matlabresearchls.myuniversity.com"
80 9:52:28 (lmgrd) Using license file "/var/tmp/lm_TMW.dat"
------------------------------------------------------------------------
Time = 60 secs : still waiting . . .
------------------------------------------------------------------------
Mon Apr 1 09:53:25 EDT 2019 LM_LOGFILE (last 2 lines)
79 9:52:28 (lmgrd) Valid license server system hosts are: "matlabresearchls.myuniversity.com"
80 9:52:28 (lmgrd) Using license file "/var/tmp/lm_TMW.dat"
------------------------------------------------------------------------
Time = 90 secs : still waiting . . .
------------------------------------------------------------------------
Mon Apr 1 09:53:55 EDT 2019 LM_LOGFILE (last 2 lines)
79 9:52:28 (lmgrd) Valid license server system hosts are: "matlabresearchls.myuniversity.com"
80 9:52:28 (lmgrd) Using license file "/var/tmp/lm_TMW.dat"
------------------------------------------------------------------------
Time = 120 secs : still waiting . . .
------------------------------------------------------------------------
Mon Apr 1 09:54:25 EDT 2019 LM_LOGFILE (last 2 lines)
79 9:52:28 (lmgrd) Valid license server system hosts are: "matlabresearchls.myuniversity.com"
80 9:52:28 (lmgrd) Using license file "/var/tmp/lm_TMW.dat"
------------------------------------------------------------------------
Time = 150 secs : still waiting . . .
------------------------------------------------------------------------
Mon Apr 1 09:54:56 EDT 2019 LM_LOGFILE (last 2 lines)
79 9:52:28 (lmgrd) Valid license server system hosts are: "matlabresearchls.myuniversity.com"
80 9:52:28 (lmgrd) Using license file "/var/tmp/lm_TMW.dat"
------------------------------------------------------------------------
Time = 180 secs : still waiting . . .
------------------------------------------------------------------------
Mon Apr 1 09:55:26 EDT 2019 LM_LOGFILE (last 2 lines)
79 9:52:28 (lmgrd) Valid license server system hosts are: "matlabresearchls.myuniversity.com"
80 9:52:28 (lmgrd) Using license file "/var/tmp/lm_TMW.dat"
------------------------------------------------------------------------
Time = 210 secs : still waiting . . .
------------------------------------------------------------------------
Mon Apr 1 09:55:56 EDT 2019 LM_LOGFILE (last 2 lines)
79 9:52:28 (lmgrd) Valid license server system hosts are: "matlabresearchls.myuniversity.com"
80 9:52:28 (lmgrd) Using license file "/var/tmp/lm_TMW.dat"
------------------------------------------------------------------------
Time = 240 secs : still waiting . . .
------------------------------------------------------------------------
Mon Apr 1 09:56:26 EDT 2019 LM_LOGFILE (last 2 lines)
79 9:52:28 (lmgrd) Valid license server system hosts are: "matlabresearchls.myuniversity.com"
80 9:52:28 (lmgrd) Using license file "/var/tmp/lm_TMW.dat"
------------------------------------------------------------------------
Time = 270 secs : still waiting . . .
------------------------------------------------------------------------
Mon Apr 1 09:56:56 EDT 2019 LM_LOGFILE (last 2 lines)
79 9:52:28 (lmgrd) Valid license server system hosts are: "matlabresearchls.myuniversity.com"
80 9:52:28 (lmgrd) Using license file "/var/tmp/lm_TMW.dat"
------------------------------------------------------------------------
^C------------------------------------------------------------------------
Mon Apr 1 09:56:56 EDT 2019 LM_LOGFILE (last 10 lines)
71 9:52:28 (lmgrd) and UNIX.
72 9:52:28 (lmgrd)
73 9:52:28 (lmgrd) -----------------------------------------------
74 9:52:28 (lmgrd)
75 9:52:28 (lmgrd)
76 9:52:28 (lmgrd) Server's System Date and Time: Mon Apr 01 2019 09:52:28 EDT
77 9:52:28 (lmgrd) SLOG: Summary LOG statistics is enabled.
78 9:52:28 (lmgrd) "my-computer-name": Not a valid server hostname, exiting.
79 9:52:28 (lmgrd) Valid license server system hosts are: "matlabresearchls.myuniversity.com"
80 9:52:28 (lmgrd) Using license file "/var/tmp/lm_TMW.dat"
------------------------------------------------------------------------
And after 300 seconds it quits. What is going on here exactly?

Sign in to comment.


Chrysostome Lanoire
Chrysostome Lanoire on 11 Nov 2019
If you came by this error it means that you're trying to install Matlab in connected mode to the server of whoever gave you your license, so you must be connected to the said server in order for your installation to work! Alternatively, you can ask your fournisher to give you an autonomous activation key, and then proceed with the installation by registering to Matlab online, activating your key and then choose "login in with a MathWorks Account" instead of "use a File Installation Key" in the fist step of the installer.

Categories

Find more on Manage Products in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!