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!

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:
    3
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,444
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. RIkaweb

    RIkaweb Registered

    Joined:
    Sep 11, 2017
    Messages:
    3
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,444
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I'm glad to see the issue is now solved. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice