[mod_python] Apache crashes with mod_apache

news.Andreas at gmx.net news.Andreas at gmx.net
Tue Nov 6 14:05:45 EST 2001


Hello list!

I want to build a web app in Python to handle database transactions.

The system is SuSE 7.2 (kernel 2.4.4), apache 1.3.19, mysql 2.23.38,
mod_python
2.7.6, python 2.1.1. All packages were compiled and installed.

After httpd start following message occurs:
Starting httpd [ ][Sat Nov  3 14:04:54 2001] [warn] Loaded DSO
/usr/lib/apache/mod_python.so uses plain Apache 1.3 API, this module might
crash under
EAPI! (please recompile it with -DEAPI)                                     
                       done

In /var/log/httpd/error_log following output:
.
.
[Sat Nov  3 14:04:55 2001] [warn] Loaded DSO /usr/lib/apache/mod_python.so
uses plain Apache 1.3 API, this module might crash under EAPI! (please
recompile it with -DEAPI)
[Sat Nov  3 14:04:56 2001] [notice] Apache/1.3.19 (Unix)  (SuSE/Linux)
mod_throttle/3.0 mod_layout/1.0 mod_fastcgi/2.2.2 mod_dtcl mod_python/2.7.6
Python/2.1.1 configured -- resuming normal operations
[Sat Nov  3 14:04:56 2001] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)

After trying to access via web browser to localhost following line in
/var/log/httpd/error_log is added:
.
.
[Sat Nov  3 14:05:27 2001] [notice] child pid 1440 exit signal Segmentation
fault (11)


After this I stopped httpd and started apache again with
# httpd -X

Output message on terminal:

[Sat Nov  3 15:08:51 2001] [warn] Loaded DSO /usr/lib/apache/mod_python.so
uses
plain Apache 1.3 API, this module might crash under EAPI! (please recompile
it with -DEAPI)
Segmentation fault

httpd.conf

.
.
# first in list
LoadModule python_module      /usr/lib/apache/mod_python.so
.
.
ClearModuleList
AddModule mod_python.c
.
.

I could´t find a similar problem in this list.
Any help would be highly apprechiated.
Thank you in advance,
Andreas

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net




More information about the Mod_python mailing list