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

RIkaweb

Registered
Sep 11, 2017
3
0
1
Montreal
cPanel Access Level
Root Administrator
Hi
From today I got error on cron these 2 error notification:

Code:
Cannot open /var/log/sa/sa11: No such file or directory
Code:
/etc/cron.hourly/0anacron:

anacron: Can't chdir to /var/spool/anacron: No such file or directory
how Can I fix this problem?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
anacron: Can't chdir to /var/spool/anacron: No such file or directory
Hello,

You can reinstall this cron job with a command like this:

Code:
yum reinstall cronie-anacron
Keep in mind this is part of your OS and not related to the cPanel software.

Cannot open /var/log/sa/sa11: No such file or directory
This error message suggests the /var/log/sa/sa11 file does not exist on your system. Can you verify if "/var/log/sa/" exists? Did you manually remove any files recently?

Thank you.
 

RIkaweb

Registered
Sep 11, 2017
3
0
1
Montreal
cPanel Access Level
Root Administrator
Hello,

You can reinstall this cron job with a command like this:

Code:
yum reinstall cronie-anacron
Keep in mind this is part of your OS and not related to the cPanel software.



This error message suggests the /var/log/sa/sa11 file does not exist on your system. Can you verify if "/var/log/sa/" exists? Did you manually remove any files recently?

Thank you.
Thanks for your help
both problem are fixed.
for seconf one I just create folder name sa in /var/log
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello,

I'm glad to see the issue is now solved. Thank you for updating us with the outcome.