Bug ID 1005029: Unneeded script on BIG-IQ generates error messages when run by cron

Last Modified: Aug 09, 2023

Affected Product(s):
BIG-IQ Platform(all modules)

Known Affected Versions:
8.0.0, 8.0.0.1, 8.1.0, 8.1.0.1, 8.1.0.2

Opened: Mar 24, 2021

Severity: 3-Major

Symptoms

BIG-IQ contains a cron job to periodically execute /usr/share/ts/bin/asm_logrotate. This script is not needed on BIG-IQ and when executed results in the following errors logged to /var/log/messages: Apr 12 09:15:01 bigiq-1 notice logrotate[8585]: ALERT exited abnormally with [1] Apr 12 09:15:01 bigiq-1 )

Impact

There is no impact to functionality beyond unneeded messages being logged.

Conditions

This behavior is always present.

Workaround

The script /usr/share/ts/bin/asm_logrotate does not need to be executed periodically by cron job on a BIG-IQ. To workaround this behavior, that cron job can be disabled. 1. Edit /etc/cron.d/asm_logrotate.cron 2. Comment out (with #) the following line: */5 * * * * root nice -n 19 ionice -c 3 /usr/share/ts/bin/asm_logrotate Note: the line should now look like: #*/5 * * * * root nice -n 19 ionice -c 3 /usr/share/ts/bin/asm_logrotate 3. Save and quit the .cron file

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips