Summary
Log rotation failure with java.io.FileNotFoundException:/Path_To_Report_Log/Report_Log_Name.rl
Symptoms
During log rotation you may notice the below error in the agent log:
2016-02-09 02:01:04,426 ERROR [flexnet.agent] [Thread-3481] Failed to rotate report log for server: mentor_gwan_euhpc07 vendor daemon: mgcld
java.io.FileNotFoundException: /home/lmadmin/flexnetagent/data/mgcld/euhpc-lic07-mgcld-160209020100-3402.rl
at com.flexnet.flexbill.scheduler.task.RotationTask.execute(RotationTask.java:323)
at com.flexnet.flexbill.util.RotationManager.rotateAndPackStandardLog(RotationManager.java:288)
at com.macrovision.flexnet.agent.AgentService.rotateReportLog(AgentService.java:164)
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.macrovision.flexnet.agent.AgentRequestDispatcher.run(AgentRequestDispatcher.java:61)
2016-02-09 02:01:04,427 ERROR [flexnet.agent] [Thread-3481] Sending manager the error:
java.io.FileNotFoundException: /home/lmadmin/flexnetagent/data/mgcld/euhpc-lic07-mgcld-160209020100-3402.rl
This particular instance the system was running lmgrd v11.13.0.2 with agent version 4.1.4.
Resolution
Upgrading to Agent 5.3.1 should resolve this issue. If you still encounter this rotation issue using Agent 5.3.1 please raise a support ticket via the customer community portal for further investigation: https://flexeracommunity.force.com/customer
Please ensure you include the following information:
The date and time you manually click 'Rotate Now'
Agent log set to DEBUG covering the date and time you performed the manual rotation
The Reporting module's log set to DEBUG also covering the rotation period