KB Article #173287
FTD License server cannot be started
Problem
License server cannot be started. Symptoms:
- lmgrd service is not running
- Error in license server log (Linux: ..FTD_INSTALL_FOLDER/FTDirect/nodeExecutive/runtime/ftd_hostname-1/lic/lmgrd.log; Windows: ..FTD_INSTALL_FOLDER\nodeExecutive\runtime\ftd_hostname-1\lic\lmgrd.log)
(tmwdlnse) Lost communications with lmgrd.
Socket disconnected by remote.
Exiting.
(tmwdlnse) EXITING DUE TO SIGNAL 37 Exit reason 5
- Error in operational node dev log (Linux: ..FTD_INSTALL_FOLDER/FTDirect/nodeExecutive/runtime/ftd_hostname-1/logs/ftd_hostname-1.dev.log; Windows: ..FTD_INSTALL_FOLDER\nodeExecutive\runtime\ftd_hostname-1\logs\ftd_hostname-1.dev.log)
(H2HLicensingServiceImpl.__isRepositoryAllowed:86): Cannot check out license: RepositoryBasedExchangePattern
com.axway.drw.core.api.licensing.exception.LicensingException: Licensing exception-42
at com.axway.drw.corecmp.licensing.impl.LicenseRepositoryImpl.__handleFlexlmException(LicenseRepositoryImpl.java:173)
at com.axway.drw.corecmp.licensing.impl.LicenseRepositoryImpl.handleFlexlmException(LicenseRepositoryImpl.java)
at com.axway.drw.corecmp.licensing.impl.LicenseRepositoryImpl.__checkoutLicense(LicenseRepositoryImpl.java:143)
at com.axway.drw.corecmp.licensing.impl.LicenseRepositoryImpl.checkoutLicense(LicenseRepositoryImpl.java)
at com.axway.drw.corecmp.licensing.impl.LicenseRepositoryImpl.__checkout(LicenseRepositoryImpl.java:112)
at com.axway.drw.corecmp.licensing.impl.LicenseRepositoryImpl.checkout(LicenseRepositoryImpl.java)
at com.axway.drw.core.api.licensing.LicenseRepository$$Proxy.checkout(Unknown Source)
at com.axway.cs.h2h.core.licensing.H2HLicensingServiceImpl.__checkout(H2HLicensingServiceImpl.java:102)
at com.axway.cs.h2h.core.licensing.H2HLicensingServiceImpl.checkout(H2HLicensingServiceImpl.java)
at com.axway.cs.h2h.core.licensing.H2HLicensingServiceImpl.__isRepositoryAllowed(H2HLicensingServiceImpl.java:83)
at com.axway.cs.h2h.core.licensing.H2HLicensingServiceImpl.isRepositoryAllowed(H2HLicensingServiceImpl.java)
at com.axway.cs.h2h.core.licensing.H2HLicensingService$$Proxy.isRepositoryAllowed(Unknown Source)
at com.axway.cs.h2h.protocol.control.resources.ConfigResource.getServerInfo(ConfigResource.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:186)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:70)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:279)
at com.sun.jersey.server.impl.uri.rules.ResourceObjectRule.accept(ResourceObjectRule.java:84)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:74)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1347)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1279)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1229)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1219)
at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:180)
at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:145)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
at com.axway.darwin.server.core.rest.impl.rest.JerseyAdapter.service(JerseyAdapter.java:109)
at com.axway.drw.core.http.impl.auth.AuthenticationFilter.serveProtectedAdapter(AuthenticationFilter.java:459)
at com.axway.drw.core.http.impl.auth.AuthenticationFilter.service(AuthenticationFilter.java:108)
at com.axway.drw.core.http.impl.async.AsynchronousRequest.run(AsynchronousRequest.java:55)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.macrovision.flexlm.FlexlmException: Invalid Parameter Passed To Method (-42,7017)
at com.macrovision.flexlm.License.<init>(Unknown Source)
at com.axway.drw.corecmp.licensing.impl.LicenseRepositoryImpl.__checkoutLicense(LicenseRepositoryImpl.java:139)
Resolution
This could be caused if the license server has not properly updated it's licenseServerURL value - which is the FTD server name, in the LIC_SETTING database table. In the LIC_SETTING table we have the following:
licenseControllingNode - should always be the fully-qualified domain name (FQDN) of the primary server
licenseServerURL - URL of the License Server i.e the server FQDN.
In multinode installation, this should always be the name of the primary server as the License server is running on the primary host.
In order for the License server to start properly:
1. Update the value of the licenseServerURL key in the database with the correct FTD license server name.
2. Restart the Executive node:
LINUX:
..FTD_INSTALL_FOLDER/nodeExecutive/shutdownExecutiveOnly.sh
..FTD_INSTALL_FOLDER/nodeExecutive/startExecutiveAndNodes.sh
WINDOWS:
..FTD_INSTALL_FOLDER/nodeExecutive/shutdownExecutiveOnly.bat
..FTD_INSTALL_FOLDER/nodeExecutive/startExecutiveAndNodes.bat