Thermo Fisher Scientific > Electron Microscopy > Electron Microscopes > 3D Visualization, Analysis and EM Software > Customer Portal > Support Center

VISUALIZATION AND DATA SOLUTIONS

CUSTOMER SUPPORT CENTER

Views:

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 below suggestions to solve issues.

 

Suggested Solutions

 

1. If the page http://localhost:8090/vendor doesn’t display asglmd in Up status on the server machine or if the expected licenses aren’t displayed in the lmadmin dashboard

(see section “4.3 Checking the status of your licenses" at https://www.fei-software-center.com/support/flexnet-license-server-management-since-release-2020-3/#A43)

 

  • If these suggestions don't help, please send us 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 doesn’t match the env var ASGLMD_LICENSE_FILE on the client machine

 

Please run the 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 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 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