[mod_python] apache2 won't load mod_python

Nicolas Lehuen nicolas.lehuen at gmail.com
Tue Mar 22 08:23:56 EST 2005


Hi,

mod_python is loaded all right, but it cannot find the mod_python
module. If you login under the same account Apache is running under,
can you also import mod_python ? Could you give us your httpd.conf
lines related to the mod_python configuration ?

Regards,
Nicolas


On Tue, 22 Mar 2005 08:05:49 -0500, Dave Britton <dave at davebritton.com> wrote:
> 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
> 
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>


More information about the Mod_python mailing list