Skip to main content

logrotate failed to rename

Comments

3 comments

  • cPanelMichael
    Hello, The logrotate application installed on your system should not be used to rotate cPanel log files. Check to see if "/etc/logrotate.d/cpanel" exists, and if so, remove that file and configure log rotation for these logs separately via "WHM >> Home >> Service Configuration >> cPanel Log Rotation Configuration". The size threshold for these log files is configurable via the "Log rotation size threshold" option under the "Stats and Logs" tab in "WHM >> Home >> Server Configuration >> Tweak Settings". Thank you.
    0
  • kernow
    Thanks for answering Michael. Yes /etc/logrotate.d/cpanel did exist, We have removed it now. cPanel Log Rotation Configuration is already configured to rotate the logs so all should be OK now. Thanks.
    0
  • cPanelMichael
    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.