Licence Manager under Debian Buster (10.0)

22 次查看(过去 30 天)
Hi,
We're trying to install a new licence server on Debian Buster (10.0) wich is out since the begining of july.
The installation process went just fine, but there seem to be a problem.
The lsb package 'lsb-compat' is no more available in the debian repository.
I have installed lsb-release and lsb-base packages, but I can't start the licence server :
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 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: malak
The SERVER line in question is:
-----------------------------------------------
SERVER xxxxx 001122334455 27000
-----------------------------------------------
Please stop, fix the problem, and try again . . .
Continue to start up license manager? y/[n]) n
Is there anything that can be done ?
Thanks a lot for your help
  1 个评论
HARI PRIYA T.V
HARI PRIYA T.V 2022-3-24
bash: ./lmgrd: No such file or directory
How do you solve this issue in debian 10?

请先登录,再进行评论。

采纳的回答

Christopher Odenbach
Hi,
for the moment just create the needed symlink manually:
root@test17[lib64]# pwd
/lib64
root@test17[lib64]# ls -l
total 0
lrwxrwxrwx 1 root root 32 May 1 19:24 ld-linux-x86-64.so.2 -> /lib/x86_64-linux-gnu/ld-2.28.so
root@test17[lib64]# /tmp/nfs-odenbach/users/o/odenbach/data/bin/lmutil
-bash: /tmp/nfs-odenbach/users/o/odenbach/data/bin/lmutil: No such file or directory
root@test17[lib64]# ln -s ld-linux-x86-64.so.2 ld-lsb-x86-64.so.2
root@test17[lib64]# ln -s ld-linux-x86-64.so.2 ld-lsb-x86-64.so.3
root@test17[lib64]# ls -l
total 0
lrwxrwxrwx 1 root root 32 May 1 19:24 ld-linux-x86-64.so.2 -> /lib/x86_64-linux-gnu/ld-2.28.so
lrwxrwxrwx 1 root root 20 Sep 4 09:36 ld-lsb-x86-64.so.2 -> ld-linux-x86-64.so.2
lrwxrwxrwx 1 root root 20 Sep 4 09:36 ld-lsb-x86-64.so.3 -> ld-linux-x86-64.so.2
root@test17[lib64]# /tmp/nfs-odenbach/users/o/odenbach/data/bin/lmutil
lmutil - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.
usage: lmutil lmborrow -status
[...]
Cheers,
Christopher
  1 个评论
Florence Alberge
Florence Alberge 2020-1-14
Thank you very much Christopher for your help
Create these symlinks did the trick !

请先登录,再进行评论。

更多回答(1 个)

Himani Raina
Himani Raina 2019-10-7
Debian Buster (10.0) and above (MATLAB R2019a) require the Linux Standard Base (LSB) components in order to run on Linux systems. Debian users will need to install the lsb or lsb-core package. The lsb package is the full LSB installation (and includes lsb-core). The lsb-core package (and two other dependencies) are all that we require.
Although the necessary LSB libraries are often installed by default on major Linux distributions, they may be missing in some cases. To resolve the issue, you will need to install them. See the following article for more information:
Why do I receive error messages indicating license manager utilities cannot be found or are missing libraries on Linux?
Also refer to:
  1 个评论
Christopher Odenbach
Hi Himani,
everything you write is true except for one thing: That was the case for Debian Stretch! In Debian Buster there is no more lsb or lsb-core package (which depended on lsb-compat which installed the symlinks in its postinst script):
https://packages.debian.org/search?keywords=lsb
So currently there is no debian package available which creates or contains the needed symlinks. You just have to create them yourself.
Cheers,
Christopher

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by