Tuesday, August 13, 2013

Cannot open /var/log/sa/sa07: No such file or directory

After installing sar I cannot run "sar -q" to get the output. I have waited few hours and still the same error.
Below is the error that I receive :

root@server [~]# sar -q
Cannot open /var/log/sa/sa08: No such file or directory
root@server [~]#

Solution :
Most probably its because of the cron.
First check if service cron is running.

/etc/init.d/crond status

If not restart that

/etc/init.d/crond restart
/etc/init.d/syslog restart

3 comments:

  1. I really like what you guys are usually up too. This type of clever work and coverage!
    Keep up the terrific works guys I've incorporated you guys to my personal blogroll.

    ReplyDelete
  2. Nice post. I learn something totally new and challenging on blogs
    I stumbleupon everyday. It's always exciting to read content from other writers and use a little something from their web sites.

    ReplyDelete
  3. Greetings! Really beneficial guidance on this informative article!

    ReplyDelete