I'm using MySQL Master-Slave replication for backup purposes (for a few days).
Today after changing to
expire_logs_days = 3 on master and slave I got this message (from slave):
/etc/cron.daily/logrotate: /usr/bin/mysqladmin: refresh failed; error: 'Can't generate a unique log-filename mysqld-relay-bin.(1-999)' error: error running shared postrotate script for '/var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log ' run-parts: /etc/cron.daily/logrotate exited with return code 1
I tried to google what that message mean ("Can't generate...") but only error message definitions found instead of explanation.
Currently I've about 50 bin-log files on slave (