Cron Daemon – ошибки LibClamAV

Я давно получаю следующие письма:

From: Cron Daemon  Subject: Cron  test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) To: root@autisticstory.net /etc/cron.daily/clamscan_daily: Starting a daily scan of / directory. Amount of data to be scanned is 4.4G. LibClamAV Warning: cli_scanxz: decompress file size exceeds limits - only scanning 27262976 bytes LibClamAV Warning: cli_scanxz: decompress file size exceeds limits - only scanning 27262976 bytes LibClamAV Warning: fmap_readpage: pread fail: asked for 4094 bytes @ offset 2, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4072 bytes @ offset 24, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4094 bytes @ offset 2, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4051 bytes @ offset 45, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4094 bytes @ offset 2, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4073 bytes @ offset 23, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4067 bytes @ offset 29, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4090 bytes @ offset 6, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4091 bytes @ offset 5, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4091 bytes @ offset 5, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4092 bytes @ offset 4, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4094 bytes @ offset 2, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4090 bytes @ offset 6, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4093 bytes @ offset 3, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4094 bytes @ offset 2, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4094 bytes @ offset 2, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4094 bytes @ offset 2, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4092 bytes @ offset 4, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4094 bytes @ offset 2, got 0 LibClamAV Warning: fmap_readpage: pread fail: asked for 4094 bytes @ offset 2, got 0 [...] WARNING: Can't open file /sys/module/jbd2/uevent: Permission denied /etc/cron.daily/logrotate: 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 

Можете ли вы сказать мне, как исправить эти ошибки? У меня отключен Apparmor.

Вам необходимо решить проблему с паролем в нижней части этого письма. Сценарий не может получить доступ к вашему серверу MySQL.

 WARNING: Can't open file /sys/module/jbd2/uevent: Permission denied /etc/cron.daily/logrotate: 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 

Конкретно это:

 mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: NO)' 

Попробуйте войти в свою базу данных MySQL, расположенную локально на этом сервере, и убедитесь, что имя пользователя и пароль работают должным образом. Затем убедитесь, что вы можете использовать mysqladmin чтобы сделать то же самое, что пытается сделать этот CRON.