readthefuckingmanual.net

[SOLVED] Cannot open /var/log/sa/sa02: No such file or directory

Error added: 2007-03-02T13:30:34Z

1 people waiting for the answer...

3 answers found.

Answer 1948 (100.0% helpful)

solution:
1. vim /etc/cron.d/sysstat

2. add the following lines...
# run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib64/sa/sa1 1 1
# generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib64/sa/sa2 -A

Have fun ;-)
Permalink

Answer 2186 (100.0% helpful)

Check whether crond service is running ...
Permalink

Answer 554 (66.666664% helpful)

probably there are same lines commented 
in /etc/cron.d/sysstat ,try to uncomment some ,save the file and wait at least 10 minutes
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: