[mod_python] apache2 won't load mod_python

Dave Britton dave at davebritton.com
Tue Mar 22 08:05:49 EST 2005


I have built apache 2.053 and mod_python 3.1.4 and apache serves pages ok, 
and python will import mod_python, so both exist in the right places, but I 
get this error message, on attempting to access the simple mptest.py 
example:
========
[Tue Mar 22 13:38:42 2005] [notice] SIGHUP received.  Attempting to restart
[Tue Mar 22 13:38:42 2005] [notice] mod_python: Creating 25 session mutexes 
based on 25 max processes and 0 max threads.
[Tue Mar 22 13:38:42 2005] [notice] Apache/2.0.53 (Unix) mod_python/3.1.4 
Python/2.3.3 configured -- resuming normal operations
[Tue Mar 22 13:38:42 2005] [info] Server built: Mar 16 2005 19:13:58
[Tue Mar 22 13:38:42 2005] [debug] prefork.c(956): AcceptMutex: sysvsem 
(default: sysvsem)
[Tue Mar 22 13:39:17 2005] [error] make_obcallback: could not import 
mod_python.apache.\n
[root at ap1 apache2]#
========
apache was built with the configure --enable-so option, to allow DSO 
imports.

I've been struggling with this for a couple of days, and I am clueless. I'd 
appreciate any help!
Thanks!
-Dave





More information about the Mod_python mailing list