Author Topic: GAD can't use FlexLM license Manager  (Read 4478 times)

Offline cavagnaro

  • Hero Member
  • *****
  • Posts: 3110
  • Karma: -954
GAD can't use FlexLM license Manager
« on: April 29, 2009, 09:35:24 AM »
Hi guys,
I'm installing a new instance of GAD on a new server and when configure the license option as 7260@genesysmain it gives me:

Quote
Login Failed
Could not checkout license key ISDK_FACTORY
Server is not correctly initialized 
Please, contact your administrator 


But if I copy the license file to this new server and configure it as c:\license.dat it works fine.

FlexLM version is 9.50

Any idea why???

Thanks

Offline cavagnaro

  • Hero Member
  • *****
  • Posts: 3110
  • Karma: -954
Re: GAD can't use FlexLM license Manager
« Reply #1 on: April 29, 2009, 10:09:20 AM »
In FlexLM however I see:

Quote
20:06:27 (genesys.d) OUT: "ISDK_FACTORY" ISDK@genesysmain 
20:06:28 (genesys.d) IN: "ISDK_FACTORY" ISDK@genesysmain 

 


tony

  • Guest
Re: GAD can't use FlexLM license Manager
« Reply #2 on: April 29, 2009, 01:52:47 PM »
....aren't FlexLM license files configured with a local (MAC) address for the hardware..?

Offline ecki

  • Sr. Member
  • ****
  • Posts: 329
  • Karma: 8
Re: GAD can't use FlexLM license Manager
« Reply #3 on: April 29, 2009, 03:36:00 PM »
Hi Cav,

That looks like you have somewhere configured path to the license file instead 7260@genesysmain.
Check all component and their options you are using again and do not forget the starting parameters as well.

e.

Offline SisB

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 0
Re: GAD can't use FlexLM license Manager
« Reply #4 on: April 29, 2009, 07:42:32 PM »
Few things:

1. If the license option is set to read from a file in the app options section.
2. What location FlexLm reading license file from.
3. If the license file is deployed on the same host(s) as specified in the first line of the license file (If it is ANY version, it does not matter though).
4. If flexlm has a quorum, and primary is one of the license servers configured.


Thanks
« Last Edit: April 29, 2009, 07:58:18 PM by SisB »

Offline cavagnaro

  • Hero Member
  • *****
  • Posts: 3110
  • Karma: -954
Re: GAD can't use FlexLM license Manager
« Reply #5 on: April 29, 2009, 11:40:02 PM »
....aren't FlexLM license files configured with a local (MAC) address for the hardware..?

Well we use volume id. And yes, shouldn't work on the other server so I think ISDK license is kinda commercial and not technical. Because of that i think it works on any server.

Offline cavagnaro

  • Hero Member
  • *****
  • Posts: 3110
  • Karma: -954
Re: GAD can't use FlexLM license Manager
« Reply #6 on: April 29, 2009, 11:42:06 PM »
Hi Cav,

That looks like you have somewhere configured path to the license file instead 7260@genesysmain.
Check all component and their options you are using again and do not forget the starting parameters as well.

e.


Where? The only option I'm aware of is on the licensing option in the CME application which is where I write down or 7260@genesysmain or c:\license.dat, with local parameter it does work...
In the service there is no license option only -service GDesktop is configured.

Offline catanirex

  • Full Member
  • ***
  • Posts: 185
  • Karma: 7
Re: GAD can't use FlexLM license Manager
« Reply #7 on: April 30, 2009, 12:34:06 AM »
What is GenesysDesktop start-up log file saying? The AIL-log found in the bin directory?

Offline cavagnaro

  • Hero Member
  • *****
  • Posts: 3110
  • Karma: -954
Re: GAD can't use FlexLM license Manager
« Reply #8 on: April 30, 2009, 01:22:23 AM »
hi catarinex,
This is what I get
Quote
28 04 20:06:17:607 [              Inner*] INFO  Ail.Log.LogComponent  Startup file appender created at Ail.20090428_2006.log
28 04 20:06:24:030 [ttp-8080-Processor25] INFO  ertyMessageResources  Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
28 04 20:06:24:045 [ttp-8080-Processor25] INFO       GD.BrandManager  No brand file available
28 04 20:06:24:311 [ttp-8080-Processor25] INFO  ertyMessageResources  Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
28 04 20:06:26:342 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Application
28 04 20:06:26:436 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for AccessGroup
28 04 20:06:26:436 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for AccessGroup
28 04 20:06:26:451 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Host
28 04 20:06:26:451 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Switch
28 04 20:06:26:467 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Switch
28 04 20:06:26:467 [              Inner*] INFO  Ail.Cfgsdk.Component  5 folders loaded
28 04 20:06:26:842 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for AgentLogin
28 04 20:06:26:858 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for AgentLogin
28 04 20:06:26:858 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for DN
28 04 20:06:26:967 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for DN
28 04 20:06:26:983 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Person
28 04 20:06:27:014 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Person
28 04 20:06:27:014 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Place
28 04 20:06:27:014 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Place
28 04 20:06:27:014 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Script
28 04 20:06:27:092 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Script
28 04 20:06:27:092 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Skill
28 04 20:06:27:108 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Skill
28 04 20:06:27:108 [              Inner*] INFO  Ail.Cfgsdk.Component  6 folders loaded
28 04 20:06:27:123 [              Outer*] INFO           Ail.License  Interval is now 1
28 04 20:06:27:123 [              Outer*] INFO           Ail.License  Attempts max is now 10
28 04 20:06:27:123 [              Outer*] INFO           Ail.License  License file is now 7260@genesysmain
28 04 20:06:27:123 [              Outer*] INFO           Ail.License  Trying to checkout license IsdkFactory in 7260@genesysmain
28 04 20:06:27:264 [              Outer*] INFO           Ail.License  Scheduling license checker
28 04 20:06:27:280 [      Init Ail Logic] WARN               GD.Init  AIL is not initialized: Missing License Information


and with the license file copied to that server:

Quote
19 04 02:41:34:500 [              Inner*] INFO  Ail.Log.LogComponent  Startup file appender created at Ail.20090419_0241.log
19 04 02:41:42:515 [          Selector#0] WARN  .mux.SelectorManager  IO failure for connection 'tcp://genesys:2020[Opening]/0
java.net.ConnectException: Connection refused: no further information
   at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
   at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
   at com.genesyslab.platform.commons.connection.impl.mux.SelectorManager$SelectorThread.processConnection(Unknown Source)
   at com.genesyslab.platform.commons.connection.impl.mux.SelectorManager$SelectorThread.processSingleKey(Unknown Source)
   at com.genesyslab.platform.commons.connection.impl.mux.SelectorManager$SelectorThread.processSingleKeySafe(Unknown Source)
   at com.genesyslab.platform.commons.connection.impl.mux.SelectorManager$SelectorThread.processKeys(Unknown Source)
   at com.genesyslab.platform.commons.connection.impl.mux.SelectorManager$SelectorThread.selectorLoop(Unknown Source)
   at com.genesyslab.platform.commons.connection.impl.mux.SelectorManager$SelectorThread.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
19 04 02:41:42:531 [              Outer*] WARN     Ail.Cfgsdk.Driver  While connecting,
com.genesyslab.platform.commons.protocol.ProtocolException: Error opening connection
   at com.genesyslab.platform.commons.protocol.DuplexChannel.waitForOpen(Unknown Source)
   at com.genesyslab.platform.commons.protocol.DuplexChannel.completeOpen(Unknown Source)
   at com.genesyslab.platform.commons.protocol.DuplexChannel.open(Unknown Source)
   at com.genesyslab.platform.commons.protocol.DuplexChannel.open(Unknown Source)
   at com.genesyslab.ail.driver.cfgsdk.CfgsdkDriver.reqConnect(CfgsdkDriver.java:276)
   at com.genesyslab.ail.driver.cfgsdk.CfgsdkDriver.execute(CfgsdkDriver.java:134)
   at com.genesyslab.ail.component.framework.Component.forward(Component.java:46)
   at com.genesyslab.ail.component.framework.QueueComponent$1.run(QueueComponent.java:55)
   at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: no further information
   at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
   at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
   at com.genesyslab.platform.commons.connection.impl.mux.SelectorManager$SelectorThread.processConnection(Unknown Source)
   at com.genesyslab.platform.commons.connection.impl.mux.SelectorManager$SelectorThread.processSingleKey(Unknown Source)
   at com.genesyslab.platform.commons.connection.impl.mux.SelectorManager$SelectorThread.processSingleKeySafe(Unknown Source)
   at com.genesyslab.platform.commons.connection.impl.mux.SelectorManager$SelectorThread.processKeys(Unknown Source)
   at com.genesyslab.platform.commons.connection.impl.mux.SelectorManager$SelectorThread.selectorLoop(Unknown Source)
   at com.genesyslab.platform.commons.connection.impl.mux.SelectorManager$SelectorThread.run(Unknown Source)
   ... 1 more
19 04 02:42:47:765 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Application
19 04 02:42:48:062 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for AccessGroup
19 04 02:42:48:062 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for AccessGroup
19 04 02:42:48:062 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Host
19 04 02:42:48:078 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Switch
19 04 02:42:48:078 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Switch
19 04 02:42:48:078 [              Inner*] INFO  Ail.Cfgsdk.Component  5 folders loaded
19 04 02:42:48:609 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for AgentLogin
19 04 02:42:48:625 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for AgentLogin
19 04 02:42:48:625 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for DN
19 04 02:42:48:921 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for DN
19 04 02:42:48:921 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Person
19 04 02:42:49:109 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Person
19 04 02:42:49:109 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Place
19 04 02:42:49:109 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Place
19 04 02:42:49:296 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Script
19 04 02:42:49:562 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Script
19 04 02:42:49:562 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Skill
19 04 02:42:49:562 [              Inner*] INFO      Ail.Cfgsdk.Cache  Cache fully loaded for Skill
19 04 02:42:49:562 [              Inner*] INFO  Ail.Cfgsdk.Component  6 folders loaded
19 04 02:42:49:593 [              Outer*] INFO           Ail.License  Interval is now 1
19 04 02:42:49:593 [              Outer*] INFO           Ail.License  Attempts max is now 10
19 04 02:42:49:593 [              Outer*] INFO           Ail.License  License file is now C:\FLEXlm95\license.dat
19 04 02:42:49:593 [              Outer*] INFO           Ail.License  Trying to checkout license IsdkFactory in C:\FLEXlm95\license.dat
19 04 02:42:49:921 [              Outer*] INFO           Ail.License  License checked out for IsdkFactory in C:\FLEXlm95\license.dat
19 04 02:42:49:921 [              Outer*] INFO           Ail.License  Scheduling license checker
19 04 02:42:49:921 [              Inner*] INFO  Ail.Log.LogComponent  Console level is now INFO
19 04 02:42:49:921 [              Inner*] INFO  Ail.Log.LogComponent  Min level is console, INFO
19 04 02:42:49:921 [              Inner*] INFO  Ail.Log.LogComponent  File level is now info
19 04 02:42:49:921 [              Inner*] INFO  Ail.Log.LogComponent  Renaming Ail.20090419_0241.log to ../logs/gdesktop.log.20090419_0241.log


Offline catanirex

  • Full Member
  • ***
  • Posts: 185
  • Karma: 7
Re: GAD can't use FlexLM license Manager
« Reply #9 on: April 30, 2009, 03:21:23 AM »
Strange

Are you sure that server genesysmain and port 7260 is correct? I mean that this is wat is defined in the first row ow the license file?

Applications is only using the first row of local license file in order to find the FlexLM service.

Offline cavagnaro

  • Hero Member
  • *****
  • Posts: 3110
  • Karma: -954
Re: GAD can't use FlexLM license Manager
« Reply #10 on: April 30, 2009, 03:29:22 AM »
Yup, absolutly

Quote
SERVER genesysmain DISK_SERIAL_NUM=XXXXXXXXX 7260


Offline SisB

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 0
Re: GAD can't use FlexLM license Manager
« Reply #11 on: April 30, 2009, 03:40:56 AM »
If your second post on this thread (FlexLm logs) are corresponding to first set of logs, it is really weird.

License is getting check out correctly without any error. But license checker is activated before check out is complete.

I am not sure, both Listen and Daemon ports of FlexLm is accessible from the server?

Thanks,

Offline catanirex

  • Full Member
  • ***
  • Posts: 185
  • Karma: 7
Re: GAD can't use FlexLM license Manager
« Reply #12 on: April 30, 2009, 03:59:17 AM »
Which version of GAD?

Offline cavagnaro

  • Hero Member
  • *****
  • Posts: 3110
  • Karma: -954
Re: GAD can't use FlexLM license Manager
« Reply #13 on: April 30, 2009, 04:01:52 AM »
Yes, I have OCS on another server and that one behaves perfect so connectivity is not an issue...I'm using GAD 7.6 and tried 2 different releases and same issue.

Offline cavagnaro

  • Hero Member
  • *****
  • Posts: 3110
  • Karma: -954
Re: GAD can't use FlexLM license Manager
« Reply #14 on: April 30, 2009, 04:03:43 AM »
Err...how to get exact version and patch?