[mod_python] mod_python compiles fine, but gives errors...

Ray Van Dolson rayvd at firetail.org
Thu Dec 7 12:04:27 EST 2000


I'm compiling mod_python (latest version) as DSO into Apache 1.3.12
against a Python source tree with no threads.  Everything compiles fine
and even seems to install fine.  However, when starting up apache, it
gives me the following error:

[Thu Dec  7 11:58:16 2000] [warn] Loaded DSO libexec/mod_python.so usesplain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
[Thu Dec  7 11:58:16 2000] [notice] Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.4 mod_python/2.6.3 Python/1.5.2 mod_perl/1.22 PHP/3.0.16 configured -- resuming normal operations

What is this EAPI warning?  Should I worry about it?  Is it related in any
way to the following error I get when running the test program?  (This is
from the error_log file):

make_obcallback(): could not import mod_python.apache.
make_obcallback(): could not call init.
[Thu Dec  7 11:58:35 2000] [error] [client 199.236.177.11] python_handler: make_obcallback returned no obCallBack!

Apache is running as user nobody, which I read might pose a problem.  But
all the Python modules should be readable by this user.

Any ideas?

Ray Van Dolson




More information about the Mod_python mailing list