Flexlm license manager

I’ve installed GTSuite software on my machine running release 9.4 , and flexlm license manager software was installed as well. Generally one can run flexlm commands such as “lmgrd -c license.dat -| log.log” or “lmutil lmdown -c license.dat” to start, stop, and interogate the license manager, but the response I get when trying to run any of the flexlm utilities is “bash: lmutil: command not found…” for example. Thanks, Vince

When you type a command, bash checks directories on its list (PATH) for executable file with that name. If none has it, then you get the “command not found”.

How?

Ideally, every software is available as RPM-packages for the package manager (dnf) to install them. Most of such packages place the executables into directory that is on the PATH.
(Some packages don’t. For example, the gcc-toolset-13 packages have commands elsewhere, but it provides a way to add that location to PATH when there is a need to use them.)

If the “GTSuite” is not distributed as RPM-packages, then it is way more up to the user to know where did you install to? (Installing to system directories would be bad as it can conflict with files of managed packages.)

They may installed it under /opt … @VinceJ do a find / -name “lmgrd” as root to find where are the binaries no big deal.

The installation directory is /opt/GTI/flexlm. I added this to my PATH. I’ll paste what I’m seeing below, but one thing that is odd is there is a lmgrd.exe file and an lmgrd file. The lmgrd file has a file size of zero.

[vince@localhost ~]$ ls -l /opt/GTI/flexlm
total 24772
-rwxr-xr-x. 1 root root 10262587 Dec 3 2022 aksusbd-8.53-1.x86_64.rpm
drwx------. 3 root root 17 Aug 15 17:45 backup
-rwxr-xr-x. 1 root root 3473698 May 17 2017 FLEXnet_v11_14_LicAdmin.pdf
-rwxr-xr-x. 1 root root 4505333 Sep 13 2017 getid
drwxr-xr-x. 3 root root 23 Aug 15 17:45 GT_Applications_Group
-rw-r–r–. 1 root root 74 Aug 15 17:45 gtenv.csh
-rw-r–r–. 1 root root 95 Aug 15 17:45 gtenv.sh
-rwxr-xr-x. 1 root root 2347 Sep 21 2017 gtilic
-rwxr-xr-x. 1 root root 363 Aug 15 17:45 GTI-License-Server.txt
-rwxr-xr-x. 1 root root 4163112 Feb 5 2018 GTISOFT.linux_x86_64
-rw-r–r–. 1 root root 45 Aug 15 17:46 GT-SUITE-installed.txt
-rw-r–r–. 1 vince vince 4813 Aug 15 04:09 license2.dat
-rw-r–r–. 1 root root 4813 Aug 15 04:09 license.dat
-rwxr-xr-x. 1 root root 888 Mar 22 2006 Lic_Req.txt
lrwxrwxrwx. 1 root root 22 Aug 15 17:45 lmdiag → /opt/GTI/flexlm/lmutil
lrwxrwxrwx. 1 root root 22 Aug 15 17:45 lmdown → /opt/GTI/flexlm/lmutil
-rwxr-xr-x. 1 root root 1538528 Aug 14 2017 lmgrd
-rwxrwxrwx. 1 root root 0 Aug 15 12:53 lmgrd.exe
lrwxrwxrwx. 1 root root 22 Aug 15 17:45 lmhostid → /opt/GTI/flexlm/lmutil
lrwxrwxrwx. 1 root root 22 Aug 15 17:45 lmremove → /opt/GTI/flexlm/lmutil
lrwxrwxrwx. 1 root root 22 Aug 15 17:45 lmreread → /opt/GTI/flexlm/lmutil
lrwxrwxrwx. 1 root root 22 Aug 15 17:45 lmstat → /opt/GTI/flexlm/lmutil
-rwxr-xr-x. 1 root root 1362472 Jun 11 2017 lmutil
lrwxrwxrwx. 1 root root 22 Aug 15 17:45 lmver → /opt/GTI/flexlm/lmutil
-rwxr-xr-x. 1 root root 269 Dec 3 2022 Readme.html
-rwxrwxrwx. 1 root root 50 Aug 15 17:45 runrpm.sh
drwxr-xr-x. 2 root root 62 Aug 15 17:46 Uninstall
[vince@localhost ~]$ lmgrd
bash: /opt/GTI/flexlm/lmgrd: No such file or directory
[vince@localhost ~]$ gtilic
Usage: /opt/GTI/flexlm/gtilic { start | restart | stop }
[vince@localhost ~]$ gtilic start
su: user flexadm does not exist or the user entry does not contain all the required fields
su: user flexadm does not exist or the user entry does not contain all the required fields
su: user flexadm does not exist or the user entry does not contain all the required fields
su: user flexadm does not exist or the user entry does not contain all the required fields
su: user flexadm does not exist or the user entry does not contain all the required fields
[vince@localhost ~]$ sudo gtilic start
[sudo] password for vince:
sudo: gtilic: command not found
[vince@localhost ~]$ sudo /opt/GTI/flexlm/gtilic start
su: user flexadm does not exist or the user entry does not contain all the required fields
su: user flexadm does not exist or the user entry does not contain all the required fields
su: user flexadm does not exist or the user entry does not contain all the required fields
su: user flexadm does not exist or the user entry does not contain all the required fields
su: user flexadm does not exist or the user entry does not contain all the required fields
[vince@localhost ~]$ exit
exit
There are stopped jobs.
[vince@localhost ~]$ getid
GETID (Version 3.5)
System ID String:[COALITIONGTI]
HaspHL status is OK.
[vince@localhost ~]$ lmutil
bash: /opt/GTI/flexlm/lmutil: No such file or directory
[vince@localhost ~]$

when I run the command to “getid” it works, so PATH is correct. The only thing I added to this folder from the original installation are the license.dat and license2.dat files.

it seems, for me, that lmutil needs some additional params , BTW I think you need to start the FLEXlm license server first, ie lmgrd -c xxxxxx -l logfile & , where xxxxxxx is the full-path and the license file ie /opt/GTI/flexlm/license.dat in your case if the license.dat is on that directory

Not sure if this may fix your problem ?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.