• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Forwarded to devs Logrotate / No rotated logs for '/var/log/apache2/access.log' found

CGI1979

Basic Pleskian
TITLE:
Logrotate / No rotated logs for '/var/log/apache2/access.log' found
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Onyx 17.8.11 Update Nr. 8
PROBLEM DESCRIPTION:
After the upgrade I activated the IP anonymization in server settings during log rotation. Now every day I get mails from all machines:

Cron <root@hopf> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

/etc/cron.daily/logrotate:
No rotated logs for '/var/log/apache2/access.log' found.

When I run the command "test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )" as a root by hand no error comes up.​
STEPS TO REPRODUCE:
Daily Cronjob​
ACTUAL RESULT:
Cron <root@hopf> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

/etc/cron.daily/logrotate:
No rotated logs for '/var/log/apache2/access.log' found.​
EXPECTED RESULT:
Silence​
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Please specify your OS version.
Seems log files are from deb-based OSes but anacron points to the CentOS.
 
ROOT CAUSE:
The anonimyze_ip utility show this output if there're no any rotated logs for apache webserver. Is not a bug.

WORKAROUND:
To hide a message just create rotated log for apache.

touch /var/log/apache2/access.log.1
touch /var/log/apache2/error.log.1
 
Back
Top