Hi Graham, Thanks for your response.
I have pasted the WSGI related conf from httpd.conf at http://dpaste.com/1265377/ I will now try setting the Apache LogLevel to info and see what else we get....I will also try setting the WSGIApplicationGroup %{GLOBAL} as this is the only WSGI Appplication that I have on that instance. Regards, Guddu On Sun, Jun 23, 2013 at 6:54 AM, Graham Dumpleton < [email protected]> wrote: > Set your Apache LogLevel to 'info' to get additional detail out of > mod_wsgi. > > If this is the only WSGI application running on that Apache instance, > ensure you are setting: > > WSGIApplicationGroup %{GLOBAL} > > Can't say anything more because you haven't actually provided the mod_wsgi > configuration from the Apache configuration file. > > Graham > > On 23/06/2013, at 12:29 PM, Guddu <[email protected]> wrote: > > Dear Friends...My Django WEB Application fails to launch all of a sudden > and out of the blues. > > It was working fine until yesterday in production. > > I am not able to figure out where the problem is. It could apache or > mod_wsgi or windows but at the moment I have no clue. > > I have tried to reinstall all the python libraries/prerequisites etc. but > the problem persists nevertheless. > > I am serving the WEBApp at Apache Port 8999 and When I access the WEB App, > the browser fails to show any error. It just keeps trying to open the page > and in the status bar I just see the Waiting for message. > > If I see the netstat results then I see the following > > C:\Documents and Settings\admintemp>netstat -an | find "8999" TCP > 0.0.0.0:8999 0.0.0.0:0 LISTENING TCP 172.18.148.156:8999 > 10.107.226.88:1826 ESTABLISHED > > This connection remains established forever and nothing happens. Internet > Browser just seems to try to keep opening the Web App and it appears as if > it is waiting forever. > > The only thing i see in Apache logs is this > > [Fri Jun 21 18:34:32 2013] [warn] mod_wsgi: Compiled for Python/2.7.[Fri Jun > 21 18:34:32 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.[Fri Jun 21 > 18:34:32 2013] [notice] Apache/2.2.22 (Win32) mod_wsgi/3.3 Python/2.7.3 > configured -- resuming normal operations[Fri Jun 21 18:34:32 2013] [notice] > Server built: Jan 28 2012 11:16:39[Fri Jun 21 18:34:32 2013] [notice] Parent: > Created child process 3876[Fri Jun 21 18:34:32 2013] [warn] mod_wsgi: > Compiled for Python/2.7.[Fri Jun 21 18:34:32 2013] [warn] mod_wsgi: Runtime > using Python/2.7.3.[Fri Jun 21 18:34:32 2013] [notice] Child 3876: Child > process is running[Fri Jun 21 18:34:32 2013] [notice] Child 3876: Acquired > the start mutex.[Fri Jun 21 18:34:32 2013] [notice] Child 3876: Starting 64 > worker threads.[Fri Jun 21 18:34:32 2013] [notice] Child 3876: Starting > thread to listen on port 8999.[Fri Jun 21 18:34:43 2013] [error] C:/Program > Files/App_Logic/logic_apps/logic_apps\\..\\logic_apps > > I also noticed in the Windows Event Viewer logs (Application Logs) the > following message but I am not sure how (and if) this could be related to > my problem at hand. This message seems to shows up once for everytime i > access the Web App. > > Application popup: Microsoft Visual C++ Runtime Library : Runtime Error! > > Program: C:\Progr... > > R6034 An application has made an attempt to load the C runtime library > incorrectly. Please contact the application's support team for more > information. > > Exact screenshot of above error message is at http://imgur.com/hijiKv8 > > *Please note that as part of my analysis I have tried* > > - Accesing the apache page at http://127.0.0.1:8999 does show me the > It Works ! message > - Running the WEB App using the Django Development server and it > launches fine. > - Changing the wsgi.py file and when I introduce errors in the file > deliberately, accessing the web app does complain with the relevant. > > The application is installed on Windows Server 2003 SP1 and there are no > automatic updates schedules on this machine so I am not suspecting that a > update would have caused this problem. I also saw the Windows Update log > and there was nothing installed recently. > > *The application is based on following Python Libraries as prerequisites* > > - httpd-2.2.22-win32-x86-openssl-0.9.8t.msi > - python-2.7.3 > - Django-1.4.3 > - psycopg2-2.4.6.win32-py2.7-pg9.2.2-release > - cx_Oracle-5.1.2-10g.win32-py2.7 > - PIL-1.1.7.win32-py2.7 > - python-ldap-2.4.10.win32-py2.7 > - south-0.7.6 > - xlrd-0.9.0 > - xlwt-0.7.5 > - mod_wsgi.so > > Appreciate if someone could guide me with respect to what more I can do to > solve this problem or get more information to get to the root of this. > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/modwsgi. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/modwsgi. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/groups/opt_out.
