Why am I unable to start the network license manager or use license manager utilities on Linux?

160 views (last 30 days)
Why am I unable to start the network license manager, or use license manager utilities on Linux.
When I try to do so, may receive an error such as:
ERROR: ./lmgrd: Command not found.
ERROR: /lib64/ld-lsb-x86-64.so.3: bad ELF interpreter: No such file or directory
ERROR: 9:09:56 (MLM) FLEXnet Licensing version v11.8.0.0 build 81116 i86_lsb MLM: can't initialize: Invalid license file syntax. (-2,40027)
9:09:56 (MLM) EXITING DUE TO SIGNAL 52 Exit reason 20
ERROR: >$ /usr/local/MATLAB/R20XXx/etc/lmstart
Checking license file for local hostname and local hostid . . .
Taking down any existing license manager daemons . . .
No license manager daemons running . . .
Starting license manager . . .
Debug logfile = /var/tmp/lm_TMW.log
License verification completed successfully.
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 . . .
ERROR: /usr/local/MATLAB/R2011a/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 . . .
Continue to start up license manager? y/[n])
How can I start the network license manager and use the license manager utilities?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 23 Sep 2022
Edited: MathWorks Support Team on 23 Sep 2022
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.
Otherwise, the workaround is to have the License Manager use a standard library by adding a symlink to your operating system.
To add the the symlink, navigate to the /lib64 directory and run the following command:
ln -s ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3
Once you have added the symlink, verify it by running the following:
ls -l /lib64 | grep lsb
The output should be:
lrwxrwxrwx  1 root root   20 Jan 12 18:58 ld-lsb-x86-64.so.3 -> ld-linux-x86-64.so.2*
With the symlink in place, retry starting the License Manager. 

More Answers (1)

Evelia on 16 Jan 2023 at 7:40
ln -s ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3


No tags entered yet.




Community Treasure Hunt

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

Start Hunting!

Translated by