【发布时间】:2014-03-31 19:14:57
【问题描述】:
我刚刚更新了我的 Openshift Python 应用程序,因此 MySQL 磁带无法启动:
Starting MySQL 5.5 cartridge
MySQL server failed to start:
140331 15:07:07 mysqld_safe Logging to '/var/lib/openshift/531b9311500446a962000021/mysql//log/mysql_error.log'.
140331 15:07:07 mysqld_safe Starting mysqld daemon with databases from /var/lib/openshift/531b9311500446a962000021/mysql/data/
140331 15:07:10 mysqld_safe mysqld from pid file /var/lib/openshift/531b9311500446a962000021/mysql/pid/mysql.pid ended
140331 15:07:07 mysqld_safe Starting mysqld daemon with databases from /var/lib/openshift/531b9311500446a962000021/mysql/data/
140331 15:07:08 [Note] Plugin 'FEDERATED' is disabled.
140331 15:07:08 InnoDB: The InnoDB memory heap is disabled
140331 15:07:08 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140331 15:07:08 InnoDB: Compressed tables use zlib 1.2.3
140331 15:07:08 InnoDB: Using Linux native AIO
140331 15:07:08 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
InnoDB: Warning: io_setup() attempt 1 failed.
InnoDB: Warning: io_setup() attempt 2 failed.
InnoDB: Warning: io_setup() attempt 3 failed.
InnoDB: Warning: io_setup() attempt 4 failed.
InnoDB: Warning: io_setup() attempt 5 failed.
140331 15:07:10 InnoDB: Error: io_setup() failed with EAGAIN after 5 attempts.
InnoDB: You can disable Linux Native AIO by setting innodb_use_native_aio = 0 in my.cnf
140331 15:07:10 InnoDB: Fatal error: cannot initialize AIO sub-system
140331 15:07:10 [ERROR] Plugin 'InnoDB' init function returned error.
140331 15:07:10 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140331 15:07:10 [ERROR] Unknown/unsupported storage engine: InnoDB
140331 15:07:10 [ERROR] Aborting
140331 15:07:10 [Note] /opt/rh/mysql55/root/usr/libexec/mysqld: Shutdown complete
140331 15:07:10 mysqld_safe mysqld from pid file /var/lib/openshift/531b9311500446a962000021/mysql/pid/mysql.pid ended
Failed to execute: 'control restart' for /var/lib/openshift/531b9311500446a962000021/mysql
我有点卡住了。我检查了我的配额,一切都很好,这只是一个用于测试目的的小应用程序。除了删除齿轮并创建一个新齿轮,我还能做什么?
这是 Openshift 端的错误吗?
【问题讨论】:
-
您是否尝试按照错误提示禁用 AIO?
-
我读到它的危害比什么都大。在过去的几个月里,我已经重新启动了 MySQL 墨盒数十次,并且没有出现任何错误..