Skip to main content

[UPS-269] Logrotate error

Comments

10 comments

  • quanin
    Getting the same issue. Only twice so far.
    0
  • Saxtus
    Libcare is related to CloudLinux's Kernelcare. They are aware of the issue and they have scheduled a fix for Monday. They told me to stay tuned to their
    0
  • cPSean
    Hello,
    I am getting the following error each night: /etc/cron.daily/logrotate: error: libcare:3 bad rotation count '5 # keep 5 last archives' error: found error in /var/log/libcare/*.log, skipping Any suggestions?

    Getting the same issue. Only twice so far.

    I can confirm that this is related to an issue with KernelCare, we are currently tracking this issue under case ID UPS-269 . There is an issue with a comment in the log rotate file at /etc/logrotate.d/libcare: # keep 5 last archives
    Removing the invalid comment portion ( the # and after) will resolve this issue if you do not want to wait until CloudLinux releases a fix:
    0
  • SactoBob
    Same, started happening after latest update. All my cPanels did this last night during their nightly cron run.
    0
  • absolutenetwork
    I can confirm that this is happening to me since 2 nights ago after the update.
    0
  • JeffDodge
    Me too! Thanks for the update.
    0
  • Peoplespaces
    Thanks for this. Appreciate it.
    0
  • Yogesh T
    Hello, I can confirm that this is related to an issue with KernelCare, we are currently tracking this issue under case ID UPS-269 . There is an issue with a comment in the log rotate file at /etc/logrotate.d/libcare: # keep 5 last archives
    Removing the invalid comment portion ( the # and after) will resolve this issue if you do not want to wait until CloudLinux releases a fix:

    In my case, there is no comment before rotate 5 in file /etc/logrotate.d/libcare, but still the issue persists. Is there any solution?
    0
  • riyadhtayf
    Same problem. Running 2 Cpanel server with centos and cloudlinux. Getting this error from both server. BTW, I removed the # and the next words. Now it's working fine and waiting for the solution.
    0
  • rscalover
    Hello, Yeah i'm getting emails from cron with this /etc/cron.daily/logrotate: error: libcare:3 bad rotation count '5 # keep 5 last archives' error: found error in /var/log/libcare/*.log, skipping
    0

Please sign in to leave a comment.