[mod_python] Mod_Python 3 / Apache 2 / RedHat 7.3 / Python 2.2 = Seg fault :(

Martin Pool mbp at samba.org
Fri Sep 13 18:10:42 EST 2002

On 13 Sep 2002, Michael Neel <neel at mediapulse.com> wrote:
> I'm having a bit of trouble trying to get mod_python beta 3 to run on
> apache 2.  I get a line like:
> [Thu Sep 12 23:31:21 2002] [notice] child pid 3768 exit signal
> Segmentation fault (11)
> Whenever I load mod_python no matter what page I hit, .py or otherwise.
> I'm running RH 7.3 and I've copied the python2.2 binary over the python
> one so I have python2.2 as default so this could be related to a path
> issue of lib's but I'll be damned if I can find it.
> My compile options for apache were basic; --with-mpm=worker and
> I didn't see anything about beta 3 not working with worker threads (the
> way I'd prefer apache to run), but I've tried prefork as well with the
> same results.
> Any tips or ideas would help greatly.  I've looked though the list
> archives and couldn't find anything, but to be stuck at this small of a
> step means I've overlooked something basic...

Try running apache under gdb?  Something like this:

  # gdb /usr/sbin/apache2
  [blah blah]
  gdb> run -X

Then try to access a page.  Apache should stop in gdb, and it might
tell you where the problem is.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.modpython.org/pipermail/mod_python/attachments/20020913/284089f0/attachment-0003.bin

More information about the Mod_python mailing list