OCI: sar Command Fails After Leapp Upgrade
in Linux
APPLIES TO:
Oracle Cloud Infrastructure
Linux OS
SYMPTOMS
The sar command fails after upgrading the OS via Leapp utility:
# sar Invalid system activity file: /var/log/sa/sa22 File created by sar/sadc from sysstat version 10.1.5 Current sysstat version cannot read the format of this file (0x2171)
CAUSE
The error is displayed when the sysstat sa binary file is created by an old version of sysstat.
SOLUTION
Reinstall sysstat package:
# yum remove sysstat # yum install sysstat
Tagged:
0