我正在运行使用ubuntu 16.04 LTS的vps。我有几个月没有触摸服务器了,现在我的mysql服务器无法启动。尝试重新启动很多次,但仍然无法启动mysql服务器。它给出了此错误:
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
所以我键入journalctl -xe来查看详细的错误:
Feb 26 23:59:05 vps mysqld[799]: 2019-02-26 23:59:05 140580185729280 [Note] /usr/sbin/mysqld (mysqld 10.1.38-MariaDB-1~xenial) starting as process 799 ...
Feb 26 23:59:05 vps mysqld[799]: 2019-02-26 23:59:05 140580185729280 [Note] InnoDB: Using mutexes to ref count buffer pool pages
Feb 26 23:59:05 vps mysqld[799]: 2019-02-26 23:59:05 140580185729280 [Note] InnoDB: The InnoDB memory heap is disabled
Feb 26 23:59:05 vps mysqld[799]: 2019-02-26 23:59:05 140580185729280 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
Feb 26 23:59:05 vps mysqld[799]: 2019-02-26 23:59:05 140580185729280 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
Feb 26 23:59:05 vps mysqld[799]: 2019-02-26 23:59:05 140580185729280 [Note] InnoDB: Compressed tables use zlib 1.2.8
Feb 26 23:59:05 vps mysqld[799]: 2019-02-26 23:59:05 140580185729280 [Note] InnoDB: Using Linux native AIO
Feb 26 23:59:05 vps mysqld[799]: 2019-02-26 23:59:05 140580185729280 [Note] InnoDB: Using SSE crc32 instructions
Feb 26 23:59:05 vps mysqld[799]: 2019-02-26 23:59:05 140580185729280 [Note] InnoDB: Initializing buffer pool, size = 256.0M
Feb 26 23:59:05 vps mysqld[799]: 2019-02-26 23:59:05 140580185729280 [Note] InnoDB: Completed initialization of buffer pool
Feb 26 23:59:05 vps mysqld[799]: 2019-02-26 23:59:05 140580185729280 [Note] InnoDB: Highest supported file format is Barracuda.
Feb 26 23:59:05 vps mysqld[799]: 2019-02-26 23:59:05 140580185729280 [Note] InnoDB: Starting crash recovery from checkpoint LSN=5909964293392
Feb 26 23:59:05 vps mysqld[799]: 2019-02-26 23:59:05 140580185729280 [Note] InnoDB: Restoring possible half-written data pages from the doublewrite buffer...
Feb 26 23:59:06 vps mysqld[799]: InnoDB: Set innodb_force_recovery to ignore this error.
Feb 26 23:59:06 vps mysqld[799]: 2019-02-26 23:59:06 140580185729280 [ERROR] Plugin 'InnoDB' init function returned error.
Feb 26 23:59:06 vps mysqld[799]: 2019-02-26 23:59:06 140580185729280 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
Feb 26 23:59:06 vps mysqld[799]: 2019-02-26 23:59:06 140580185729280 [Note] Plugin 'FEEDBACK' is disabled.
Feb 26 23:59:06 vps mysqld[799]: 2019-02-26 23:59:06 140580185729280 [ERROR] Unknown/unsupported storage engine: InnoDB
Feb 26 23:59:06 vps mysqld[799]: 2019-02-26 23:59:06 140580185729280 [ERROR] Aborting
Feb 26 23:59:11 vps mysqld[799]: Error in my_thread_global_end(): 1 threads didn't exit
Feb 26 23:59:11 vps systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Feb 26 23:59:11 vps systemd[1]: Failed to start MariaDB 10.1.38 database server.
有人知道如何解决此问题,因为我不太了解这些错误