Why am I unable to start the Network License Manager on Linux?

170 views (last 30 days)
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 found
    Waiting 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 found
    Error: Your hostname matches the hostname on a SERVER line in
    your license file but the lmhostid in that line does not.
    Your local lmhostid(s) are:
    Your hostname is: licserver1.support.mathworks.com
    The 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
MathWorks Support Team on 7 Apr 2023
Edited: MathWorks Support Team on 1 Aug 2023
One or more of the above errors will occur if you try to run the License Manager on a system which is missing the LSB Core library, which the License Manager depends upon.
You can install the LSB Core libraries as a workaround. You may do so with one of the following commands, depending on the Linux distribution and package manager you are using:
Ubuntu/Debian
sudo apt install lsb-core
or
sudo apt-get install lsb-core
RedHat/CentOS 8.x or older
sudo yum install redhat-lsb-core
or
sudo dnf install redhat-lsb-core
RedHat/CentOS 9.x
LSB is not included as a package in any of the default repositories, but it can be installed by downloading a repo that includes LSB.
It is necessary to add "gpgcheck=0" to the .repo file using a text editor prior to attempting the "yum" command above.
After the LSB Core libraries are installed, attempt to start the license manager. If the error persists, contact MathWorks Installation Support:
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, open Linux Terminal and execute:
cd /lib64
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 executing:
ls -l | 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*
After verifying the symbolic link has been created, attempt to start the Network License Manager.

More Answers (0)

Categories

Find more on Manage Products in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2011a

Community Treasure Hunt

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

Start Hunting!