• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Anacron job 'cron.daily' fails every week

Manfred Beck

Basic Pleskian
The message is:

/etc/cron.daily/logrotate:
logrotate_script: line 1: systemctl: command not found

I am running CentOS 6.10 with Plesk Version 18.0.31 Update #1, last updated on Nov 11

Unfortunately the command systemctl does not exist in CentOS 6.10. Is there a workaround to fix the log rotation?
 
What is the content of your /etc/cron.daily/logrotate file?
 
Try to remove this file temporarily and check how it goes on. Actually, it is not Plesk related file.
 
Hello Manfred Beck,

Thank you for the provided information.

I was able to reproduce the same behavior with 'systemctl' in '/etc/logrotate.d/ossec-hids' by installing the Imunify360 extension via Plesk.
If you have the same configuration (installed Imunify360) please contact the Cloudlinux Support Team (vendor of the extension).
From our side, I have created an issue with id EXTCERT-3240.
 
Hello Manfred Beck,

Thank you for the provided information.

I was able to reproduce the same behavior with 'systemctl' in '/etc/logrotate.d/ossec-hids' by installing the Imunify360 extension via Plesk.
If you have the same configuration (installed Imunify360) please contact the Cloudlinux Support Team (vendor of the extension).
From our side, I have created an issue with id EXTCERT-3240.
I uninstalled Immunify360 but cannot get rid of some parts of the extension
 
Important note

Please note that CentOS 6 reached its End-of-Life yesterday (November 30th, 2020) - About/Product - CentOS Wiki

We have removed CentOS 6 from the list of supported OSes by Plesk: Plesk Lifecycle Policy

I would like to recommend you to migrate to a new OS which is supported by Plesk. The list of the OSes can be found at Plesk Lifecycle Policy

Thank you!
I will probably during X-Mas, because I have to migrate Plesk and will get crucified if the domains are not avalable during business hours.
 
Back
Top