14.04 - Cannot open /var/log/sysstat/sa20: No such file or directory - Ask Ubuntu


i have:

mona@pascal:~$ cat /etc/default/sysstat # # default settings /etc/init.d/sysstat, /etc/cron.d/sysstat # , /etc/cron.daily/sysstat files #  # should sadc collect system activity informations? valid values # "true" , "false". please not put other values, # overwritten debconf! enabled="true" 

and then:

mona@pascal:~$ sudo sar -d cannot open /var/log/sysstat/sa20: no such file or directory please check if data collecting enabled in /etc/default/sysstat 

can please suggest fix?

ubuntu 14.04 

open /etc/default/sysstat using favorite file editor , change enabled="false" enabled="true"

vi /etc/default/sysstat ---- # should sadc collect system activity informations? valid values # "true" , "false". please not put other values, # overwritten debconf! enabled="true" ---- 

restart sysstat: sudo service sysstat restart

and here are!


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User