Graham - Good catch. WAMP does log its errors through the Windows OS because WAMP registers Apache as a Windows Service. So when I open up the Event Viewer and look under Applications. I see an error message for Apache that says:
The Apache service named reported the following error: >>> httpd.exe: Syntax error on line 109 of >>> C:/wamp/bin/apache/Apache2.2.11/conf/httpd.conf: Cannot load >>> C:/wamp/bin/apache/Apache2.2.11/modules/mod_wsgi.so into server: The >>> specified module could not be found. I'm guessing it has something to do with my text editor...I look into that. Thanks, Matt On May 27, 5:21 pm, Graham Dumpleton <[email protected]> wrote: > On 28 May 2010 10:15, mpickard <[email protected]> wrote: > > > Yes, that's the frustrating thing about this process. I don't know if > > WAMP 2.0 logs errors in a special way, but if the whole WAMP stack > > doesn't start successfully, I don't see any errors in the apache error > > log. If I remove the load mod_wsgi directive and let the stack load > > successfully, then I see new messages in the error log....but they are > > "success" message and none of them deal with mod_wsgi.... > > > So maybe i need to post a message to WAMP 2.0 and figure out why I'm > > not seeing error messages... > > Maybe they go into some system logs instead. > > I don't know Windows and have exhausted most of my normal suggestions, > but maybe if you are lucky someone else here can help. > > Certainly ask WAMP people where any startup failure messages would go. > > BTW, why are you using WAMP and not just standard Apache httpd binary > installer from Apache software foundation themselves? > > Graham > > > On May 27, 5:10 pm, Graham Dumpleton <[email protected]> > > wrote: > >> On 28 May 2010 10:01, mpickard <[email protected]> wrote: > > >> > I tried uninstall and reinstalling both 32-bit and 64-bit versions of > >> > Python. > > >> > Does mod_wsgi actually load python when it is loaded by the Apache > >> > server? What does loading mod_wsgi entail? > > >> It needs to be able to find the PYTHON25.DLL (or some name like that). > >> In other words, it doesn't execute the Python executable, but links in > >> its DLL and uses that. > > >> Are you absolutely sure there is no messages in error log? When you > >> shutdown note what last message is. Then when attempt to start, post > >> any messages which appear from that point on no matter what they are. > > >> Graham > > >> > Thanks, > > >> > Matt > > >> > On May 27, 4:39 pm, Graham Dumpleton <[email protected]> > >> > wrote: > >> >> On 28 May 2010 07:43, mpickard <[email protected]> wrote: > > >> >> > Hi - > > >> >> > I've installed WAMP 2.0 (Apache 2.2.11) on a Windows 2003 R2 x64 > >> >> > server. I'm using Python 2.6. I'm trying to install mod_wsgi. I > >> >> > placed the .so file in the "C:\wamp\bin\apache\Apache2.2.11\modules" > >> >> > directory (that's where all the other modules reside). In my > >> >> > httpd.conf I added: > > >> >> > LoadModule mod_wsgi_module modules/mod_wsgi.so > > >> >> > The Apache server won't start. If I comment out the above line, the > >> >> > server starts fine. However, I'm not seeing any errors in the log > >> >> > file and I have LogLevel set to "debug". Since WAMP starts up fine > >> >> > with the load module line, I don't think it is a 64/32-bit issue. I'm > >> >> > pretty sure WAMP is running as a 32-bit file > > >> >> > I checked that the permissions of the wsgi module is the same as all > >> >> > the other modules in the "C:\wamp\bin\apache\Apache2.2.11\modules" > >> >> > directory. > > >> >> > I have also tried both the mod_wsgi-2.7and the mod_wsgi-3.0 modules > >> >> > for Python 2.6 and Apache 2.2. > > >> >> > Any thoughts on what might be wrong? > > >> >> Ensure you installed Python for all users and not just yourself. > > >> >> Ensure you are not using Python 2.6.1 on Windows, use a later version. > > >> >> Best thing to do is uninstall Python and reinstall lastest for all > >> >> users. > > >> >> Graham > > >> > -- > >> > You received this message because you are subscribed to the Google > >> > Groups "modwsgi" group. > >> > To post to this group, send email to [email protected]. > >> > To unsubscribe from this group, send email to > >> > [email protected]. > >> > For more options, visit this group > >> > athttp://groups.google.com/group/modwsgi?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "modwsgi" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/modwsgi?hl=en. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
