django 응용 프로그램이 opensshift에서 호스팅되어 있습니다. 지난 며칠 동안 어떤 시점에서 브라우저에서 응답이 완전히 멈췄습니다.Openshift 응용 프로그램이 응답하지 않음
아직 ssh를 사용할 수 있으며 배포 할 수 있으며 openshift.redhat.com 인터페이스는 앱 오류를보고하지 않지만 브라우저를 통해 페이지를 요청하는 것은 응답을하지 않습니다. 브라우저는 계속 "appname-user.rhcloud.com을 기다리는 중"이라고 계속 말합니다.
로그를 통해 통찰력을 얻을 수 있습니다.
rhc tail appname
==> app-root/logs/python.log <==
Unable to open logs
(98)Address already in use: make_sock: could not bind to address 127.8.172.129:8080
no listening sockets available, shutting down
Unable to open logs
(98)Address already in use: make_sock: could not bind to address 127.8.172.129:8080
no listening sockets available, shutting down
Unable to open logs
... (ad infinitum)
배포 후 응답이 중지되었다고 생각하지 않습니다. 작동하지 않는다고 생각합니다. 무슨 일이 일어 났는지는 모르겠다.
어떤 문제가 발생했는지 또는 디버깅/해결 방법에 대한 의견이 있으면 감사하겠습니다. 지방 fantasma의 제안을 바탕으로
편집
나는/힘 스톱을 시도주기를 시작하고이 무엇을 기록했다 :
$ rhc app force-stop -a notebook
$ rhc app start -a notebook
$ rhc tail notebook
==> app-root/logs/python.log <==
(98)Address already in use: make_sock: could not bind to address 127.8.172.129:8080
no listening sockets available, shutting down
Unable to open logs
(98)Address already in use: make_sock: could not bind to address 127.8.172.129:8080
no listening sockets available, shutting down
Unable to open logs
[Sun Nov 16 01:26:13 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:openshift_t:s0:c4,c359
[Sun Nov 16 01:26:13 2014] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 16 01:26:13 2014] [notice] Digest: done
[Sun Nov 16 01:26:13 2014] [notice] Apache/2.2.15 (Unix) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
==> app-root/logs/postgresql.log <==
2014-11-16 06:26:05 GMT LOG: trying another address for the statistics collector
2014-11-16 06:26:05 GMT LOG: could not bind socket for statistics collector: Cannot assign requested address
2014-11-16 06:26:05 GMT LOG: disabling statistics collector for lack of working socket
2014-11-16 06:26:05 GMT WARNING: autovacuum not started because of misconfiguration
2014-11-16 06:26:05 GMT HINT: Enable the "track_counts" option.
2014-11-16 06:26:06 GMT LOG: database system was interrupted; last known up at 2014-11-15 07:33:35 GMT
2014-11-16 06:26:06 GMT LOG: database system was not properly shut down; automatic recovery in progress
2014-11-16 06:26:06 GMT LOG: record with zero length at 0/1D48850
2014-11-16 06:26:06 GMT LOG: redo is not required
2014-11-16 06:26:06 GMT LOG: database system is ready to accept connections
내가 잘못 될 수있다, 그러나 나는 아직도이 느낌이 응용 프로그램은 괜찮습니다, 그것은 뭔가의 DNS 관련 수 있습니다. 난 내 응용 프로그램의 URL (http://notebook-davur.rhcloud.com)의 DNS 추적을 시도하고 추적이 덩어리로 끝나는 :
Sending request to "ns3.p23.dynect.net" (208.78.71.23)
Received authoritative (AA) response:
-> Header: Non-Existent Domain
내 OpenShift 앱은 [Google에서 색인을 생성 한 이후로 도메인을 변경할 수없는 개인 웹 사이트]입니다 (https://personalwebsite-noblehmushtak.rhcloud.com/). 따라서이 문제를 해결할 수 있습니다. 새 앱을 만드시겠습니까? –