RedHat 8.0 Apache + Python CGI segmentation faults

Steve Holden sholden at holdenweb.com
Sun Feb 23 17:33:51 CET 2003


[posted & mailed]

"Anthony Cunha" <anthony at cybertrap.net> wrote ...
> Hello Mr. Holden,
>
>     I  read and enjoyed your book Python Web Programming and I still use
it
> for reference. To answer your question in short, No. I've built and
> implemented many RedHat 8.0 servers with Apache 2.0.44(Compiled), and
Python
> 2.1(RPM). All the CGI scripts are written in Python and I haven't had any
> issues. I also tested these scripts on a RH8.0 build using only the distro
> RPMs for Apache and Python. Still the results were the same. Then again my
> scripts aren't the most complicated in the world but none the less they
are
> Python scripts. Sorry I couldn't be of more help.
>
>
>                                 If you want more information on my RH8.0
> builds or the Python scripts letmeknow,
>
>
>      -Anthony
>
>
>
> "Steve Holden" <sholden at holdenweb.com> wrote in message
> news:F0Q5a.80578$zL6.2341 at news2.central.cox.net...
> > Couldn't find anything about this in Google. A new machine is running RH
> 8,
> > and the Apache web server is working. However, attempts to run Python
CGI
> > scripts result in segmentation faults, even though the scripts will run
> > quite happily under the user "apache" identity.
> >
> > Is this a known phenomenon, or am I going to have to get the dread gdb
> out?
> > All the error log records is several segmentation faults for each
> attempted
> > CGI access.
> >

Anthony:

I'm glad you enjoyed "Python Web Programming". It's always good to hear from
a reader.

I wasn't using the same up-to-date installation of Apache that you are (I
was using the default 2.0.40). I think the problem might relate to Apache
bug 14692, which the reporter apparently solved by upgrading, so I'm going
to try that. It's the approach that cured problems with the Windows version,
though I installed that using an installer rather than rebuilding myself.

Thanks again for your input.

regards
--
Steve Holden                                  http://www.holdenweb.com/
Python Web Programming                 http://pydish.holdenweb.com/pwp/
Register for PyCon now!            http://www.python.org/pycon/reg.html







More information about the Python-list mailing list