Python 2.7 如何终止/停止openshift服务器进程以释放服务端口?错误:";“地址已在使用中”;

Python 2.7 如何终止/停止openshift服务器进程以释放服务端口?错误:";“地址已在使用中”;,python-2.7,mod-wsgi,openshift,Python 2.7,Mod Wsgi,Openshift,几天前,我的openshift python-2.7应用程序运行正常,但突然坏了。我不知道确切的原因。这可能是服务器配置的改变,我的应用程序可能没有遵循WSGI部署的正确方式。尽管如此,我还是修复了它,并推动了改变。但由于以下错误,服务无法启动 remote: deploy script running remote: Starting Python 2.7 cartridge (Apache+mod_wsgi) remote: Application directory "/" selec

几天前,我的openshift python-2.7应用程序运行正常,但突然坏了。我不知道确切的原因。这可能是服务器配置的改变,我的应用程序可能没有遵循WSGI部署的正确方式。尽管如此,我还是修复了它,并推动了改变。但由于以下错误,服务无法启动

remote: deploy script running

remote: Starting Python 2.7 cartridge (Apache+mod_wsgi)

remote: Application directory "/" selected as DocumentRoot

remote: Application "wsgi.py" selected as default WSGI entry point

remote: (98)Address already in use: make_sock: could not bind to address 127.11.54.xxx:8080

remote: no listening sockets available, shutting down

remote: Unable to open logs

remote: -------------------------

remote: Git Post-Receive Result: failure

remote: Activation status: failure

remote: Activation failed for the following gears:

remote: 52814cb4500446c785000126 (Error activating gear: CLIENT_ERROR: Failed to execute: 'control start' for /var/lib/openshift/xxxxxcb4500446c7xxxxxxxx/python)

remote: Deployment completed with status: failure

remote: postreceive failed
我试图终止apache进程,但没有这样做的权限。我尝试使用rhc app stop-a myapp-a。但没有任何回报。
现在要做什么来启动流程?它最初是如何进入这种情况的?

这一错误始于3月13日左右。它也影响了我的python 3.3应用程序。其他人和我都发布了相关信息,openshift没有回应。我希望他们能把它修好。同时,我有幸在推之前使用了“rhc应用程序强制停止”命令

我认为你的应用程序是基于一个服务器的,其他用户也共享该服务器。 因此,任何人都可以登录SSH并杀死httpd和mysql。当httpd没有运行时,它开始给出503错误。
这可能是一个仍然存在的安全整体(2014年3月)

谢谢。目前,强制停止确实解决了问题。但最重要的是,了解根本原因以及未来如何避免这种情况,这将是一件好事。Openshift可能正在进行这项工作。让我们等他们说什么吧。我希望他们正在努力。已经一个多星期了,你能把你输入的关于这个问题的bugzilla发布到我们的系统中吗?我还没有提交bugzilla报告。我在这里发布了其他人对这个问题的看法。从一周前开始,我就一直在关注关于这个问题的帖子。openshift没有对stackoverflow上的任何帖子做出回应。我很困惑。openshift是使用堆栈溢出作为其支持系统还是bugzilla?我不想争论,但我真的很想知道在不堵塞你的bugzilla帐户的情况下从openshift哪里获得答案。问题在这里解决了