Answer the question
In order to leave comments, you need to log in
Why do Anacron and Logwatch email errors?
Ubuntu Server on Digital Ocean, installed Logwatch there, as a result, errors began to come to the mail. How to fix?
Anacron job 'cron.daily' on имя хоста
/etc/cron.daily/logrotate:
error: error accessing /var/log/apache2: No such file or directory
error: apache2:1 glob failed for /var/log/apache2/*.log
error: found error in /var/log/apache2/*.log , skipping
error: error accessing /var/log/unicorn: No such file or directory
error: unicorn:1 glob failed for /var/log/unicorn/*.log
error: found error in /var/log/unicorn/*.log , skipping
Answer the question
In order to leave comments, you need to log in
Figured it out myself. I created a backup folder in /etc/logrotate.d and then transferred the configs for apache2 and unicorn into it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question