How to stop unwanted logrotate emails with content: DocumentRoot /var/www/vhosts/example.com/httpdocs/eaip does not exist

Created:

2016-11-16 12:52:02 UTC

Modified:

2017-06-23 23:21:00 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to stop unwanted logrotate emails with content: DocumentRoot /var/www/vhosts/example.com/httpdocs/eaip does not exist

Applicable to:

  • Plesk

Question

There are a lot of emails sent to the server every day with the following content:

/etc/cron.daily/logrotate:
AH00112: Warning: DocumentRoot [/var/www/vhosts/example.com/httpdocs/eaip] does not exist
AH00112: Warning: DocumentRoot [/var/www/vhosts/example.com/httpdocs/evfrm] does not exist

How to stop them?

Answer

Use the solution provided in the following article to stop unwanted logrotate emails:

213388669 Restarting Apache shows warning: DocumentRoot does not exist

If it does not help, add the following line to /etc/cron.daily/logrotate file:

/usr/sbin/logrotate /etc/logrotate.conf> /dev/null 2>&1

Also cron service restart is required:

# /etc/init.d/cron restart
Have more questions? Submit a request
Please sign in to leave a comment.