MariaDB Fix “Can’t init tc log” Error
I messed up my automation of backups, meaning that after two years my entire VPS had secretly filled up. This lead to MariaDB being unable to initialize. After taking care of the root cause MariaDB still refused to start.
$ sudo tail -3 /var/log/mysql/error.log 2018-02-20 12:07:45 140649776292416 [Note] Recovering after a crash using tc.log 2018-02-20 12:07:45 140649776292416 [ERROR] Can't init tc log 2018-02-20 12:07:45 140649776292416 [ERROR] Aborting
Stupidly, just removing the zero byte `/var/lib/mysql/tc.log` file took care of the problem.
[…] Gefunden wurde die Lösung hier: https://fransdejonge.com/2018/02/mariadb-fix-cant-init-tc-log-error/ […]
February 8, 2020 @ 10:30Permalink
MariaDB startet nicht mehr / Cant init tc.log