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.

logrotation problems

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

  1. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    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
     
  2. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
  3. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
  4. mickalo

    mickalo Well-Known Member

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

    Mickalo
     
Loading...

Share This Page