我正在用MySQL5.5开发php-5.4缩放应用程序。因为它是按比例的,所以mysql被放置在不同的设备上,而不是应用实例。从大约03/08/2015开始,我就无法连接到mysql设备,也无法连接我的应用程序。我一直在尝试以下几点:
使用ctl_all重新启动所有应用程序和dep。
$ rhc ssh --gears -a loot ctl_all restart
Unable to connect to gear 556c74555973caffa300022c@556c74555973caffa300022c-honourforever.rhcloud.com
(...)SSH连接到mysql设备。
$ ssh -vvv 556c74555973caffa300022c@556c74555973caffa300022c-honourforever.rhcloud.com
OpenSSH_6.6.1, OpenSSL 1.0.1m 19 Mar 2015
debug2: ssh_connect: needpriv 0
debug1: Connecting to 556c74555973caffa300022c-honourforever.rhcloud.com [54.166.94.12] port 22.
debug1: connect to address 54.166.94.12 port 22: Attempt to connect timed out without establishing a connection
ssh: connect to host 556c74555973caffa300022c-honourforever.rhcloud.com port 22: Bad file number检查齿轮储存量的使用百分比。
$ rhc show-app loot --gear quota
Unable to connect to gear
556c74555973caffa300022c@556c74555973caffa300022c-honourforever.rhcloud.com
Gear Cartridges Used Limit
------------------------ ------------------- ----- -----
556b44544382ec7b32000050 haproxy-1.4 php-5.4 92 MB 1 GB
556c74555973caffa300022c mysql-5.5 error 1 GB因此,我目前没有办法连接到mysql或它正在安装的设备。
发布于 2015-12-16 19:32:38
不幸的是,这不是一个编程问题,不能从用户端修复。要解决此问题,需要与OpenShift支持部门联系。
https://stackoverflow.com/questions/31829762
复制相似问题