Why am I unable to start the Network License Manager on Linux?
193 views (last 30 days)
Show older comments
MathWorks Support Team
on 30 Apr 2013
Edited: MathWorks Support Team
on 3 Apr 2023
Why do I receive one of the following errors when I try to launch the Network License Manager on Linux?
- ./lmgrd: Command not found.
- /lib64/ld-lsb-x86-64.so.3: bad ELF interpreter: No such file or directory
- MLM: can't initialize: Invalid license file syntax. (-2,40027) EXITING DUE TO SIGNAL 52 Exit reason 20
- eval: 1: /var/tmp/lm_TMW.ld: not foundWaiting 300 secs for MATLAB vendor daemon to come up . . .Type your interrupt character (usually CTRL-C) to quit.Time = 3 secs : still waiting . . .
- /usr/local/MATLAB/R2023a/etc/glnxa64/lmhostid: not foundError: Your hostname matches the hostname on a SERVER line inyour license file but the lmhostid in that line does not.Your local lmhostid(s) are:Your hostname is: licserver1.support.mathworks.comThe SERVER line in question is:-----------------------------------------------SERVER licserver1.support.mathworks.com 001122DDEE99 27000-----------------------------------------------Please stop, fix the problem, and try again . . .
Accepted Answer
MathWorks Support Team
on 3 Apr 2023
Edited: MathWorks Support Team
on 3 Apr 2023
One or more of these errors will occur if you try to run the License Manager on a system which is missing the Linux Standard Base (LSB) library, which the License Manager is dependent upon. We recommend installing LSB. You may do so with one of the following commands, depending on the Linux distribution and package manager you are using:
RedHat/CentOS 8.x or older
sudo yum install lsb
or
sudo dnf install lsb
RedHat/CentOS 9.x or older
LSB still needs to be installed, but is not a package in any of the default repositories.
Ubuntu/Debian
sudo apt install lsb-core
or
sudo apt-get install lsb-core
or
sudo apt install lsb-release
Otherwise, the workaround is to have the License Manager use a standard library by adding a symbolic link to your Operating System. This should only be done if no other workaround can be found, as it could cause other issues with Linux.
To add the the symbolic link, navigate to the /lib64 directory with the CD command and run the following:
ln -s ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3
Once you have added the symbolic link, verify it by running the following:
ls -l /lib64 | grep lsb
The output should be:
lrwxrwxrwx 1 root root 20 Jan 23 18:58 ld-lsb-x86-64.so.3 -> ld-linux-x86-64.so.2*
With the symbolic link in place, attempt to start the Network License Manager.
0 Comments
More Answers (0)
See Also
Categories
Find more on Manage Products 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!