Openshift,503服务不可用。没有服务器可用于处理此请求

时间:2015-03-28 20:21:15

标签: php openshift openshift-cartridge

我在Openshift上有一个可扩展的PHP 5.4盒式磁带,带有一个青铜帐户。 它是一个wordpress博客,我已经使用它直到2周前。

今天,我回来参观它并说:

  

503服务不可用。没有服务器可以处理此请求。

要检查代理状态,我已访问此链接http://myapp-mydomain.rhcloud.com/haproxy-status,我看到了这一点:

screenshot

似乎已经过了。

使用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&#34; restart&#34;重新启动应用程序。按钮,但它没有用。

不知道如何解决。有什么想法吗?

提前致谢

2 个答案:

答案 0 :(得分:0)

您的免费OpenShift齿轮由未使用的处理/带宽功率处理。如果此时没有服务器可用于为您的应用程序运行齿轮,则会拒绝“503服务不可用:没有服务器可用于处理此请求”。

如果您想确保应用的正常运行时间,请使用付费装备。

答案 1 :(得分:0)

此问题适用于不再提供的旧版(v2)OpenShift Online版本。看起来您的应用无法启动。

使用MiniShift,OpenShift Starter或OpenShift Pro再次尝试可能值得