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 755 lmadmin
or
Code Block
chmod -R 755 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 that performs the automated installation of lmadmin 11.14 from nomagic.com in case you need it for reference purposes