python_handler: Can't get/create interpreter

Fred <[email protected]>
Newsgroups gmane.comp.python.mod_python
Message-ID <[email protected]>
Hello,

maybe i have a bad mod_python install on a RHEL 4.5.

I compile apache, mod_python and python, and install all  inside /freeware
(it's a customer need).
- /freeware/python-2.5.4/
- /freeware/apache-2.2.6/
When run, apache use a linux user call "web".

Version :
- apache 2.2.6
- mod_python 3.3.1
- python 2.5.1 (and test with the last 2.5.4)

I try this example ( because i have some error with the Pylons application
that i have to install) :
http://www.modpython.org/live/current/doc-html/inst-testing.html

When i try to access  to http://server/test/mptest.py i have a 500 server
error.

When i look at log i have (for each request) :
[Thu Feb 26 19:46:29 2009] [error] [client X.X.X.X] python_handler: Can't
get/create interpreter

this the only message inside error log....

I try to re compil apache mod_python and python but i don't find any
solution.

I try the same thing with a distribution packages (python, mod_python and
apache) install on ubuntu hardy and it's works.... (just to say that i'm not
too stupid)!

I have nos idea... this my virtual host apache.conf content include inside
the main conf file :
<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "/dataweb/sws"
    ServerName dns
    ErrorLog "/dataweb/sws/logs/sws-error_log"
    CustomLog "/dataweb/sws/logs/sws-access_log" common

<Directory /dataweb/sws/test>
        Options None
        AllowOverride None
        Order allow,deny
        Allow from all
        AddHandler mod_python .py
        PythonHandler mptest
        PythonDebug On
        #PythonPath "sys.path+['/freeware/python-2.5.4/bin']"

</Directory>
SetEnv LD_LIBRARY_PATH /freeware/python-2.5.4/lib/python2.5/:/freeware/lib/


</VirtualHost>

need help please.

thanks in advance.

fred

_______________________________________________
Mod_python mailing list
[email protected]
http://mailman.modpython.org/mailman/listinfo/mod_python
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.