[Solved] license manager : Error 508: cannot create /var/tmp/lm_TMW.dat: Permission denied & FlexNet Licensing error:-13,66
11 ビュー (過去 30 日間)
古いコメントを表示
Dears,
We have issues when we start license manager on Debian 11 VM (QEMU) with many "/usr/share/matlab/etc/lm_matlab/etc/lmboot: 508: cannot create /var/tmp/lm_TMW.dat: Permission denied" :
~# /usr/share/matlab/etc/lm_matlab/etc/lmboot -u matlab
/usr/share/matlab/etc/lm_matlab/etc/lmboot: 508: cannot create /var/tmp/lm_TMW.dat: Permission denied
[....]
/usr/share/matlab/etc/lm_matlab/etc/lmboot: 508: cannot create /var/tmp/lm_TMW.dat: Permission denied
Waiting 3 secs for MATLAB vendor daemon to come up . . .
Type your interrupt character (usually CTRL-C) to quit.
Time = 3 secs : time limit reached . . .
------------------------------------------------------------------------
Fri 17 Dec 2021 09:02:39 AM CET LM_LOGFILE_REDUNDANT (last 10 lines)
304 9:02:36 (lmgrd)
305 9:02:36 (lmgrd) -----------------------------------------------
306 9:02:36 (lmgrd)
307 9:02:36 (lmgrd)
308 9:02:36 (lmgrd) Server's System Date and Time: Fri Dec 17 2021 09:02:36 CET
309 9:02:36 (lmgrd) SLOG: Summary LOG statistics is enabled.
310 9:02:36 (lmgrd) Can't make directory /usr/tmp/.flexlm, errno: 2(No such file or directory)
311 9:02:36 (lmgrd) license manager: can't initialize:No SERVER lines in license file.
312 9:02:36 (lmgrd) License Path: "/var/tmp/lm_TMW.dat"
313 9:02:36 (lmgrd) FlexNet Licensing error:-13,66
We have a similar issue on a privilegied and nested lxc container (Debian 9 and 10) on a ProxmoxVE 7 (Debian 11) :
~# /etc/init.d/flexnet start
/etc/lmboot_TMW: 506: /etc/lmboot_TMW: cannot create /var/tmp/lm_TMW.dat: Permission denied
[...]
/etc/lmboot_TMW: 506: /etc/lmboot_TMW: cannot create /var/tmp/lm_TMW.dat: Permission denied
~# /usr/share/matlab/etc/lm_matlab/etc/lmboot -u matlab
/usr/share/matlab/etc/lm_matlab/etc/lmboot: 506: /usr/share/matlab/etc/lm_matlab/etc/lmboot: cannot create /var/tmp/lm_TMW.dat: Permission denied
[....]
/usr/share/matlab/etc/lm_matlab/etc/lmboot: 506: /usr/share/matlab/etc/lm_matlab/etc/lmboot: cannot create /var/tmp/lm_TMW.dat: Permission denied
~# cat /var/tmp/lm_TMW.log
9:09:35 (lmgrd) -----------------------------------------------
9:09:35 (lmgrd) Please Note:
9:09:35 (lmgrd)
9:09:35 (lmgrd) This log is intended for debug purposes only.
9:09:35 (lmgrd) In order to capture accurate license
9:09:35 (lmgrd) usage data into an organized repository,
9:09:35 (lmgrd) please enable report logging. Use Flexera's
9:09:35 (lmgrd) software license administration solution,
9:09:35 (lmgrd) FlexNet Manager, to readily gain visibility
9:09:35 (lmgrd) into license usage data and to create
9:09:35 (lmgrd) insightful reports on critical information like
9:09:35 (lmgrd) license availability and usage. FlexNet Manager
9:09:35 (lmgrd) can be fully automated to run these reports on
9:09:35 (lmgrd) schedule and can be used to track license
9:09:35 (lmgrd) servers and usage across a heterogeneous
9:09:35 (lmgrd) network of servers including Windows NT, Linux
9:09:35 (lmgrd) and UNIX.
9:09:35 (lmgrd)
9:09:35 (lmgrd) -----------------------------------------------
9:09:35 (lmgrd)
9:09:35 (lmgrd)
9:09:35 (lmgrd) Server's System Date and Time: Fri Dec 17 2021 09:09:35 CET
9:09:35 (lmgrd) SLOG: Summary LOG statistics is enabled.
9:09:35 (lmgrd) license manager: can't initialize:No SERVER lines in license file.
9:09:35 (lmgrd) License Path: "/var/tmp/lm_TMW.dat"
9:09:35 (lmgrd) FlexNet Licensing error:-13,66
License manager seems able to create lm_TMW.* files in /var/tmp but is not able to write or read them.
We don't have issue on a privilegied and nested lxc container (Debian 9) on a ProxmoxVE 6.
How can we solve it ?
Regards,
3 件のコメント
License Administrator
2022 年 1 月 12 日
Thanks!
I figured out my solution. it was not lsb package: lsb-compat_9.20161125_amd64.deb (for ubuntu 20 LTS) which I already had.
My issue was resolved by running the license manager as regular user. it couldn't be run by root even if you specify -u matlab. The error I kept getting was :
(lmgrd) License Path: "/var/tmp/lm_TMW.dat"
(lmgrd) FlexNet Licensing error:-13,66
/var/tmp/ has other lm_* files just fine. It just could not copy the license to "/var/tmp/lm_TMW.dat"
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Manage Products についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!