To resolve this, you can try editing the logrotate
Timer Unit file, reloading the systemd
configuration, and then rebooting the Ops Manager VM.
To do that, become the root
user and edit the /etc/systemd/system/logrotate.timer
in the following way:
Replace the line that reads
OnUnitActiveSec=15min
with
OnCalendar=*-*-* *:00/15:00
Then run this to reload the systemd config
systemctl daemon-reload
and then reboot the Ops Manager VM.
Please note:
Log rotation for most log files on the OpsMan VM are configured using the delaycompress setting. The above workaround will re-enable the timers and begin the rotation again, but this setting means that log files are not compressed until the second time they are rotated. If immediate compression of these files is desired, please manually run the following command until logrotate successfully compresses the file:
logrotate -f /etc/logrotate.d/rsyslog