Hello everyone,
I'm having trouble migrating my FlexNet Publisher onto a Linux server. I am running the command nohup lmgrd -c license.dat in the directory of where the Flexnet Publisher software is downloaded but I would get this error:
nohup: failed to run command 'lmgrd': No such file or directory
I have already followed this solution but I still get the same error. Any suggestions?
As you already are aware of:
https://developer.arm.com/documentation/ka003732/latest?_ga=2.191507946.1325818882.1615528340-1421957775.1615528340
I quickly googled for some further related content - Does that help?
https://superuser.com/questions/1220350/nohup-cannot-find-file-or-directory-when-running-script-to-start-davmail
https://serverfault.com/questions/477686/nohup-no-such-file-or-directory
Thank you for the links.
I have tried using nohup ./lmgrd -c license.dat -l debug.log which throws an error where the port number in the license is already in use. But after it attempts to run again, it will successfully start the FlexNet. However, I still can't use the floating license. The log file says under Startup/Restart Info that "Is FlexNet Licensing Service installed and compatible: No" which makes me believe that the initial command I ran is incorrect.
Here is my log file.
11:44:43 (lmgrd) ----------------------------------------------- 11:44:43 (lmgrd) Please Note: 11:44:43 (lmgrd) 11:44:43 (lmgrd) This log is intended for debug purposes only. 11:44:43 (lmgrd) In order to capture accurate license 11:44:43 (lmgrd) usage data into an organized repository, 11:44:43 (lmgrd) please enable report logging. Use Flexera's 11:44:43 (lmgrd) software license administration solution, 11:44:43 (lmgrd) FlexNet Manager, to readily gain visibility 11:44:43 (lmgrd) into license usage data and to create 11:44:43 (lmgrd) insightful reports on critical information like 11:44:43 (lmgrd) license availability and usage. FlexNet Manager 11:44:43 (lmgrd) can be fully automated to run these reports on 11:44:43 (lmgrd) schedule and can be used to track license 11:44:43 (lmgrd) servers and usage across a heterogeneous 11:44:43 (lmgrd) network of servers including Windows NT, Linux 11:44:43 (lmgrd) and UNIX. 11:44:43 (lmgrd) 11:44:43 (lmgrd) ----------------------------------------------- 11:44:43 (lmgrd) 11:44:43 (lmgrd) 11:44:43 (lmgrd) Server's System Date and Time: Fri Mar 12 2021 11:44:43 EST 11:44:43 (lmgrd) SLOG: Summary LOG statistics is enabled. 11:44:58 (lmgrd) The TCP port number in the license, 8224, is already in use. 11:44:58 (lmgrd) Possible causes: 11:44:58 (lmgrd) 1) The license server manager (lmgrd) is already running for this license. 11:44:58 (lmgrd) 2) The OS has not "cleared" this port since lmgrd died. 11:44:58 (lmgrd) 3) Another process is using this port number (unlikely). 11:44:58 (lmgrd) Solutions: 11:44:58 (lmgrd) 1) Make sure lmgrd and all vendor daemons for this 11:44:58 (lmgrd) license are not running. 11:44:58 (lmgrd) 2) You may have to wait for the OS to clear this port. 11:44:58 (lmgrd) Retrying for about 5 more minutes 11:45:16 (lmgrd) Still trying... 11:45:28 (lmgrd) FlexNet Licensing (v11.17.2.0 build 272614 x64_lsb) started on theissen-vm (linux) (3/12/2021) 11:45:28 (lmgrd) Copyright (c) 1988-2020 Flexera. All Rights Reserved. 11:45:28 (lmgrd) World Wide Web: http://www.flexerasoftware.com 11:45:28 (lmgrd) License file(s): /home/administrator/Documents/FlexNet_Publisher/license.dat 11:45:28 (lmgrd) lmgrd tcp-port 8224 11:45:28 (lmgrd) (@lmgrd-SLOG@) =============================================== 11:45:28 (lmgrd) (@lmgrd-SLOG@) === LMGRD === 11:45:28 (lmgrd) (@lmgrd-SLOG@) Start-Date: Fri Mar 12 2021 11:45:28 EST 11:45:28 (lmgrd) (@lmgrd-SLOG@) PID: 3411121 11:45:28 (lmgrd) (@lmgrd-SLOG@) LMGRD Version: v11.17.2.0 build 272614 x64_lsb ( build 272614 (ipv6)) 11:45:28 (lmgrd) (@lmgrd-SLOG@) 11:45:28 (lmgrd) (@lmgrd-SLOG@) === Network Info === 11:45:28 (lmgrd) (@lmgrd-SLOG@) Listening port: 8224 11:45:28 (lmgrd) (@lmgrd-SLOG@) 11:45:28 (lmgrd) (@lmgrd-SLOG@) === Startup Info === 11:45:28 (lmgrd) (@lmgrd-SLOG@) Server Configuration: Single Server 11:45:28 (lmgrd) (@lmgrd-SLOG@) Command-line options used at LS startup: -c /home/administrator/Documents/FlexNet_Publisher/license.dat -l /home/administrator/Documents/FlexNet_Publisher/debug_log/debug.log 11:45:28 (lmgrd) (@lmgrd-SLOG@) License file(s) used: /home/administrator/Documents/FlexNet_Publisher/license.dat 11:45:28 (lmgrd) (@lmgrd-SLOG@) =============================================== 11:45:28 (lmgrd) Starting vendor daemons ... 11:45:28 (lmgrd) Started armlmd (internet tcp_port 52209 pid 3411276) 11:45:28 (armlmd) Unable to initialize access to trusted storage: 2 11:45:28 (armlmd) FlexNet Licensing version v11.17.2.0 build 272614 x64_lsb 11:45:28 (armlmd) SLOG: Summary LOG statistics is enabled. 11:45:28 (armlmd) SLOG: FNPLS-INTERNAL-CKPT1 11:45:28 (armlmd) SLOG: VM Status: 4 11:45:28 (armlmd) SLOG: FNPLS-INTERNAL-CKPT5 11:45:28 (armlmd) SLOG: TPM Status: 0 11:45:28 (armlmd) SLOG: FNPLS-INTERNAL-CKPT6 11:45:28 (armlmd) Using options file: "/home/administrator/Documents/FlexNet_Publisher/armlmd.opt" 11:45:28 (armlmd) Server started on theissen-vm for: 11:45:28 (armlmd) mdk_cm_std (consisting of: mdk_cm_std_uvision 11:45:28 (armlmd) mdk_cm_std_armasm5 mdk_cm_std_compiler5 mdk_cm_std_armlink5 11:45:28 (armlmd) mdk_cm_std_fromelf5 mdk_cm_std_arm_lcf5) 11:45:28 (armlmd) EXTERNAL FILTERS are OFF 11:45:28 (lmgrd) armlmd using TCP-port 52209 11:45:28 (armlmd) SLOG: Statistics Log Frequency is 240 minute(s). 11:45:28 (armlmd) SLOG: TS update poll interval is 600 seconds. 11:45:28 (armlmd) SLOG: Activation borrow reclaim percentage is 0. 11:45:28 (armlmd) (@armlmd-SLOG@) =============================================== 11:45:28 (armlmd) (@armlmd-SLOG@) === Vendor Daemon === 11:45:28 (armlmd) (@armlmd-SLOG@) Vendor daemon: armlmd 11:45:28 (armlmd) (@armlmd-SLOG@) Start-Date: Fri Mar 12 2021 11:45:28 EST 11:45:28 (armlmd) (@armlmd-SLOG@) PID: 3411276 11:45:28 (armlmd) (@armlmd-SLOG@) VD Version: v11.17.2.0 build 272614 x64_lsb ( build 272614 (ipv6)) 11:45:28 (armlmd) (@armlmd-SLOG@) 11:45:28 (armlmd) (@armlmd-SLOG@) === Startup/Restart Info === 11:45:28 (armlmd) (@armlmd-SLOG@) Options file used: /home/administrator/Documents/FlexNet_Publisher/armlmd.opt 11:45:28 (armlmd) (@armlmd-SLOG@) Is vendor daemon a CVD: No 11:45:28 (armlmd) (@armlmd-SLOG@) Is FlexNet Licensing Service installed and compatible: No 11:45:28 (armlmd) (@armlmd-SLOG@) FlexNet Licensing Service Version: -NA- 11:45:28 (armlmd) (@armlmd-SLOG@) Is TS accessed: No 11:45:28 (armlmd) (@armlmd-SLOG@) TS access time: -NA- 11:45:28 (armlmd) (@armlmd-SLOG@) Number of VD restarts since LS startup: 0 11:45:28 (armlmd) (@armlmd-SLOG@) 11:45:28 (armlmd) (@armlmd-SLOG@) === Network Info === 11:45:28 (armlmd) (@armlmd-SLOG@) Listening port: 52209 11:45:28 (armlmd) (@armlmd-SLOG@) Daemon select timeout (in seconds): 1 11:45:28 (armlmd) (@armlmd-SLOG@) 11:45:28 (armlmd) (@armlmd-SLOG@) === Host Info === 11:45:28 (armlmd) (@armlmd-SLOG@) Host used in license file: theissen-vm 11:45:28 (armlmd) (@armlmd-SLOG@) HostID node-locked in license file: 000c29f55f7a 11:45:28 (armlmd) (@armlmd-SLOG@) HostID of the License Server: 000c29f55f7a 11:45:28 (armlmd) (@armlmd-SLOG@) Running on Hypervisor: Unknown Hypervisor 11:45:28 (armlmd) (@armlmd-SLOG@) =============================================== 11:45:28 (armlmd) Starting diagnostics port listener thread (DPLT) 11:45:28 (armlmd) Starting diagnostics output thread (DRQT) 11:45:28 (armlmd) DPLT: running 11:45:28 (armlmd) DPLT: waiting for logger to connect 11:45:28 (armlmd) DRQT: running
Found my solution:
The initial problem with "nohup: failed to run command 'lmgrd': No such file or directory" was resolved by using nohup./lmgrd -c license.dat -l debug.log
The other problem with conflicting port number was that the main service (lmgrd) was running on 8224 and if you don't specify the port for the vendor daemon (armlmd), armlmd will attempt to run on 8224 as well. So lmgrd will complain that it's port is in use.
So I assigned the main service to port 8224 and armlmd to port 8225.
Thanks for sharing this solution, Keina