Oh and everything is OS nothing I installed separately, except mod_wsgi oviously. I guess that means python is installed system wide. Here are the loaded modules:
alias.conf authz_default.load autoindex.conf deflate.load mime.conf perl.load setenvif.load alias.load authz_groupfile.load autoindex.load dir.conf mime.load php5.conf status.conf auth_basic.load authz_host.load cgi.load dir.load negotiation.conf php5.load status.load authn_file.load authz_user.load deflate.conf env.load negotiation.load setenvif.conf On 12 Jan., 16:20, Thomas <[email protected]> wrote: > Thanks for your replies. > > @Jason which log do you mean? > > (The line I posted above is from /var/log/apache2/error.log at > LogLevel info) > > @Graham like I posted I checked all the points in there: > > Python Shared Library > -Found. > > Using ModPython and ModWsgi > -ModPython is not loaded/available. > > Others don't apply. > > Unfortunately my debian apache does not seem to have compiled with > debugging symbols enabled. > So unless someone has another idea I'll try mod_python instead. > > On 11 Jan., 23:23, Graham Dumpleton <[email protected]> > wrote: > > > On 12 January 2011 01:52, Thomas <[email protected]> wrote: > > > > Hi > > > > I followed the instructions on how to build and install mod_wsgi. > > > All went fine and without errors. > > > > But when I uncomment this line in my httpd.conf: > > > > #LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so > > > > I get the following error when trying to start apache: > > > > [Tue Jan 11 15:41:23 2011] [notice] child pid 9247 exit signal > > > Segmentation fault (11) > > > > (1-3 errors per second) > > > When line is commmented all is working. > > > It's on debian lenny and apache version: Apache/2.2.9 (Debian) > > > > None of the explanations on the common errors page in the wiki seems > > > to apply. > > > Any help would be appreciated. > > > You will need to be more specific about what things you have eliminated. > > > Did you do Python library sanity check mentioned in: > > > http://code.google.com/p/modwsgi/wiki/CheckingYourInstallation#Python... > > > Did you eliminate possibility that mod_python loaded at the same time > > and all the Python version mismatch problems mentioned in: > > > http://code.google.com/p/modwsgi/wiki/InstallationIssues#Using_ModPyt... > > > and other stuff also mentioned in that documentation? > > > Did you try disabling PHP if also loading that into Python? > > > Did you try and get a stack trace from gdb following procedure in: > > > http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Debugging_C... > > > Unless you are quite detailed about exactly what you checked and tried > > to validate setup and debug it, very hard to guess. The above things > > are only some of the problems that could arise. > > > So, provide some extra detail, including whether using system wide > > Python or separately installed Python. Whether using OS supplied > > Apache or your own and where these are all installed. And what other > > non standard Apache modules are being loaded, eg. PHP etc. > > > 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 at http://groups.google.com/group/modwsgi?hl=en.
