Forum Discussion

CBlow's avatar
CBlow
Icon for Occasional Contributor rankOccasional Contributor
6 years ago

Unable to launch license manager as a service

My customer is able to start the license server interactively, but this requires a user to stay logged onto the server for the licenses to be available. He wants to launch as a service, but it errors as shown below.

Any suggestions?

--------

Status

--------

Flexible License Manager status on Wed 10/9/2019 13:35

[Detecting lmgrd processes...]

License server status: 28001@****-******

License file(s) on ****-******: C:\Intel\License\License.dat:

lmgrd is not running: 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.

Server name: xx.xx.xxx.xx

License path: 28001@****-******;

FlexNet Licensing error:-15,10. System Error: 10061 "WinSock: Connection refused"

5 Replies

  • AR_A_Intel's avatar
    AR_A_Intel
    Icon for Super Contributor rankSuper Contributor

    Hello

    Welcome to INTEL forum. Could you help check connection to server? But before setting up your license, would you kindly help check whether your machine is supported or not (OS) by referring to ling below:

    https://www.altera.com/support/support-resources/download/os-support.html

    Make sure the port used by license server or vendor daemon is not blocked. The port number is required for Windows systems and should be outside of the 27000-28000 range and be unique on the machine. The following example shows how to specify port numbers in a floating license file. example, specify ports 1800, 1801, and 1802.

    SERVER myServer 0123456789ab 1800

    VENDOR alterad ./alterad port=1801

    VENDOR mgcld ./mgcld port=1802

    My suggestion would be:

    1) After VPN connection is established, setup license path in Quartus II>>tools>>license setup.

    2) Verify license server is running by using “lmutil lmstat –a –c <port>@<server> in BOTH server and client machine.

    3) Ping license server via VPN or telnet <host>< port> to check the TCP connection is established

    Please stop and restart the server. You need to allow the firewall access to the port number from both server and client machine.

    You can also refer to link below for more detailed instructions for Setting up a floating network license server (page 37 of 59):

    https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/manual/quartus_install.pdf

    You can also refer this following YouTube for license setup. https://www.youtube.com/watch?v=Ob9ei5lMgG

    You can also refer to this following YouTube on Setting up and debugging Quartus floating licenses.

    https://www.youtube.com/watch?v=llLaWatUbe8

    Let me know if this information is helpful.

  • CBlow's avatar
    CBlow
    Icon for Occasional Contributor rankOccasional Contributor

    Hello,

    Here are the results from the server, he is unable to get them from the client since lmtools is not installed.

    Please note the license is working as expected when launched from the command line, the problem is when running as a service.

    C:\Intel>lmutil.exe lmstat -a -c 28001@xxxx-xxxx16

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

    Flexible License Manager status on Wed 10/16/2019 08:54

    [Detecting lmgrd processes...]

    License server status: 28001@xxxx-xxxx16

    License file(s) on xxxx-xxxx16: c:\intel\license\license.dat:

    xxxx-xxxx16: license server UP (MASTER) v11.13.0

    Vendor daemon status (on xxxx-xxxx16):

    alterad: UP v11.16.2

    Feature usage info:

    Users of ip_base: (Total of 1 license issued; Total of 0 licenses in use)

    Users of maxplus2: (Total of 1 license issued; Total of 0 licenses in use)

    Users of maxplus2verilog: (Total of 1 license issued; Total of 0 licenses in use)

    Users of maxplus2vhdl: (Total of 1 license issued; Total of 0 licenses in use)

    Users of quartus_nonvolatile_encryption: (Total of 1 license issued; Total of 0 licenses in use)

    Users of quartus: (Total of 1 license issued; Total of 0 licenses in use)

    Users of 6AF7_00D8: (Total of 1 license issued; Total of 0 licenses in use)

    Users of 6AF7_0014: (Total of 1 license issued; Total of 0 licenses in use)

    Users of 6AF7_0034: (Total of 1 license issued; Total of 0 licenses in use)

    mgcld: UP v11.13.1

    Feature usage info:

    Users of mgcvipae: (Total of 1 license issued; Total of 0 licenses in use)

    Users of mgcvipaeaxi: (Total of 2 licenses issued; Total of 0 licenses in use)

    Users of mgcvipaeaxi4: (Total of 1 license issued; Total of 0 licenses in use)

  • AR_A_Intel's avatar
    AR_A_Intel
    Icon for Super Contributor rankSuper Contributor

    Hi

    To narrow down this issue. Can you provide your

    1) Debug.log file

    3) Error message screen shot

    5) Machine OS information

    6) Quartus version used

    7) License.dat file

    And for privacy, you can also reply/attach your file in private message.

    • CBlow's avatar
      CBlow
      Icon for Occasional Contributor rankOccasional Contributor

      Hello,

      can you send me a link for a private message?

      thanks,

      Carl