On 13 January 2011 02: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.

Do it anyway. Even if there are no debugging symbols it will show the
function names and the sequence of function names in the call stack is
what is important.

Even if it has been completely stripped, it is unlikely that mod_wsgi,
Python libraries, or other third party libraries have been stripped,
and actually it is impossible to completely strip a shared library
because otherwise it wouldn't be able to be linked. The function names
in a shared library can also thus be useful if that is where it is
crashing.

Without you being a bit more helpful and showing the actual output of
the commands you used to verify things like what Python mod_wsgi was
using etc etc, along the lines of stuff described in the wiki
documentation, and without you enumerating the specific things you
believe don't apply and why, then is hard to advise. You may think all
looks fine and that may well be true, but the information is also
value to help understand how your system is installed etc. Without
even information like that we would need to get out our crystal balls
to even make guess as to what to suggest.

Graham

> 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.
>
>

-- 
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