[mod_python] Apache with mod_python won't start!

Gregory (Grisha) Trubetskoy grisha at modpython.org
Wed Jan 29 14:50:28 EST 2003


Mod_python 2.7.8 does not work with Apache 2.0. I suggest you bring all of
Python, mod_python and Apache to the latest released versions.

Grisha

On Wed, 29 Jan 2003, Terrall,Tom wrote:

> I have modified httpd.conf for an attempt to run a test of
> apache+mod_python. When httpd needs to read htttpd.conf this error results.
>
> ======>
> [root at deimos init.d]# ./httpd start
> Syntax error on line 234 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/lib/apache/mod_python.so into server:
> /usr/lib/apache/mod_python.so: undefined symbol: ap_null_cleanup
> =====>
>
> Line 234 is : LoadModule python_module /usr/lib/apache/mod_python.so
>
>  We are running python 2.2 and apache 2.0.40 and python 2.7.8-1 .
>
> Additions to a working httpd.conf which cause the failure.
>
> ========>
> "
> "
> Listen 8400
> "
> "
> LoadModule python_module /usr/lib/apache/mod_python.so
> "
> "
>         <Directory /usr/local/apache/htdocs/test>
>             AddHandler python-program .py
>             PythonHandler mptest
>             AllowOverride FileInfo
>             PythonDebug on
>         </Directory>
> "
> "
> NameVirtualHost xxx.xxx.xxx.xxx:8400
> "
> "
> <VirtualHost xxx.xxx.xxx.xxx:8400>
>    ServerName anaximenter.out.oclc.org
>   DocumentRoot /usr/local/apache/htdocs/test
> </VirtualHost>
> "
> "
> ========>
>
> Thanks in advance.
>
> Tom Terrall
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
>




More information about the Mod_python mailing list