atop 2.7 is not backwards compatible with 2.4
Closed this issue · 3 comments
sramakrishnan247 commented
Hey, firstly, thanks for creating atop and maintaining it as well.
I have been using atop=2.4.0-3
while using Ubuntu-20.04 and recently upgraded to Ubuntu-22.04 and using atop=2.7.1-1
now. I observed that with the upgraded atop, I cannot open older atop logs and have been hitting the following error:
ubuntu@ip:~$ atop -r 20240708
raw file /var/log/atop/atop_20240708 has incompatible format
(created by version 2.4 - current version 2.7)
trying to activate /usr/bin/atop-2.4....
activation of /usr/bin/atop-2.4 failed!
Is there a workaround that I can use without depending on the older version?
Zugschlus commented
Your package should have converted the log file on installation. Either use atopconvert or (easier) delete the log, if you don't care about the data collected on July 8.
sramakrishnan247 commented
Will try atopconvert as I need the logs. Thanks
Atoptool commented
Correct, atopconvert
can be used to convert older logs.