• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

LogRotate / plest statistics not rotating logs as it should

J

jclawson

Guest
I have everything setup to have a maximum of 5 log files.

After upgrading Plesk to the latest version the log rotation functions incorrectly.

It now only rotates 2 log files:

access_log
access_log.processed

It never creates access_log.processed.1 access_log.processed.2 etc...

when i run /usr/local/psa/admin/sbin/statistics by hand (as root) it prints out a bunch of stuff and then at the end prints out:

error:psa-horde:6 unkown user 'apache'
statistics: Unable to execute logrotate.
statistics: Unable to execute logrotate

What is going on?
 
Back
Top