On 3 February 2010 05:53, Joe Hughes <[email protected]> wrote: > Hi Graham, > > The issue is that if the module is in the list to load, apache won't > start. When I do a ps -ef with the module commented out and do an apachectl > restart, I get multiple httpd processes. I don't get any httpd processes > when it is uncommented.
Run: apachectl -t That should show you the error message about what undefined symbols there are when loading module and which is causing Apache to fail to start. Post the complete error messages here. Then also read: http://code.google.com/p/modwsgi/wiki/InstallationOnMacOSX so you get a background about what the problems are. In short, you likely aren't using Apple supplied Apache and Python and instead using MacPorts, fink or HomeBrew, all of which are a PITA because the Python isn't usually compiled properly to allow linking into an embedded system. So, also indicate whose Apache and Python you are using, where they are installed and what command line you used when you ran configure for mod_wsgi. > Also know anything about Solaris issues with mod_wsgi? I get > > ld: fatal: relocations remain against allocatable but non-writable sections > collect2: ld returned 1 exit status > apxs:Error: Command failed with rc=65536 > . > make: *** [mod_wsgi.la] Error 1 > > From what I've read on the web it is an ld issue. Have you seen this? > Solaris 8, SPARC, and whatever else you need. Read: http://code.google.com/p/modwsgi/wiki/InstallationOnSolaris Same issue, same solution. Graham > Thanks, > Joe > > On Feb 1, 2010, at 4:49 PM, Graham Dumpleton wrote: > >> On 2 February 2010 07:43, Joe <[email protected]> wrote: >>> Hi All, >>> >>> I downloaded the latest version of the mod_wsgi source, configured >>> it, modified the make file to use python 3.1 instead of the Macintosh >>> default of 2.6.1 by changing the path, compiled it, installed it, >>> modified the httpd.conf file, stop and started apache, and ran into a >>> problem. When I have this line >>> >>> LoadModule wsgi_module libexec/apache2/mod_wsgi.so >>> >>> in the httpd.conf file I get >>> >>> [Mon Feb 01 15:31:11 2010] [notice] caught SIGTERM, shutting down >> >> That is a normal message that you will see Apache output whenever you >> perform a stop, and possibly even a restart of Apache. It has nothing >> to do with mod_wsgi. >> >> Graham >> >>> When I comment it out, the problem goes away. Thus I have to assume >>> something is wrong, but I'm not certain how to resolve the issue. Any >>> troubleshooting ideas? >>> >>> Thanks, >>> Joe >>> >>> -- >>> 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. >>> >>> >> >> -- >> 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. >> > > -- > 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. > > -- 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.
