[mod_python] Mod Python startup errors

gOLeM aditya.vrr at gmail.com
Tue May 2 18:36:48 EDT 2006


one of my friends tried to install datetime module for python and he
moved some so files here and there. (He doesnt remember which ones :(
)

if there is anything you guys could help me on this without me having
to reinstall python/modpython, i would be very thankful :)

modpython version 3.2.8
python version 2.3.5

taken from /var/log/httpd/error_log

[Wed May 03 03:59:12 2006] [error] make_obcallback: could not import
mod_python.apache.

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
/usr/lib/python2.2/os.py:282: Warning: 'yield' will become a reserved
keyword in the future
'import site' failed; use -v for traceback
ImportError: No module named mod_python.apache
[Wed May 03 03:59:12 2006] [error] python_handler: no interpreter
callback found.
[Wed May 03 03:59:12 2006] [error] make_obcallback: could not import
mod_python.apache.

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
/usr/lib/python2.2/os.py:282: Warning: 'yield' will become a reserved
keyword in the future
'import site' failed; use -v for traceback
ImportError: No module named mod_python.apache
[Wed May 03 03:59:12 2006] [error] python_handler: no interpreter
callback found.
[Wed May 03 03:59:12 2006] [error] make_obcallback: could not import
mod_python.apache.

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
/usr/lib/python2.2/os.py:282: Warning: 'yield' will become a reserved
keyword in the future
'import site' failed; use -v for traceback
ImportError: No module named mod_python.apache
[Wed May 03 03:59:12 2006] [error] python_handler: no interpreter
callback found.
[Wed May 03 03:59:12 2006] [error] make_obcallback: could not import
mod_python.apache.

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
/usr/lib/python2.2/os.py:282: Warning: 'yield' will become a reserved
keyword in the future
'import site' failed; use -v for traceback
ImportError: No module named mod_python.apache
[Wed May 03 03:59:12 2006] [error] python_handler: no interpreter
callback found.
[Wed May 03 03:59:12 2006] [error] make_obcallback: could not import
mod_python.apache.

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
/usr/lib/python2.2/os.py:282: Warning: 'yield' will become a reserved
keyword in the future
'import site' failed; use -v for traceback
ImportError: No module named mod_python.apache
[Wed May 03 03:59:12 2006] [error] python_handler: no interpreter
callback found.
[Wed May 03 03:59:12 2006] [error] make_obcallback: could not import
mod_python.apache.

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
/usr/lib/python2.2/os.py:282: Warning: 'yield' will become a reserved
keyword in the future
'import site' failed; use -v for traceback
ImportError: No module named mod_python.apache
[Wed May 03 03:59:12 2006] [error] python_handler: no interpreter
callback found.
[Wed May 03 03:59:12 2006] [error] make_obcallback: could not import
mod_python.apache.

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
/usr/lib/python2.2/os.py:282: Warning: 'yield' will become a reserved
keyword in the future
'import site' failed; use -v for traceback
ImportError: No module named mod_python.apache
[Wed May 03 03:59:12 2006] [error] python_handler: no interpreter
callback found.
[Wed May 03 03:59:12 2006] [error] make_obcallback: could not import
mod_python.apache.

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
/usr/lib/python2.2/os.py:282: Warning: 'yield' will become a reserved
keyword in the future
'import site' failed; use -v for traceback
ImportError: No module named mod_python.apache
[Wed May 03 03:59:12 2006] [error] python_handler: no interpreter
callback found.
[Wed May 03 03:59:12 2006] [notice] caught SIGTERM, shutting down
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
[Wed May 03 03:59:13 2006] [notice] Digest: generating secret for
digest authentication ...
[Wed May 03 03:59:13 2006] [notice] Digest: done
[Wed May 03 03:59:14 2006] [notice] mod_python: Creating 8 session
mutexes based on 150 max processes and 0 max threads.
[Wed May 03 03:59:14 2006] [notice] Apache/2.0.47 (Fedora) configured
-- resuming normal operations



--
The Purpose of Life is a life of purpose -- Leider, Richard
Quitters never win and Winners never quit   -- Napolean Hill



More information about the Mod_python mailing list