我正在尝试在Fedora28上安装mysql/mariadb,但安装之后它并没有启动服务器。
当我键入systemctl start mariadb.service时,收到以下消息:
mariadb.service的作业失败,因为控制进程退出,错误代码为。有关详细信息,请参阅“systemctl status mariadb.service”和“journalctl-xe”。
请查看以下错误消息:
* 2018-09-03 8:01:20 0 [Note] Recovering after a crash using tc.log
set 03 08:01:20 localhost.localdomain
mysqld[4944]: 2018-09-03 8:01:20 0 [ERROR] Recovery failed! You must enable all engines that were enabled at t>
set 03 08:01:20 localhost.localdomain
mysqld[4944]: 2018-09-03 8:01:20 0 [ERROR] Crash recovery failed. Either correct the problem (if it's, for exa>
set 03 08:01:20 localhost.localdomain
mysqld[4944]: 2018-09-03 8:01:20 0 [ERROR] Can't init tc log
set 03 08:01:20 localhost.localdomain
mysqld[4944]: 2018-09-03 8:01:20 0 [ERROR] Aborting*
有灯光来掩盖这个黑暗的问题吗?
1条答案
按热度按时间q3aa05251#
可能是零字节出现在
tc.log
. 删除或重新启动进程应该可以工作。裁判:
https://fransdejonge.com/2018/02/mariadb-fix-cant-init-tc-log-error/
https://bbs.archlinux.org/viewtopic.php?id=206379