• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

logrotate fail

EnriqueR

Regular Pleskian
I've checked all my subscriptions and I've noticed that one of them has the access_log.processed 21GB file when I have put in rotation all my subscriptions maximum is 400MB. What is happening with this subscripción? Is there any way to recalculate the subscription logrotate correctly?
 
I think I found the problem. For some reason in /usr/local/psa/etc/logrotate.d/ path not found some subscriptions. Does anyone know what may be the reason? I do not know how often is calling logrotate by default. I'll wait a few days to see if that was the problem.
 
Where the affected subscriptions migrated or did their primary domains change at some point? I believe that log rotations are part of a daily process but I could be wrong.
 
By the way have you tried to run the daily maintenance task via SSH?

/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php
 
The problem was solved when accessing the subscription, disable log rotation and re-activate again.
Now I have found that Plesk stores the logs in two different paths: /var/www/vhost/domain.tld/logs/ and /var/www/vhost/system/domain.tld/logs/
Is that true? This system is wasting space resources by having duplicate content.
 
Back
Top