Keil Logo

LICENSE: Lmgrd on Linux Fails with "No such file or directory"


Information in this knowledgebase article applies to:

  • Keil MDK version 4.60 or later

SYMPTOM

Downloading the FlexNet Publisher Binaries for Linux as described here and installing them worked as expected. But when trying to start the FlexNet License daemon lmgrd on the Linux server, the program aborts and prints:

lmgrd: No such file or directory

What does this mean and what needs to be done to get the lmgrd working?

CAUSE

A possible reason is the missing Linux Standard Base (LSB) components which are required by the lmgrd. To check, if the requirements are installed, the following commands can be executed:

$ ldd lmgrd
        linux-vdso.so.1 =>  (0x00007fffeafef000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5ba86fb000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5ba83f2000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5ba81dc000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5ba7e12000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5ba7c0e000)
        /lib64/ld-lsb-x86-64.so.3 => /lib64/ld-linux-x86-64.so.2 (0x00007f5ba8918000)
$ ls -l /lib64/ld-lsb-x86-64.so.3
ls: cannot access '/lib64/ld-lsb-x86-64.so.3': No such file or directory

As seen, the '/lib64/ld-lsb-x86-64.so.3' is missing.

RESOLUTION

Check with your Linux distribution documentation, how to install the LSB packages. One way to do this is to enter the following command from root:

 apt-get install lsb

When LSB is installed, the ls command reports:

$ ls -l /lib64/ld-lsb-x86-64.so.3
lrwxrwxrwx 1 root root 20 Aug 17 12:21 /lib64/ld-lsb-x86-64.so.3 -> ld-linux-x86-64.so.2

As '/lib64/ld-lsb-x86-64.so.3' is now available, lmgrd should run and the license server configuration can be done/finished.

MORE INFORMATION

SEE ALSO

Last Reviewed: Friday, February 12, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.