Hallo Community,
mein RPi sendet mir jeden Tag um 6:25 eine Mail an die Mailadresse, die mein Root für meinen Mailserver ist.
Der Inhalt dieser nervigen Mail ist Folgendes:
Betreff: Cron <root@raspberrypi> test -x /usr/sbin/anacron ( cd / && run-parts --report /etc/cron.daily )
/etc/cron.daily/logrotate:
error: skipping "/var/log/apache2/access.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping "/var/log/apache2/error.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping "/var/log/apache2/other_vhosts_access.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
error: error running shared postrotate script for '/var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/mariadb-slow.log /var/log/mysql/error.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1
Was muss ich tun, damit der Versand aufhört und da keine Errormeldungen mehr drin sind?
Liebe Grüße und Vielen Dank im Vorraus
Horst-Leopold
PS.: Die Zeile "mysqladmin: connect to server at 'localhost' failed" verstehe ich so gar nicht, weil ich mich nicht erinnern kann, das ich mysqladmin habe...
Vielleicht könnt ihr mir da nebenbei noch helfen das zu entfernen.
Ich habe schon "sudo apt-get purge mysqladmin" versucht, aber da stand, dass das Paket nicht installiert sei.