0
我相信我拥有了一切正确设置为我的服务器,但我不断收到此错误为什么我的应用程序不在OpenShift上部署?
Starting NodeJS cartridge
Tue Jan 05 2016 10:49:19 GMT-0500 (EST): Starting application 'squadstream' ...
Waiting for application port (8080) become available ...
Application 'squadstream' failed to start (port 8080 not available)
-------------------------
Git Post-Receive Result: failure
Activation status: failure
Activation failed for the following gears:
568be5b67628e1805b0000f2 (Error activating gear: CLIENT_ERROR: Failed to
execute: 'control start' for /var/lib/openshift/568be5b67628e1805b0000f2/nodejs
#<IO:0x0000000082d2a0>
#<IO:0x0000000082d228>
)
Deployment completed with status: failure
postreceive failed
我有我的混帐回购协议设置了所有步骤遵循正确。
https://github.com/ammark47/SquadStreamServer
编辑:我有openshift另一个应用程序,是在8080我不知道是否有差别。
我首先要看的是它的位置说“端口8080不可用”。您可能希望在环境变量'OPENSHIFT_ _PORT'或'中使用端口。你可以使用'rhc'工具(或者普通的linux工具,如果你是ssh的话)来查看这个变量。如果8080是正确的值,则可能需要在再次尝试启动之前仔细检查应用程序是否已正确停止(并释放该端口)。 –
Ezra
您是否知道我如何查看变量OPENSHIFT_ _PORT?我有rhc –
Username
可能是'rhc env-list'?请参阅https://developers.openshift.com/en/managing-common-rhc-commands.html。 – Ezra