cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Summary

After updating license server files to latest version, report log rotation fails and ERROR [flexnet.agent] [Thread-24] Sending manager the error: java.lang.RuntimeException: cannot get string for key -60 can be seen in Agent debug log

Symptoms

After updating license server files to latest version, report log rotation fails and ERROR [flexnet.agent] [Thread-24] Sending manager the error: java.lang.RuntimeException: cannot get string for key -60 can be seen in Agent debug log
2015-03-30 12:59:11,835 INFO [flexnet.agent] [Thread-24] Rotating report log for server: INDSALIC02V-indsalic02v - Ansys vendor daemon: ansyslmd dest path: C:\ProgramFiles\FLEXnet\manager\data\reportLogs
2015-03-30 12:59:12,231 INFO [timer.AbstractTask] [Thread-24] com.macrovision.flexnet.platform.licensing.InvalidLicenseException: Cannot rotate report log to C:\Program Files (x86)\FLEXnet\agent\data\ansyslmd\INDSALIC02V-ansyslmd-150330125912-103.rl for Vendor Daemon ansyslmd specified in license C:\Program Files\ANSYS Inc\Shared Files\Licensing\license_files\ansyslmd.lic. LicenseServerManager state: redundant=false portNumber=1055 hostName=INDSALIC02V.HRC.CORP licenseName=C:\ProgramFiles\ANSYS Inc\Shared Files\Licensing\license_files\ansyslmd.lic licenseFileHostname=indsalic02v allPorts=[ 1055 ] allHostnames=[ indsalic02v ]
2015-03-30 12:59:12,231 INFO [timer.AbstractTask] [Thread-24] Initial rotation attempt failed. Assume data directory cannot be moved into. Trying to recover by local directory rotation and full copy to data directory.
2015-03-30 12:59:12,236 WARN [timer.AbstractTask] [Thread-24] Rotation Recovery : Could not rotate the report log using local filesystem
2015-03-30 12:59:12,240 ERROR [flexnet.agent] [Thread-24] Sending manager the error: java.lang.RuntimeException: cannot get string for key -60
2015-03-30 13:00:08,146 INFO [flexnet.agent] [PoolThread-8] Vendor daemon location for vendor:ansyslmd is: C:\Program Files\Ansys Inc\Shared Files\Licensing\winx64
2015-03-30 13:00:08,155 INFO [flexnet.agent] [PoolThread-8] Getting features for vendor:ansyslmd 1055@indsalic02v
2015-03-30 13:00:08,168 INFO [flexnet.agent] [PoolThread-8] Time to discover license pools for vendor : ansyslmd : 13 msecs
2015-03-30 13:05:06,765 INFO [flexnet.agent] [PoolThread-8] Vendor daemon location for vendor:ansyslmd is: C:\Program Files\Ansys Inc\Shared Files\Licensing\winx64
2015-03-30 13:05:06,776 INFO [flexnet.agent] [PoolThread-8] Getting features for vendor:ansyslmd 1055@indsalic02v
2015-03-30 13:05:06,789 INFO [flexnet.agent] [PoolThread-8] Time to discover license pools for vendor : ansyslmd : 13 msecs

Cause

Issue is caused by incompatibility of Agent 4.1.3 or older with new version of license server 11.12.x or higher

Resolution

Please update your Agent to version 4.1.4 or to Agent 5.3 if you're using FlexNet Manager 15.3 patch 5 or higher.


Workaround

A workaround to solution above, if you're unable to upgrade at this time, would be to use command line command to manually rotate the log.

Here is the command:

lmutil lmnewlog -c <Path to license file> <vendor name> <pick destination location>

Once rotated log was moved to destination folder, you can import it using Manager UI.

Additional Information

Please note the 4.1.4 release of the Agent is not supported with version 14.x of FlexNet Manager. The is compatible with FlexNet Manager 15.x or above.
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Jun 06, 2018 02:59 AM
Updated by: