[Solved]Mariadb couldn't start. [Error]: Can't init tc log.
Posted: 2017-09-06 01:25
After upgrading from Jessie to Stretch, I couldn't start my mariadb.service. The error message is '[ERROR]: Can't init tc log'.
After some digging, I find the answer.
I think the problem has been caused due to my /var partition. I had let the partition with /var on get full. I cleaned some space but until i deleted /var/lib/mysql/tc.log, mysql wouldn't start.
Note: If you use 'sudo apt-get upgrade', it will prompt that "mariadb-server-10.1 left unconfigured".
After some digging, I find the answer.
I think the problem has been caused due to my /var partition. I had let the partition with /var on get full. I cleaned some space but until i deleted /var/lib/mysql/tc.log, mysql wouldn't start.
Note: If you use 'sudo apt-get upgrade', it will prompt that "mariadb-server-10.1 left unconfigured".