执行失败:'控制重启'

时间:2014-10-25 06:25:34

标签: openshift wildfly

我正在尝试重新启动我的应用程序,并且看到以下错误

enter image description here

我甚至在持续部署中尝试过此操作并看到相同的问题

remote: Preparing build for deployment        
remote: Deployment id is 34fb8db9        
remote: Activating deployment        
remote: Starting Postgres cartridge        
remote: Postgres started        
remote: Deploying WildFly        
remote: Starting wildfly cart        
remote: Timed out waiting for http listening port for wildfly process        
remote: -------------------------        
remote: Git Post-Receive Result: failure        
remote: Activation status: failure        
remote: Activation failed for the following gears:        
remote: 53f0dc0ce0b8cd0dc5000011 (Error activating gear: CLIENT_ERROR: Failed to execute: 'control start' for /var/lib/openshift/53f0dc0ce0b8cd0dc5000011/wildfly)        
remote: Deployment completed with status: failure        
remote: postreceive failed        
To ssh://53f0dc0ce0b8cd0dc5000011@api-pennyapp.rhcloud.com/~/git/api.git/
   a02791c..837d20b  master -> master

不知道如何解决这个问题,请帮忙吗?

1 个答案:

答案 0 :(得分:0)

尝试在RHC命令中增加超时。

rhc app restart <yourappname> --timeout <seconds>