1. Home
  2. Licensing
  3. Licensing Issues: How to Resolve them

Licensing Issues: How to Resolve them

License Server May Already be Running

(For Flexnet Floating Licenses)
The error message – ‘License Server May Already Be Running!!’ indicates that the existing license server processes (VSN.EXE and lmgrd.exe) are still running using the old license file, or that the TCP sockets they require have not yet been closed (they may be in the TIME_WAIT state). This state usually lasts for a few minutes before the sockets are terminated. Make sure these are not active before trying to launch again.

Flexnet error -96,491 reports that the lmtools application is unable to contact the license server on port 6983/6984 on host DESKTOP-T360CBI. Create an empty text file on your system to act as a destination for the license server debug log. Enter the path to this file in the LMTOOL ‘Config Services’ dialog and try to start the server again.

Please send the content of your vsn.lic file and the debug log file content if this problem persists.

No license for product (-1)

To activate your license, use the asreml.license.activate() command.
You can find full instructions in the ASReml-R Installation Guide.

No such feature exists. Feature: ASReml

(For Flexnet Licenses)
1. This could indicate the FLEXnet utilities daemons have not been upgraded to the version that ASReml uses. Please update your lmgrd and restart your license server.

2. This error will also occur if you don’t have a license for the ASReml product in your license server file. Please send us:

  • the contents of your license server file (vsni.lic)
  • the name of the ASReml R package file that you installed.

Installing License Server on a Virtual Machine

You can use VSNi software within a virtual environment only if the VSNi License Server is installed on a PHYSICAL (i.e. NOT virtual) machine. The virtual machines will need to communicate with the physical server to obtain a licence.

What if we don’t have any physical servers?
If you have a virtual server that is supported by Flexnet we will allow you to lock the License Server to this via the server’s host id. The two Flexnet supported servers are VMWARE and AWS.

Follow the instructions at https://asreml.kb.vsni.co.uk/knowledge-base/vsni-licence-server/ to create a transcript to send to support. This will enable us to see your nominated server’s host id and create license files for it.

Testing your installation
After you have setup the VSNi License Server you can test the installation using a utility application included with the installation.

On Windows this can be found here:  C:\VSNi_LicenseServer_Win_x64\lmutil.exe

On Linux or MacOS it would be ${HOME}/VSN_License_Server_v11.14.0.0/lmutil

Once the license server installation is complete the first tests must be on the license server itself.

Using a command or terminal session execute the following command:

C:\VSNi_LicenseServer_Win_x64\lmutil.exe stat -c \ProgramData\VSNi\asreml.lic -S VSN

This will provide a status report on all VSN features served by the Licence Server nominated in the asreml.lic file.

Here is the report generated by our own license server :

lmutil - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.

Flexible License Manager status on Thu 5/10/2018 09:10

[Detecting lmgrd processes...]

License server status: 7312@vsn_license_server.vsn.local

    License file(s) on vsn_license_server.vsn.local: c:\VSN License Services\v11.14\vsn.lic:licenses\VSN\vsn.lic:

vsn_license_server.vsn.local: license server UP v11.14.0

Vendor daemon status (on VSNDC3):

       VSN: UP v11.14.0

Feature usage info:

Users of ASReml:  (Total of 8 licenses issued;  Total of 1 license in use)

  "ASReml" v1809, vendor: VSN, expiry: 30-sep-2018

  floating license

    Jim xxx-pc xxx-pc (v1804) (VSNXXX/7312 15309), start Wed 5/9 9:49  (linger: 0 / 1800)

Users of BreedingView:  (Total of 8 licenses issued;  Total of 0 licenses in use)

Users of CycDesign:  (Total of 8 licenses issued;  Total of 0 licenses in use)

Users of GenStat:  (Total of 8 licenses issued;  Total of 2 licenses in use)

  "GenStat" v1809, vendor: VSN, expiry: 30-sep-2018

  floating license

    duncan xxx xxx (v1407) (VSNXXX/7312 15251), start Thu 5/3 9:31

    Jim xxx xxx (v1801) (VSNXXX/7312 16306), start Thu 5/10 9:09

Users of LicMaker:  (Total of 8 licenses issued;  Total of 1 license in use)

  "LicMaker" v1809, vendor: VSN, expiry: 30-sep-2018

  floating license

    Amanda xxx xxx (v0601) (VSNXXX/7312 7683), start Mon 4/30 13:58

Users of msanova:  (Total of 8 licenses issued;  Total of 0 licenses in use)

Users of ASReml_alpha:  (Total of 8 licenses issued;  Total of 0 licenses in use)

Users of GenStat_beta:  (Total of 8 licenses issued;  Total of 0 licenses in use)

Cannot open shared object file: No such file or directory – Linux

When you run ‘RequestLicense’ the following message appears.

your_filepath/RequestLicense: error while loading shared libraries:
library_name: cannot open shared object file: No such file or directory

If you are installing from a tar archive you will need to manually install all dependent libraries. This can be done on Centos systems using ‘yum provides’ followed by ‘yum install’ for each dependency. For example:

yum provides libpng12
yum install -y libpng12-1.2.50-10.el7.x86_64


Download the rpm package. Install with the command:

yum install asreml-

Request License Error – Mac OS Sierra

When you run ‘RequestLicense’ the following message appears.

your_filepath$ ./RequestLicense 
Error: Shell widget Wint has zero width and/or height

Run the following command:

your_filepath$ export Set DYLD_LIBRARY_PATH=/opt/X11/lib/flat_namespace

Request License Error – All Derivatives of Debian Linux

Note: This is applicable to all derivatives of the Debian Linux distribution including (but not limited to) Linux Mint, Ubuntu, Peppermint.

When you run ‘RequestLicense’ the following message appears.

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Current thread 0x00007f533a2b6740 (most recent call first):

You will need to successfully run the following system configuration commands using the ‘root’ user account. (These instructions assume your target system is based on a 64 Bit Intel CPU).

$ sudo apt-get install --no-install-recommends -y libxft2 libjpeg62 libxt6 libxmu6
$ curl -O http://security.ubuntu.com/ubuntu/pool/main/libx/libxp/libxp6_1.0.2-2_amd64.deb
$ sudo dpkg -i /libxp6_1.0.2-2_amd64.deb

Download and install the latest ASReml 4 release with the command sequence:

$ mkdir ~/asreml
$ cd ~/asreml
$ curl -O http://www.vsni.co.uk/downloads/software/asreml/release4/
$ tar xf asreml-
$ sudo ln ~/asreml/bin/asreml.sh /usr/bin/asreml

Now you can launch ASReml to begin the license registration process.

$ asreml


Updated on March 7, 2019

Was this article helpful?

Related Articles