SuSE 7.2 + apache/mod_python

Jeff Davis jdavis at empires.org
Wed Jul 25 20:22:57 EDT 2001


I have dealt with my fair share of similar problems, but haven't seen this 
specific one. Many problems are associated with conflicting modules, 
especially suexec, although it doesn't look like that's your problem. Seems 
like a lower-level apache error with the apache API (disclaimer: I am not 
entirely sure about this).

I would try:
1) try disabling other associated modules and if you can get it to work 
with any config at all, try to isolate a conflict.
2) use a new version of mod_python. I believe 2.7.5 is out. This is more 
likely to help you but could take a little more time than (1). I would even 
try upgrading apache (I think it's 1.3.20).
3) use simpler ./configure options. It might be an obscure option set that 
slipped through the testing.

It looks like a tough problem, best of luck. I hope one of my suggestions 
points you in the right direction. 

Regards,
        Jeff Davis

Gary Perez wrote:

> Hi, all.
> 
> I've asked the mod_python list about this twice already (no luck there).
> 
> I'm having problems getting mod_python to work under apache. Here's the
> relevant info:
> 
> SuSE Linux 7.2, kernel 2.4.4, reiserfs
> Apache 1.3.19 + Python 2.0 + mod_python 2.7.2
> 
> Installed (and reinstalled) apache, python (no threads) and mod_python a
> few times.
> 
> Set up the test directives in httpd.conf, proper .py module in the
> htdocs/test directory as per the documentation.
> 
> When I hit the target URL, apache kicks out an internal server error...
> 
> ERROR LOG
> [Wed Jul 18 15:58:02 2001] [notice] Apache/1.3.19 (Unix)  (SuSE/Linux)
> mod_layout/1.0 mod_throttle/3.0 mod_fastcgi/2.2.2 mod_ssl/2.8.3
> OpenSSL/0.9.6a PHP/4.0.4pl1 mod_perl/1.25 mod_dtcl mod_python/2.7.2
> Python/2.0 configured -- resuming normal operations
> [Wed Jul 18 15:58:02 2001] [notice] suEXEC mechanism enabled (wrapper:
> [/usr/sbin/suexec) Wed Jul 18 15:58:18 2001] [error] [client
> [192.168.100.100]
> python_handler: Dispatch() returned nothing.
> 
> If anyone has any experience in this area or ideas as to what I can do
> to figure out this annoying behavior, I'd greatly appreciate any help.
> 
> Thanks very much,
> -Gary




More information about the Python-list mailing list