So still not having any luck.  I've removed WAMP and installed Apache
2.2.  Apache starts fine until I try to load the wsgi module, then
this is what is in my error logs:

 Jun 10 13:22:17 2010] [notice] Child 1724: Exit event signaled. Child
process is ending.
httpd.exe: Syntax error on line 128 of C:/Program Files (x86)/Apache
Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program
Files (x86)/Apache Software Foundation/Apache2.2/modules/mod_wsgi.so
into server: The specified module could not be found.
[Thu Jun 10 13:22:17 2010] [warn] (OS 995)The I/O operation has been
aborted because of either a thread exit or an application request.  :
winnt_accept: Asynchronous AcceptEx failed.
[Thu Jun 10 13:22:18 2010] [notice] Child 1724: Released the start
mutex
[Thu Jun 10 13:22:19 2010] [notice] Child 1724: All worker threads
have exited.
[Thu Jun 10 13:22:19 2010] [notice] Child 1724: Child process is
exiting

I've tried the precompiled modules as well as modules from this post:

http://groups.google.com/group/modwsgi/browse_thread/thread/2c214e9a51603bec/57dbe1e19e29dd30?lnk=gst&q=windows+compile+httpd+not+found#57dbe1e19e29dd30

No luck.  I've even tried compiling them myself, but no luck with the
build.

Does that error message help?

On May 28, 2:48 pm, Graham Dumpleton <[email protected]>
wrote:
> On 29 May 2010 03:21, mpickard <[email protected]> wrote:
>
> > Hmm, no luck.  Any reasons while it would not be able to "find" that
> > module?  I've double checked the path.
>
> Do you have 'cygwin' tools installed.
>
> Use a shell under cygwin to go to the directory and do a 'ls -las'.
> Then compare what cygwin says for file ownership and permissions and
> use chown/chgrp/chmod as appropriate to get it to match. On my system
> at least there was one chmod type thing I couldn't get t match, but
> still worked.
>
> Graham
>
> > On May 27, 5:33 pm, mpickard <[email protected]> wrote:
> >> 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 
> > 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.

Reply via email to