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 Anacron job 'cron.daily' on host.name.tld

Discussion in 'General Discussion' started by postcd, May 29, 2018.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    689
    Likes Received:
    14
    Trophy Points:
    68
    /etc/cron.daily/logrotate:

    error: stat of /var/log/spooler failed: No such file or directory

    ____________
    CENTOS 6.9; WHM v70.0.44
    Installed Packages
    logrotate.x86_64
    3.7.8-28.el6
    @base

    cat /etc/logrotate.conf
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,664
    Likes Received:
    69
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    touch /var/log/spooler

    should get rid of the error (it will just rotate an empty file)
    or you can edit the /etc/logrotate.d/syslog
    and remove the /var/log/spooler entry
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    postcd likes this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The previous post should help. I've marked this thread as solved.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...
Similar Threads - Anacron 'cron daily'
  1. WorkinOnIt
    Replies:
    4
    Views:
    856
  2. Nirjonadda
    Replies:
    2
    Views:
    620

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