Issue
When Amira/Avizo displays the following message at startup:
"Cannot connect to license server system"
"The license server manager (lmgrd) has not been started yet, the wrong port@host or license file is being used, or the port or hostname in the license file has been changed"
Please follow the following suggestions to solve issues.
Suggested Solutions
1. If the page http://localhost:8090/vendor does not display asglmd in Up status on the server machine, or if the expected licenses are not displayed in the lmadmin dashboard
(see the article KA-01262 "License Server: Check the Status of Installed Licenses")
- Apply the suggestions provided by the article KA-01298 "Vendor Daemon Startup Troubleshooting Suggestions".
- If these suggestions do not help you, please contact our Customer Support and share the server license file and the log files lmadmin.log, asglmd.log, and/or mcslmd.log stored by default in the folder logs of your lmadmin installation on the server machine.
2. If the page http://localhost:8090/systeminfo displays on the server machine a hostname and/or a port number that does not match the environment variable ASGLMD_LICENSE_FILE on the client machine
Please run the Thermo Scientific License Manager (TLM) on the client machine. Edit the displayed server settings (button ), and enter the hostname and port number displayed in lmadmin (use the syntax <server hostname>:<port number>).
3. If Amira/Avizo still fails to start with the server connection failure message despite the above suggestions
The issue usually comes from the firewall or other network security tools. This can be checked by opening a console on the client machine, navigating to the Amira/Avizo folder "share\license\FLEXnet," and running the following commands:
- On Windows - before 2020.3
.\lmutil lmstat -a -c %APPDATA%\FEI\serverFile.dat
.\lmutil lmstat -a -c "%APPDATA%\Thermo Fisher Scientific\serverFile.dat"
- On Windows - since 2020.3
Check that the path to your license server is correctly set in the system environment variable: echo %ASGLMD_LICENSE_FILE%
Check the server connection: .\lmutil lmstat -a -c <port number if set>@<server hostname>
Example: .\lmutil lmstat -a -c 27000@FRBOR-9C5GN50
- On Linux - before 2020.3
./lmutil lmstat -a -c $HOME/.config/FEI/serverFile.dat
./lmutil lmstat -a -c $HOME/.config/Thermo Fisher Scientific/serverFile.dat
- On Linux - since 2020.3
Check that the path to your license server is correctly set in the system environment variable: echo $ASGLMD_LICENSE_FILE
Check the server connection: ./lmutil lmstat -a -c <port number if set>@<server hostname>
Example: ./lmutil lmstat -a -c 27000@FRBOR-9C5GN50
If the above lmstat command fails to display the licenses shown in the lmadmin dashboard, please configure the firewall (inbound and outbound rules) on both client and server machines for opening the port set in the environment variable ASGLMD_LICENSE_FILE and/or in the client license file.
Please also configure the firewall (inbound and outbound rules) on the server machine for opening the port displayed at http://localhost:8090/vendor. Then, restart Amira/Avizo.
The client/server communication issue could also be due to bad hostname resolution. If so, using the IP address of the server machine in the SERVER line of the server license file, and TLM on the client machine will solve this issue.
To configure the machines properly for getting valid hostname resolution, one has to add the hostName and IP in the file" /etc/hosts" (Linux) or "C:\Windows\System32\drivers\etc\hosts" (Windows 10) on both client and server machines.
See https://tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap9sec95.html