启动MariaDB时出错

时间:2016-06-03 11:11:04

标签: mysql startup mariadb

启动MariaDB时出现以下错误:

# systemctl status -l mariadb.service
● mariadb.service - MariaDB database server
   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/mariadb.service.d
           └─migrated-from-my.cnf-settings.conf
   Active: failed (Result: exit-code) since Fri 2016-06-03 10:44:56 UTC; 10min ago
  Process: 18624 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER (code=exited, status=1/FAILURE)
 Main PID: 18624 (code=exited, status=1/FAILURE)
   Status: "MariaDB server is down"
   CGroup: /system.slice/mariadb.service
           ├─382 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
           └─538 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mariadb
/mariadb.log --pid-file=/var/run/mariadb/mariadb.pid --socket=/var/lib/mysql/mysql.sock

Jun 03 10:44:56 ms5l-hbpw.accessdomain.com mysqld[18624]: InnoDB: Error number 11 means 'Resource temporarily unavailable'.
Jun 03 10:44:56 ms5l-hbpw.accessdomain.com mysqld[18624]: InnoDB: Some operating system error numbers are described at
Jun 03 10:44:56 ms5l-hbpw.accessdomain.com mysqld[18624]: InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
Jun 03 10:44:56 ms5l-hbpw.accessdomain.com mysqld[18624]: 2016-06-03 10:44:56 139898349344896 [ERROR] InnoDB: Can't open './ibdata1'
Jun 03 10:44:56 ms5l-hbpw.accessdomain.com mysqld[18624]: 2016-06-03 10:44:56 139898349344896 [ERROR] InnoDB: Could not open or create the sys
tem tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in
my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros
, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
Jun 03 10:44:56 ms5l-hbpw.accessdomain.com mysqld[18624]: 2016-06-03 10:44:56 139898349344896 [ERROR] Plugin 'InnoDB' init function returned e
rror.
Jun 03 10:44:56 ms5l-hbpw.accessdomain.com mysqld[18624]: 2016-06-03 10:44:56 139898349344896 [ERROR] Plugin 'InnoDB' registration as a STORAG
E ENGINE failed.
Jun 03 10:44:56 ms5l-hbpw.accessdomain.com mysqld[18624]: 2016-06-03 10:44:56 139898349344896 [Note] Plugin 'FEEDBACK' is disabled.
Jun 03 10:44:56 ms5l-hbpw.accessdomain.com mysqld[18624]: 2016-06-03 10:44:56 139898349344896 [ERROR] Unknown/unsupported storage engine: Inno
DB
Jun 03 10:44:56 ms5l-hbpw.accessdomain.com mysqld[18624]: 2016-06-03 10:44:56 139898349344896 [ERROR] Aborting

我也查看了这个期刊 - 它有相同的信息。

我不熟悉'InnoDB'。我所理解的只是我需要删除一些东西,但是有一个警告是不要删除错误的东西。我该怎么办?

0 个答案:

没有答案