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: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.
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:/etc/cron.daily/logrotate:
No rotated logs for '/var/log/apache2/access.log' found.
Silence
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:Confirm bug