Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: sar Command Fails After Leapp Upgrade

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!