Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Posts
    609

    Default Logs rotate 2 hours too early, error log shows less than 300 errors

    Logs rotated at 10pm on Aug 31, why doesn't it wait until the end of the day?


    The error log shows only has like 30 errors in it is suppose to show the last 300 errors, where are the rest of them?

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Logrotate is run as part of cron.daily and will be executed in alphabetical order. Either you have other jobs running before it that are taking a long time and logrotate is running extremely late, or you have changed the time in /etc/crontab (on Linux) that cron.daily runs.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. How to Rotate Certain Domain Logs
    By caldwell in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-23-2010, 01:40 PM
  2. [Fix]Last 300 Error Log Messages in reverse order
    By yoshika in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-01-2007, 10:18 AM
  3. Can't rotate logs more than once per day
    By nickleman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-25-2006, 03:30 AM
  4. Replies: 3
    Last Post: 06-01-2006, 10:42 AM
  5. Rotate mailman logs
    By neonix in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-30-2005, 12:03 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube