19 Apr '13, 11am

sysstat - sar Invalid system activity file: /var/log/sysstat/sa19 via @ShaolinTiger

sysstat - sar Invalid system activity file: /var/log/sysstat/sa19 via @ShaolinTiger

After a recent upgrade (not sure which) the sar command stopped working, with the error output: Invalid system activity file: /var/log/sysstat/sa19 The saXX can be any number, and relates to the log file – which for some reason is corrupt/missing/unreadable. In my case it seems to exist, but doesn’t function. I’ve found the best remedy to this to be purging sysstat from the system and reinstalling it, fairly trivial to script for multiple machines and seems to have fixed it up just fine. Here’s the command to run to fix it: sudo aptitude update; \ sudo aptitude purge sysstat -y; \ sudo aptitude install sysstat -y; \ sudo sed -i "s/ENABLED=\"false\"/ENABLED=\"true\"/" /etc/default/sysstat; \ sudo /etc/init.d/sysstat start \ / The lines from top to bottom update the repo list, remove sysstat and purge it’s settings, install sysstat, set the sysstat config file to true so it ...

Full article: http://www.shaolintiger.com/2013/04/19/sysstat-sar-invali...

Tweets

Wonder Weasel Coffee. No shit. True facts. Need...

brewedboy.wordpress.com 19 Apr '13, 4pm

Email or Username Password Remember Me Register | Lost your password?

Saaa 3.2.8!

sass-lang.com 23 Apr '13, 9am

It is now possible to define a custom importer that can be used to find imports using different import semantics than the ...