[mod_python] connection to host server broken

Graham Dumpleton graham.dumpleton at gmail.com
Fri Mar 23 16:20:32 EST 2007


On 24/03/07, Jim Gallacher <jpg at jgassociates.ca> wrote:
> sikander hayat wrote:
> > Hi all,
> >
> > My apache webserver on linux recently broke down, so i reinstalled it, along with mod_python. Having made the necessary changes in the conf file of apache, i tried some of the simple tests, such as mptest, but i keep on getting the following error.
> >
> > Connection to host server ... lost.
> >
> > Why is that, is it because of python or some apache setting.
>
> Or network problems?
>
> What do you find in your apache logs?

The Apache error log would be a good start, as it looks to me like
your Apache child processes are crashing. You may find errors about
segmentation violations or similar in the logs. If you do, check that
the version of mod_python you are using is the correct one for the
version of Python and Apache you are using. Having multiple versions
of Python installed can also cause issues.

BTW, are you using precompiled packages or compiling everything from
source code? What operating system are you using?

Graham


More information about the Mod_python mailing list