Why am I unable to start the Network License Manager on Linux?
187 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 30 Apr 2013
Modificato: MathWorks Support Team
il 1 Ago 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 . . .
Risposta accettata
MathWorks Support Team
il 7 Apr 2023
Modificato: MathWorks Support Team
il 1 Ago 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.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Manage Products in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!