[mod_python] connection to host server broken

sikander hayat hayat221 at yahoo.com
Mon Mar 26 03:11:58 EST 2007


Hi,

I am using suse 10.1, Apache 2.2.4, python 2.5 and mod_python 3.3.1.

The error log is as follows:
[Mon Mar 26 10:16:48 2007] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Mar 26 10:16:48 2007] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Mon Mar 26 10:16:48 2007] [notice] mod_python: Creating 8 session mutexes based on 256 max processes and 0 max threads.
[Mon Mar 26 10:16:48 2007] [notice] mod_python: using mutex_directory /tmp
[Mon Mar 26 10:16:48 2007] [notice] Apache/2.2.4 (Unix) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8d mod_python/3.3.1 Python/2.5 PHP/5.2.1 mod_apreq2-20051231/2.5.7 m
od_perl/2.0.2 Perl/v5.8.7 configured -- resuming normal operations
[Mon Mar 26 10:17:04 2007] [error] [client 134.96.24.83] File does not exist: /opt/lampp/htdocs/favicon.ico
[Mon Mar 26 10:17:35 2007] [notice] mod_python (pid=3230, interpreter='localhost'): Importing module '/opt/lampp/htdocs/parkweb/index.py'
[Mon Mar 26 10:17:35 2007] [notice] mod_python (pid=3231, interpreter='localhost'): Importing module '/opt/lampp/htdocs/parkweb/index.py'
[Mon Mar 26 10:17:36 2007] [notice] child pid 3230 exit signal Segmentation fault (11)
[Mon Mar 26 10:17:36 2007] [notice] child pid 3231 exit signal Segmentation fault (11)

I have recently upgraded to python 2.5. So, to say, i have 2 versions of python on my system. Will try to remove the older one and try again.

****Why is it loading the module twice ...is that normal ???

Kindly let me know if something rings a bell.

Thanks,


Graham Dumpleton <graham.dumpleton at gmail.com> wrote: On 24/03/07, Jim Gallacher  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


 
---------------------------------
Sucker-punch spam with award-winning protection.
 Try the free Yahoo! Mail Beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20070326/818b11cb/attachment-0001.html


More information about the Mod_python mailing list