Parallel server licence error
Show older comments
Hi,
I installed Network Licence Manager for Matlab 2021b academic with license.lic file that produced for linux (pop-os 22.04), then I installed Parallel Server with file installation key, bu i did not run matlab before start network license manager. After installation for starting NLM ; in the matlabroot/etc, I used:
su username -c "glnxa64/lmgrd -c license.dat -l /var/tmp/LM_TMW.log"
18:10:46 (lmgrd) Server's System Date and Time: Fri Nov 24 2023 18:10:46 +03
18:10:46 (lmgrd) SLOG: Summary LOG statistics is enabled.
18:10:46 (lmgrd) Failed to open the TCP port number in the license.
I check /etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.1.1 pop-os.localdomain pop-os
./lmstart
15:18:18 (lmgrd) -----------------------------------------------
15:18:18 (lmgrd) Please Note:
15:18:18 (lmgrd)
15:18:18 (lmgrd) This log is intended for debug purposes only.
15:18:18 (lmgrd) In order to capture accurate license
15:18:18 (lmgrd) usage data into an organized repository,
15:18:18 (lmgrd) please enable report logging. Use Flexera's
15:18:18 (lmgrd) software license administration solution,
15:18:18 (lmgrd) FlexNet Manager, to readily gain visibility
15:18:18 (lmgrd) into license usage data and to create
15:18:18 (lmgrd) insightful reports on critical information like
15:18:18 (lmgrd) license availability and usage. FlexNet Manager
15:18:18 (lmgrd) can be fully automated to run these reports on
15:18:18 (lmgrd) schedule and can be used to track license
15:18:18 (lmgrd) servers and usage across a heterogeneous
15:18:18 (lmgrd) network of servers including Windows NT, Linux
15:18:18 (lmgrd) and UNIX.
15:18:18 (lmgrd)
15:18:18 (lmgrd) -----------------------------------------------
15:18:18 (lmgrd)
15:18:18 (lmgrd)
15:18:18 (lmgrd) Server's System Date and Time: Fri Nov 24 2023 15:18:18 +03
15:18:18 (lmgrd) SLOG: Summary LOG statistics is enabled.
15:18:18 (lmgrd) FlexNet Licensing (v11.16.2.1 build 244538 x64_lsb) started on pop-os (linux) (11/24/2023)
15:18:18 (lmgrd) Copyright (c) 1988-2018 Flexera. All Rights Reserved.
15:18:18 (lmgrd) World Wide Web: http://www.flexerasoftware.com
15:18:18 (lmgrd) License file(s): license.dat
15:18:18 (lmgrd) lmgrd tcp-port 27000
15:18:18 (lmgrd) (@lmgrd-SLOG@) ===============================================
15:18:18 (lmgrd) (@lmgrd-SLOG@) === LMGRD ===
15:18:18 (lmgrd) (@lmgrd-SLOG@) Start-Date: Fri Nov 24 2023 15:18:18 +03
15:18:18 (lmgrd) (@lmgrd-SLOG@) PID: 19322
15:18:18 (lmgrd) (@lmgrd-SLOG@) LMGRD Version: v11.16.2.1 build 244538 x64_lsb ( build 244538 (ipv6))
15:18:18 (lmgrd) (@lmgrd-SLOG@)
15:18:18 (lmgrd) (@lmgrd-SLOG@) === Network Info ===
15:18:18 (lmgrd) (@lmgrd-SLOG@) Listening port: 27000
15:18:18 (lmgrd) (@lmgrd-SLOG@)
15:18:18 (lmgrd) (@lmgrd-SLOG@) === Startup Info ===
15:18:18 (lmgrd) (@lmgrd-SLOG@) Server Configuration: Single Server
15:18:18 (lmgrd) (@lmgrd-SLOG@) Command-line options used at LS startup: -c license.dat -l /var/tmp/LM_TMW.log
15:18:18 (lmgrd) (@lmgrd-SLOG@) License file(s) used: license.dat
15:18:18 (lmgrd) (@lmgrd-SLOG@) ===============================================
15:18:18 (lmgrd) Starting vendor daemons ...
15:18:18 (lmgrd) Started MLM (internet tcp_port 55199 pid 19324)
15:18:18 (MLM) FlexNet Licensing version v11.16.2.1 build 244538 x64_lsb
15:18:18 (MLM) SLOG: Summary LOG statistics is enabled.
15:18:18 (MLM) SLOG: FNPLS-INTERNAL-CKPT1
15:18:18 (MLM) SLOG: VM Status: 0
15:18:18 (MLM) SLOG: FNPLS-INTERNAL-CKPT5
15:18:18 (MLM) SLOG: TPM Status: 0
15:18:18 (MLM) SLOG: FNPLS-INTERNAL-CKPT6
15:18:18 (MLM) Server started on pop-os for: MATLAB_Distrib_Comp_Engine
15:18:18 (MLM) PolySpace_Bug_Finder PolySpace_Bug_Finder_Engine PolySpace_Server_C_CPP
15:18:18 (MLM) EXTERNAL FILTERS are OFF
15:18:18 (lmgrd) MLM using TCP-port 55199
15:18:18 (MLM) License verification completed successfully.
15:18:18 (MLM) SLOG: Statistics Log Frequency is 240 minute(s).
15:18:18 (MLM) SLOG: TS update poll interval is 600 seconds.
15:18:18 (MLM) SLOG: Activation borrow reclaim percentage is 0.
15:18:18 (MLM) (@MLM-SLOG@) ===============================================
15:18:18 (MLM) (@MLM-SLOG@) === Vendor Daemon ===
15:18:18 (MLM) (@MLM-SLOG@) Vendor daemon: MLM
15:18:18 (MLM) (@MLM-SLOG@) Start-Date: Fri Nov 24 2023 15:18:18 +03
15:18:18 (MLM) (@MLM-SLOG@) PID: 19324
15:18:18 (MLM) (@MLM-SLOG@) VD Version: v11.16.2.1 build 244538 x64_lsb ( build 244538 (ipv6))
15:18:18 (MLM) (@MLM-SLOG@)
15:18:18 (MLM) (@MLM-SLOG@) === Startup/Restart Info ===
15:18:18 (MLM) (@MLM-SLOG@) Options file used: None
15:18:18 (MLM) (@MLM-SLOG@) Is vendor daemon a CVD: No
15:18:18 (MLM) (@MLM-SLOG@) Is FlexNet Licensing Service installed and compatible: No
15:18:18 (MLM) (@MLM-SLOG@) FlexNet Licensing Service Version: -NA-
15:18:18 (MLM) (@MLM-SLOG@) Is TS accessed: No
15:18:18 (MLM) (@MLM-SLOG@) TS access time: -NA-
15:18:18 (MLM) (@MLM-SLOG@) Number of VD restarts since LS startup: 0
15:18:18 (MLM) (@MLM-SLOG@)
15:18:18 (MLM) (@MLM-SLOG@) === Network Info ===
15:18:18 (MLM) (@MLM-SLOG@) Listening port: 55199
15:18:18 (MLM) (@MLM-SLOG@) Daemon select timeout (in seconds): 1
15:18:18 (MLM) (@MLM-SLOG@)
15:18:18 (MLM) (@MLM-SLOG@) === Host Info ===
15:18:18 (MLM) (@MLM-SLOG@) Host used in license file: pop-os
15:18:18 (MLM) (@MLM-SLOG@) HostID node-locked in license file: 2c6dc1644d99
15:18:18 (MLM) (@MLM-SLOG@) HostID of the License Server: "2c6dc1644d99 d4939008efca"
15:18:18 (MLM) (@MLM-SLOG@) Running on Hypervisor: Not determined - treat as Physical
15:18:18 (MLM) (@MLM-SLOG@) ===============================================
Network Licence Manager is not starting. So in the toolbax for parallel server; I run
./checkLicensing
======BEGIN LICENSE MANAGER ERROR======
License checkout failed.
License Manager Error -5
Cannot find a license for MATLAB_Distrib_Comp_Engine.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/R2021b/5
Diagnostic Information:
Feature: MATLAB_Distrib_Comp_Engine
License path: /home/user/.matlab/R2021b_licenses/license_pop-os_40689096_R2021b.lic:/usr/local/MATLAB/R2021b/lic
enses/license.dat:/usr/local/MATLAB/R2021b/licenses
Licensing error: -5,357.
======END LICENSE MANAGER ERROR======
The MATLAB Parallel Server worker licensing check has failed. Check /usr/local/MATLAB/R2021b/toolbox/parallel/bin/parallelLicense.log for details.
I have no problems with the installation for Matlab 2023. Both NLM works and does not give any license errors. But I am suffering from these problems in the 2021b installation. I don't understand what I'm missing. Can you help me?
Thank you.
Accepted Answer
More Answers (0)
Categories
Find more on Manage Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!