欢迎投稿

今日深度:

服务器断电后 mariadb服务无法启动,断电mariadb

服务器断电后 mariadb服务无法启动,断电mariadb


服务器断电后 mariadb服务无法启动

[root@controller-2 ~]# tail -n 20 /var/log/mariadb/mariadb.log 
2018-09-14 22:42:35 140595507394752 [Note] InnoDB: The InnoDB memory heap is disabled
2018-09-14 22:42:35 140595507394752 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-09-14 22:42:35 140595507394752 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2018-09-14 22:42:35 140595507394752 [Note] InnoDB: Compressed tables use zlib 1.2.7
2018-09-14 22:42:35 140595507394752 [Note] InnoDB: Using Linux native AIO
2018-09-14 22:42:35 140595507394752 [Note] InnoDB: Using SSE crc32 instructions
2018-09-14 22:42:35 140595507394752 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-09-14 22:42:35 140595507394752 [Note] InnoDB: Completed initialization of buffer pool
2018-09-14 22:42:35 140595507394752 [Note] InnoDB: Highest supported file format is Barracuda.
2018-09-14 22:42:35 140595507394752 [Note] InnoDB: 128 rollback segment(s) are active.
2018-09-14 22:42:35 140595507394752 [Note] InnoDB: Waiting for purge to start
2018-09-14 22:42:35 140595507394752 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.34-79.1 started; log sequence number 1064601344
2018-09-14 22:42:35 140594596796160 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-09-14 22:42:35 140595507394752 [Note] Plugin 'FEEDBACK' is disabled.
2018-09-14 22:42:35 140595507394752 [Note] Recovering after a crash using tc.log
2018-09-14 22:42:35 140595507394752 [ERROR] Recovery failed! You must enable all engines that were enabled at the moment of the crash
2018-09-14 22:42:35 140595507394752 [ERROR] Crash recovery failed. Either correct the problem (if it's, for example, out of memory error) and restart, or delete tc log and start mysqld with --tc-heuristic-recover={commit|rollback}
2018-09-14 22:42:35 140595507394752 [ERROR] Can't init tc log
2018-09-14 22:42:35 140595507394752 [ERROR] Aborting

解决方案

[root@controller-2 ~]# rm /var/lib/mysql/tc.log -f
[root@controller-2 ~]# systemctl restart mariadb

www.htsjk.Com true http://www.htsjk.com/mariadb/31096.html NewsArticle 服务器断电后 mariadb服务无法启动,断电mariadb 服务器断电后 mariadb服务无法启动 [root@controller- 2 ~]# tail -n 20 /var/log/mariadb/mariadb.log 2018 - 09 - 14 22 : 42 : 35 140595507394752 [Note] InnoDB: The InnoDB...
相关文章
    暂无相关文章
评论暂时关闭