#problem:
>> in syslogfile /var/log/syslog
logrotate[111859]: error: error running shared postrotate script for '/var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/error.log '

>> you also see the error running the command:
service logrotate status

#how to test:
mysqladmin --defaults-file=/etc/mysql/debian.cnf flush-log


#solution:
check your user + password settings in file: /etc/mysql/debian.cnf

https://gist.github.com/jaircuevajunior/5b2a210563392570c2aae8ed29be432b

computer2know :: thank you for your visit :: have a nice day :: © 2024