There are three types of the FlexNet server managers.
Info
lmadmin – a web-based license server manager with GUI (recommended).
lmgrd – a license server manager with a command-line interface.
lmtools – the old Windows based server manager (replaced by lmadmin).
We recommend using lmadmin.
Note
lmadmin installer comes only in 32 bit architecture (regardless of the version)
11.12.1 version license server utilities (except lmadmin installer) come in 32/64 bit architectures
11.14 version license tools are not available in 64 bit binaries only 32 bit tools are available (additional 32bit libraries need to be installed in the 64bit multi-arch system to execute them)
Modify '/etc/sudoers' with the editor "visudo".
#Create a user called "newuser"
[root@mylinux~]#useradd newuser
[root@mylinux~]#passwd newuser
#Edit the file with visudo:
[root@mylinux~]# visudo
#Find a line 'User privilege specification' and add the following.
newuser ALL=(ALL) ALL
Running 64bit lmgrd on 64 bit systems requires 64 bit Linux Standard Base (LSB) library.
For Ubuntu:
Code Block
sudo apt-get install lsb-core
For Redhat/CentOS/Fedora:
Code Block
sudo yum install redhat-lsb-core
For version 11.14 we recommend either using the 32 bit lmadmin installer, or the 32bit lmgrd for multi-arch systems. 64 bit 11.14 lmadmin/lmgrd binaries are not available.
Note
Both of them require 32 bit librarires. Install it using:
lmadmin 11.14 comes with libssl.so.1.0.0 in its installation directory. You need to add these libraries in lmadmin directory to the LD_LIBRARY_PATH in order to run lmadmin.
e.g. if your lmadmin installation is at /opt/FNPLicenseServerManager then adding it to the path would look like this:
We highly recommend running the FlexNet license server (lmadmin) as a service (on Windows) or a daemon (on OS X or Linux).
As a result, the server can start automatically after the machine boots. Starting the server manually is not user-friendly – there is no GUI for this action.
If your operating system is Windows, you only need to select the Run as a service check box when prompted during the lmadmin installation.
For the instructions on how to create a daemon, refer to Automatic Start in:
In the open folder, create the licenses\cameo folder.
Place the Vendor daemon in <FlexNet server installation folder>\licenses\cameo.
Note
Note that all files in FNPLicenseServerManager must have read/write permissions. lmadmin or cameo daemon may not start even if a log file or cameo daemon does not have r/w permissions.
Use this command to set permissions for all files within the directory recursively.
chmod -R 777 755 FNPLicenseServerManager
Start the server by running the lmadmin file from the FlexNet server installation directory.
If you come across any issues while installing/running the software, please refer to the Troubleshooting section.
Other useful commands
Find out the shared object dependencies in Linux. The result can show what files are missing libraries to run that file.
Code Block
ldd <file_name>
File information in Linux
Code Block
file <file_name>
Launching lmgrd manually via command line. lmgrd, cameo and license file must be in the same directory:
Code Block
lmgrd -c <license_file_name> -l <logfile_name>
license_file_name - the path to the license file. Can use only the license file name if all files are in the same directory.
logfile_name - the path to the log file. Can use only the license file name if all files are in the same directory. Make sure the files have read/write privileges.
Checking server status:
Code Block
lmutil lmstat -a -c <server_port>@<server_host_or_ip_address>
server_port - the port the server is operating on (Not the cameo daemon port)
server_host_or_ip_address - the host/address the server is hosted on
Info
Prior to using the command, the download of lmutil from our website is required. Navigate to the file via the command line and then execute the command above.
Troubleshooting
JRE libraries are missing or not compatible
Error message while installing 32bit lmadmin on 64bit multi-arch Linux system.
The error message is misleading, the solution to fix it, is to install the 32bit libraries.
If you install lmadmin on a Linux-based system when logged on as root, you may encounter various issues. For example:
When you try to launch the Web server (http://localhost:port) on the license server, you encounter an "Unable to connect" error.
When you attempt to run the license server, you may encounter the following errors:
No Format
10:43:19 (cameo) Vendor daemon can't talk to lmgrd (Cannot read data from license server system. (-16,287))
10:43:20 (cameo) EXITING DUE TO SIGNAL 37 Exit reason 5
In Web.log:
No Format
[08:08:08 2018] [warn] pid file /opt/FNPLicenseServerManager/logs/lmadmin.pid overwritten -- Unclean shutdown of previous Apache run?
[08:08:08 2018] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
A process listing for lmadmin ('ps aux | grep lmadmin') returns no results.
A process listing for cameo ('ps aux|grep cameo') returns results if run right after lmadmin is started but then fails after a few seconds. If you view the cameo.log file in the logs directory (the default location is /opt/FNPLicenseServerManager/logs), you see that the process failed with the following error messages:
No Format
07:55:17 (cameo) Report log started (cameo/report.log).
07:55:27 (cameo) Vendor daemon can't talk to lmgrd (Cannot read data from license server system. (-16,287))
07:55:27 (cameo) EXITING DUE TO SIGNAL 37 Exit reason 5
Therefore, when you are installing lmadmin on a Linux-based system, it is recommended that you avoid installing as root. If you have already installed lmadmin when logged on as root and you do not want to reinstall lmadmin, change the ownership of all of the files in the installed folder from root to another user
'Can't make directory' error running lmgrd
Can't make directory /usr/tmp/.flexlm, errno: 2(No such file or directory).
This means that directory /usr/tmp used by lmgrd is missing on your system(usually on Ubuntu systems). This error does not impact license checkout.
The solution to fix it is to create a symbolic link /usr/tmp pointing to /tmp:
Code Block
ln -s /tmp /usr/tmp
You have no permission to install lmadmin in that directory
Make sure the lmadmin installer has read/write access.
Code Block
chmod 777755 lmadmin
or
Code Block
chmod -R 777755 folder_containing_lmadmin
to give read/write privileges to all files within a folder.
Then run lmadmin using sudo:
Code Block
sudo ./<lmadmin_installer>
A sample script which performs the automated install of lmadmin in case you need it for reference purposes