Apache / PHP is not able to display the webinterface
I installed GitStack on a Windows Server 2003 R2 SP2 by following all the steps, described in the documentation. I configured the HTTP Port in the httpd.config to port 8008, because I have to other apache services running on this machine.
Right now, it’s possible to start the Git Service from the Apache Service Monitor. If I try to access the web page, my browser is not able to load the page. In the error.log (c:\GitStack\apache\logs\error.log) I see following message- [Thu Apr 26 16:12:57 2012] [notice] Parent: child process exited with status 3221225477 — Restarting.[Thu Apr 26 16:12:57 2012] [warn] mod_wsgi:
- Compiled for Python/2.7. [Thu Apr 26 16:12:57 2012] [warn] mod_wsgi: Runtime using Python/2.7.1.
- [Thu Apr 26 16:12:57 2012] [notice] Apache/2.2.22 (Win32) mod_wsgi/3.3 Python/2.7.1 PHP/5.3.10 configured — resuming normal operations
- [Thu Apr 26 16:12:57 2012] [notice] Server built: Mar 19 2012 19:56:33
- [Thu Apr 26 16:12:57 2012] [notice] Parent: Created child process 2092
- [Thu Apr 26 16:12:57 2012] [warn] mod_wsgi: Compiled for Python/2.7.
- [Thu Apr 26 16:12:57 2012] [warn] mod_wsgi: Runtime using Python/2.7.1.
- [Thu Apr 26 16:12:58 2012] [notice] Child 2092: Child process is running
- [Thu Apr 26 16:12:58 2012] [notice] Child 2092: Acquired the start mutex.
- [Thu Apr 26 16:12:58 2012] [notice] Child 2092: Starting 64 worker threads.
- [Thu Apr 26 16:12:58 2012] [notice] Child 2092: Starting thread to listen on port 8008.
3 Answers
It seems to be a problem with two python installations in parallel. I installed CollabNetSubversion-client-1.7.4 on the server too. After changing the path
configuration, I get following error messages
[Fri Apr 27 13:51:50 2012] [error] [client 127.0.0.1] mod_wsgi (pid=4188): Target WSGI script 'C:/GitStack/app/app/wsgi.py' cannot be loaded as Python module.
[Fri Apr 27 13:51:50 2012] [error] [client 127.0.0.1] mod_wsgi (pid=4188): Exception occurred processing WSGI script 'C:/GitStack/app/app/wsgi.py'.
[Fri Apr 27 13:51:50 2012] [error] [client 127.0.0.1] Traceback (most recent call last):
[Fri Apr 27 13:51:50 2012] [error] [client 127.0.0.1] File "C:/GitStack/app/app/wsgi.py", line 23, in <module>
[Fri Apr 27 13:51:50 2012] [error] [client 127.0.0.1] from django.core.wsgi import get_wsgi_application
[Fri Apr 27 13:51:50 2012] [error] [client 127.0.0.1] ImportError: No module named django.core.wsgi
[Fri Apr 27 13:51:52 2012] [error] [client 127.0.0.1] mod_wsgi (pid=4188): Target WSGI script 'C:/GitStack/app/app/wsgi.py' cannot be loaded as Python module.
[Fri Apr 27 13:51:52 2012] [error] [client 127.0.0.1] mod_wsgi (pid=4188): Exception occurred processing WSGI script 'C:/GitStack/app/app/wsgi.py'.
[Fri Apr 27 13:51:52 2012] [error] [client 127.0.0.1] Traceback (most recent call last):
[Fri Apr 27 13:51:52 2012] [error] [client 127.0.0.1] File "C:/GitStack/app/app/wsgi.py", line 23, in <module>
[Fri Apr 27 13:51:52 2012] [error] [client 127.0.0.1] from django.core.wsgi import get_wsgi_application
[Fri Apr 27 13:51:52 2012] [error] [client 127.0.0.1] ImportError: No module named django.core.wsgi
This issue is quite complex and might be fixed in GitStack 1.5.
Your Answer
Please login to post questions.