gpt4 book ai didi

java - 重新启动 Openshift MySQL 卡带时出错

转载 作者:行者123 更新时间:2023-11-29 13:10:12 24 4
gpt4 key购买 nike

我有一个带有 Tomcat 7MySQL 5.5 的不可扩展 OpenShift 应用程序,并且该应用程序上仅运行一个小型 Java 应用程序。该应用程序几个月来运行良好,但自上周以来它停止工作。当我尝试使用 OpenShift 仪表板重新启动应用程序时,收到以下错误消息:

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

140305 7:01:52 [Note] /opt/rh/mysql55/root/usr/libexec/mysqld: Shutdown complete

140305 07:01:52 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

显然 MySQL 盒式磁带无法以某种方式重新启动,但我没有更改 Java 应用程序或齿轮配置中的任何内容。

有人知道为什么会发生这种情况吗?我不想简单地删除 MySQL 并再次添加它,因为如果我不找出根本原因,这个问题将来可能会再次发生。

提前致谢。

最佳答案

我建议检查您的配额,看看您是否已达到限额。尝试通过 ssh 连接到您的设备并运行以下 quota -s。如果您已达到配额,则可以在本地计算机上使用 rhc tidy 命令来清理设备。

编辑:

经过更多研究后,我想说您受到了此错误的影响 https://bugzilla.redhat.com/show_bug.cgi?id=1061926 。在过去的几天里,我们经历了一些停电,并产生了一些残余影响。请放心,我们正在积极努力彻底解决此问题。

关于java - 重新启动 Openshift MySQL 卡带时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22197427/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com