mysql - 无法重启 Tomcat 盒式磁带

标签 mysql tomcat openshift

不到 2 周前,我在这里发布了一个关于我的 OpenShift 卡带问题的问题,因为我突然无法再重新启动它:Error restarting Openshift MySQL cartridge

它运行良好,我没有对其进行任何更改,但它只是停止了工作。我可以“解决”问题的唯一方法是删除齿轮并创建一个新齿轮,但现在我又遇到了同样的问题:-(

这真是令人沮丧。我认为 OpenShift 是一个可靠的 PaaS,但看起来还有很长的路要走。我正在考虑购买企业计划,但我不会为突然停止工作的东西付费。

顺便说一句,这是错误日志,以防有人这次知道为什么会发生这种情况:

Starting MySQL 5.5 cartridge
MySQL server failed to start:
140316 18:02:14 mysqld_safe Logging to '/var/lib/openshift/53104e375973cad496000022/mysql//log/mysql_error.log'.
140316 18:02:14 mysqld_safe Starting mysqld daemon with databases from /var/lib/openshift/53104e375973cad496000022/mysql/data/
140316 18:02:17 mysqld_safe mysqld from pid file /var/lib/openshift/53104e375973cad496000022/mysql/pid/mysql.pid ended
140316 18:02:14 mysqld_safe Starting mysqld daemon with databases from /var/lib/openshift/53104e375973cad496000022/mysql/data/
140316 18:02:15 [Note] Plugin 'FEDERATED' is disabled.
140316 18:02:15 InnoDB: The InnoDB memory heap is disabled
140316 18:02:15 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140316 18:02:15 InnoDB: Compressed tables use zlib 1.2.3
140316 18:02:15 InnoDB: Using Linux native AIO
140316 18:02:15  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.
140316 18:02:17  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
140316 18:02:17 InnoDB: Fatal error: cannot initialize AIO sub-system
140316 18:02:17 [ERROR] Plugin 'InnoDB' init function returned error.
140316 18:02:17 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140316 18:02:17 [ERROR] Unknown/unsupported storage engine: InnoDB
140316 18:02:17 [ERROR] Aborting

140316 18:02:17 [Note] /opt/rh/mysql55/root/usr/libexec/mysqld: Shutdown complete

140316 18:02:17 mysqld_safe mysqld from pid file /var/lib/openshift/53104e375973cad496000022/mysql/pid/mysql.pid ended
Failed to execute: 'control restart' for /var/lib/openshift/53104e375973cad496000022/mysql

谢谢!

最佳答案

看起来您遇到了与该用户相同的问题:Can't add a MySQL cartridge on OpenShift

这是我们正在努力解决的 mysql 错误。

关于mysql - 无法重启 Tomcat 盒式磁带,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22443742/

相关文章:

mysql - `mysqlcheck` 能否在不损坏数据库的情况下帮助我解决数据库问题?

PHP:rowCount() 现在计数准确吗?

jsp - 在我的机器上找到我的 tomcat

java - 为什么在 web.xml 文件中隐藏 .jsp 扩展名时出现 404 错误?

Node.js 无缘无故以 "Sending SIGTERM to child"停止

python - 将 MySQL 数据库迁移到 Django 时出错。意外的主机名

php - 有没有办法以编程方式关闭类别或产品平面?

java - tomcat不显示图像

openshift - Openshift Online v3 上的 "Route not admitted by a router"

java - OpenShift 服务器上找不到 Maven jar 依赖问题包