【发布时间】:2015-06-02 01:09:28
【问题描述】:
我在 Openshift 上有一个可扩展的 PHP 5.4 墨盒,拥有青铜帐户。 这是一个 wordpress 博客,我使用它直到 2 周前。
今天,我回来参观它,它说:
503 服务不可用。没有可用于处理此请求的服务器。
为了检查代理状态,我访问了这个链接http://myapp-mydomain.rhcloud.com/haproxy-status,我看到了这个:
看来是DOWN了。
使用 rhc tail 检查日志我看到了这一行:
==> app-root/logs/haproxy.log <==
[ALERT] 077/194638 (138628) : proxy 'express' has no server available!
[WARNING] 086/161237 (138628) : Server express/local-gear is DOWN for maintenance.
[WARNING] 086/161239 (33522) : config : log format ignored for proxy 'stats' since it has no log address.
[WARNING] 086/161239 (33522) : config : log format ignored for proxy 'express' since it has no log address.
[WARNING] 086/161239 (33522) : Server express/local-gear is DOWN, reason: Layer7 wrong status, code: 500, info: "HTTP status check returned code <3C>500<3E>", check duration: 65ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 086/161239 (33522) : proxy 'express' has no server available!
[WARNING] 086/161240 (33522) : Server express/local-gear is DOWN for maintenance.
[WARNING] 086/161323 (33522) : Server express/local-gear is UP (leaving maintenance).
[WARNING] 086/161325 (33522) : Server express/local-gear is DOWN, reason: Layer7 wrong status, code: 500, info: "HTTP status check returned code <3C>500<3E>", check duration: 237ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 086/161325 (33522) : proxy 'express' has no server available!
我也尝试使用 openshift 的“重启”按钮重启应用程序,但没有成功。
不知道怎么解决。有什么想法吗?
提前致谢
【问题讨论】:
-
尝试完全停止齿轮然后重新启动。
-
启动了“rhc 应用停止”,但仍然无法正常工作。我认为问题与mysql有关..这里我已经解释过了:stackoverflow.com/questions/29322474/…你能帮帮我吗?
-
有好几次我的应用在 openshift 上无缘无故停止工作。我不得不创建应用程序的副本,看看是我的问题还是 openshift 的问题。我遇到了许多 openshift 错误。尝试创建一个副本,它可能会导致您遇到问题。这可能是内存空间问题吗?
标签: php openshift openshift-cartridge