Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

Licensing Error Through VPN

    • owenviva
      Subscriber
      Hello,nnWe have encountered a problem regarding Ansys Electronics Desktop licenses. Both server and client are using VPN connections. Server has license server 2020R1 and client is using version 2018. nWith the hosts file modified, client is able to ping the server and telnet 1055 and 2325 ports that license server utilizes. However, it could not retrieve the license from server when there is still license available.nI have read several threads on the forum and I have checked that the exact server name is defined in client end. Also, regarding the concerns over VPN. Both client and server will return the same IP address ( server has to specify to ping with -4 options). Again, it is really weird since client has no problem ping the server and telnet both ports.nAlso, client could not find %TEMP%/.ansys folder therefore there is no .out file for diagnostics.nAny help is greatly appreciated and thank you in advance!nThanks,nYunlinn
    • ANSYS_MMadore
      Ansys Employee
      Please ensure that you can also communicate with the ansyslmd port. You may need to set this to a static port so you can open the firewalls and VPN for that port. To set it to a static port, please modify your license file's VENDOR line by adding PORT= and then restarting the license manager.nFor example, to set to port 1056:nVENDOR ansyslmd PORT=1056nnThank you,nMattn
    • owenviva
      Subscriber

      @owenviva Please ensure that you can also communicate with the ansyslmd port. You may need to set this to a static port so you can open the firewalls and VPN for that port. To set it to a static port, please modify your license file's VENDOR line by adding PORT= and then restarting the license manager.For example, to set to port 1056:VENDOR ansyslmd PORT=1056Thank you,Matt/forum/discussion/comment/97119#Comment_97119

      Hello Matt,nThank you for your kind reply. I followed your advice and add a static port to ansyslmd. Now the client is able to telnet all 3 ports. However, client is still getting license error. I copied a very interesting piece of log file below:n2020/11/12 11:16:48 CLIENT_ACCEPT 1/1/4/4 66736:19.51.63.53 n2020/11/12 11:16:58 HANDSHAKE_ERROR 1/1/4/4 66736:19.51.63.53 nttSystem error: 0'.nLooks like the client is able to find the server. But for whatever reason, there is a handshake error preventing the client from obtaining the license. It Would you please shed some light on how to solve this issue?nThanks and stay safe, Yunli
    • ANSYS_MMadore
      Ansys Employee
      Can you run this command and share the output?nC:\Program Files\ANSYSEM\Shared Files\Licensing\winx64\lmutil lmstat -a -c 1055@nNote: Replace with actual server information (hostname, fqdn, or IP address)n
    • owenviva
      Subscriber
      Hello Matt,nPlease find the output below:nlmutil - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.nFlexible License Manager status on Thu 11/12/2020 14:43nn[Detecting lmgrd processes...]nLicense server status: 1055@WGC104HBYTMV2n  License file(s) on WGC104HBYTMV2: E:\ANSYS_License_Manager\Shared Files\Licensing\license_files\ansyslmd.lic:nnWGC104HBYTMV2: license server UP (MASTER) v11.16.4nnVendor daemon status (on WGC104HBYTMV2):nn ansyslmd: UP v11.16.4nFeature usage info:nnUsers of ansoft_distrib_engine: (Total of 2 licenses issued; Total of 0 licenses in use)n.n.n.nI am not posting all licenses to bore you. But all of them have 0 licenses in use.nnnPlease let me know if you need any more information from me to solve the issue.nThanks,nYunlinn
    • owenviva
      Subscriber
      Hello Matt,nPlease find the output below:nlmutil - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.nFlexible License Manager status on Thu 11/12/2020 14:43nn[Detecting lmgrd processes...]nLicense server status: 1055@WGC104HBYTMV2n  License file(s) on WGC104HBYTMV2: E:\ANSYS_License_Manager\Shared Files\Licensing\license_files\ansyslmd.lic:nnWGC104HBYTMV2: license server UP (MASTER) v11.16.4nnVendor daemon status (on WGC104HBYTMV2):nn ansyslmd: UP v11.16.4nFeature usage info:nnUsers of ansoft_distrib_engine: (Total of 2 licenses issued; Total of 0 licenses in use)nnUsers of optimetrics: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of electronics_desktop: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_ac: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_ax: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_ckt: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_cn: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_ed: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_es: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_gui: (Total of 5 licenses issued; Total of 0 licenses in use)nnUsers of m2dfs_ms: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_par: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_post: (Total of 2 licenses issued; Total of 0 licenses in use)nnUsers of m2dfs_qs_solve: (Total of 5 licenses issued; Total of 0 licenses in use)nnUsers of m2dfs_solve: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_th: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_tran: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m3dfs_gui: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m3dfs_qs_solve: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m3dfs_solve: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of maxwell_desktop: (Total of 5 licenses issued; Total of 0 licenses in use)nnUsers of maxwlspc: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of pemag: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of pexprt: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_bcm: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_ecm: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_gui: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_im: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_sym: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of schem_gui: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_control: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_CProgrInterface: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_gui: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_LibSMPS: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_modelica: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_sim_entry: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_vhdlams: (Total of 1 license issued; Total of 0 licenses in use)nnPlease let me know if you need any more information from me to solve the issue.nThanks,nYunlinn
    • owenviva
      Subscriber
      Hello Matt,nPlease find the output below:nlmutil - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.nFlexible License Manager status on Thu 11/12/2020 14:43nn[Detecting lmgrd processes...]nLicense server status: 1055@WGC104HBYTMV2n  License file(s) on WGC104HBYTMV2: E:\ANSYS_License_Manager\Shared Files\Licensing\license_files\ansyslmd.lic:nnWGC104HBYTMV2: license server UP (MASTER) v11.16.4nnVendor daemon status (on WGC104HBYTMV2):nn ansyslmd: UP v11.16.4nFeature usage info:nnUsers of ansoft_distrib_engine: (Total of 2 licenses issued; Total of 0 licenses in use)nnUsers of optimetrics: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of electronics_desktop: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_ac: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_ax: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_ckt: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_cn: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_ed: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_es: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_gui: (Total of 5 licenses issued; Total of 0 licenses in use)nnUsers of m2dfs_ms: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_par: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_post: (Total of 2 licenses issued; Total of 0 licenses in use)nnUsers of m2dfs_qs_solve: (Total of 5 licenses issued; Total of 0 licenses in use)nnUsers of m2dfs_solve: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_th: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_tran: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m3dfs_gui: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m3dfs_qs_solve: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m3dfs_solve: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of maxwell_desktop: (Total of 5 licenses issued; Total of 0 licenses in use)nnUsers of maxwlspc: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of pemag: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of pexprt: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_bcm: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_ecm: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_gui: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_im: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_sym: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of schem_gui: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_control: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_CProgrInterface: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_gui: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_LibSMPS: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_modelica: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_sim_entry: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_vhdlams: (Total of 1 license issued; Total of 0 licenses in use)nnPlease let me know if you need any more information from me to solve the issue.nThanks,nYunlinn
    • owenviva
      Subscriber
      Hello Matt,nPlease find the output below:nlmutil - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.nFlexible License Manager status on Thu 11/12/2020 14:43nn[Detecting lmgrd processes...]nLicense server status: 1055@WGC104HBYTMV2n  License file(s) on WGC104HBYTMV2: E:\ANSYS_License_Manager\Shared Files\Licensing\license_files\ansyslmd.lic:nnWGC104HBYTMV2: license server UP (MASTER) v11.16.4nnVendor daemon status (on WGC104HBYTMV2):nn ansyslmd: UP v11.16.4nFeature usage info:nnUsers of ansoft_distrib_engine: (Total of 2 licenses issued; Total of 0 licenses in use)nnUsers of optimetrics: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of electronics_desktop: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_ac: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_ax: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_ckt: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_cn: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_ed: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_es: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_gui: (Total of 5 licenses issued; Total of 0 licenses in use)nnUsers of m2dfs_ms: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_par: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_post: (Total of 2 licenses issued; Total of 0 licenses in use)nnUsers of m2dfs_qs_solve: (Total of 5 licenses issued; Total of 0 licenses in use)nnUsers of m2dfs_solve: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_th: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m2dfs_tran: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m3dfs_gui: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m3dfs_qs_solve: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of m3dfs_solve: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of maxwell_desktop: (Total of 5 licenses issued; Total of 0 licenses in use)nnUsers of maxwlspc: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of pemag: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of pexprt: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_bcm: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_ecm: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_gui: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_im: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of rmxprt_sym: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of schem_gui: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_control: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_CProgrInterface: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_gui: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_LibSMPS: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_modelica: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_sim_entry: (Total of 1 license issued; Total of 0 licenses in use)nnUsers of simplorer_vhdlams: (Total of 1 license issued; Total of 0 licenses in use)nnThank you for looking into this issue!n
    • ANSYS_MMadore
      Ansys Employee
      What are the errors the end users are seeing? Can you try setting this environment variable on the client machine? nFLEXLM_TIMEOUT=60000000 (under system environment variables)nnThese errors are irrelevant as the Electronics products don't access the ansysli_server.n2020/11/12 11:16:48 CLIENT_ACCEPT 1/1/4/4 66736:19.51.63.53n2020/11/12 11:16:58 HANDSHAKE_ERROR 1/1/4/4 66736:19.51.63.53nSystem error: 0 .nnThanks,nMattn
    • owenviva
      Subscriber
      Hello Matt,nThe user sees error massage:Failed to check out license 'xxx'. Cannot connect to license server (FLEXlm Error-15). Specifying FLEXLM_TIMEOUT=60000000 in system variable does not help. I am letting client to upgrade to 2020 and see if it could help.nThank you for looking into it,nYunlinn
Viewing 9 reply threads
  • The topic ‘Licensing Error Through VPN’ is closed to new replies.