System Log Rotation does not work in RSA Authentication Manager 8.5 with compression as bzip2
4 years ago
Originally Published: 2021-04-30
Article Number
000043110
Applies To
RSA Product Set: RSA SecurID
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.5.0
Issue
System Log Rotation does not work in Authentication Manager 8.5 with compression as "bzip2"

The log rotation job runs daily but not rotating logs successfully. The below errors appear in /var/log/messages.

Feb 18 00:00:58 am8.5 systemd[1]: Starting Rotate log files...
Feb 18 00:00:58 am8.5 systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE
Feb 18 00:00:58 am8.5 systemd[1]: Failed to start Rotate log files.
Feb 18 00:00:58 am8.5 systemd[1]: logrotate.service: Unit entered failed state.
Feb 18 00:00:58 am8.5 systemd[1]: logrotate.service: Failed with result 'exit-code'.
Feb 18 00:00:58 am8.5 logrotate[29889]: error: /etc/logrotate.conf:19 compression program /usr/bin/bzip2 is not an executable file

 

Cause
This issue is reported in defect AM-40412.
Resolution
The defect AM-40412 has been resolved in patch 3 for RSA Authentication Manager 8.5, and the log rotation will work if bzip2 compression is selected.