maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #04420
mysqladmin - flush failed: Unknown error
Hi,
We've got some database servers running MariaDB 10.1.22, and are having
issues with logrotate. Specifically, after it runs, it leaves a 0 byte
file and continues writing log data to mysqld.log.1
Manually running logrotate in verbose mode shows this error from mysqladmin
when it tries to run -flush_logs:
/usr/bin/mysqladmin: flush failed; error: 'Unknown error'
error: error running non-shared postrotate script for /var/log/mysqld.log
of '/var/log/mysqld.log '
set default create context
Has anyone seen this before? It doesn't look like a permissions error -
the logs are created fine if you run systemctl restart mariadb.
Thanks,
~Matt
--
*Matthew*
Senior Systems Administrator, IT Services
University of Bristol
Follow ups