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!

logrotation problems

Discussion in 'General Discussion' started by mickalo, Nov 17, 2006.

  1. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    776
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    Hello,

    this has been driving me nuts, but for the last week, the only way I can get our daily log rotation to work is to run it manually from the command line: /usr/sbin/logrotate -f /etc/logrotate.conf and it works fine.

    The logrotate is in the /etc/cron.daily folder and was working fine for a long time, no problems. All the other log rotation files in the /etc/logrotate.d folder are setup properly and work fine if run manually.

    according to the logrotation.status file in the /var/lib folder, indicates the logrotation has run automatically via the /etc/cron.daily/logrotate cron but none of the logs have actually been rotated or compressed. The logrotate.conf files seems to be ok and was working fine for quite some time.

    Any suggestions or help to track this problem done would be appreciated.

    Mickalo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    920
    Likes Received:
    13
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    769
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    /dev/null
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    776
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    Ok, we'll give this a try and see what happens. Thanks for info :)

    Mickalo
     
    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