Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by RIkaweb, Sep 11, 2017.

  1. RIkaweb

    RIkaweb Registered

    Joined:
    Sep 11, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,080
    Likes Received:
    1,364
    Trophy Points:
    363
    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.
     
  3. RIkaweb

    RIkaweb Registered

    Joined:
    Sep 11, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    cPanel Access Level:
    Root Administrator
    Thanks for your help
    both problem are fixed.
    for seconf one I just create folder name sa in /var/log
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,080
    Likes Received:
    1,364
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

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

Share This Page