LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-07-2008, 02:00 PM   #1
xcristi
Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 35

Rep: Reputation: 16
Lightbulb Mod_python: make it work, avoid 'python_handler: Can't get/create interpreter.'


Today I wasted several hours trying to make it work. All over the forums and mailinglist seem that a lot of people is having the same problem, but no real solution, until I found a really 'obvious' issue!

So, if you have errors such as:

<code>
make_obcallback: could not import mod_python.apache.\n
ImportError: No module named apache
[Sun Dec 07 20:50:18 2008] [error] make_obcallback: Python path being used
"['/usr/lib/python2.5/site-packages/MySQL_python-1.2.2-py2.5-linux-i686.egg',
'/usr/lib/python2.5/site-packages/ipython-0.8.1-py2.5.egg',
'/usr/lib/python2.5/site-packages/Dabo-0.8.3-py2.5.egg'
[...]
".
[Sun Dec 07 20:50:18 2008] [error] get_interpreter: no interpreter callback found.
[Sun Dec 07 20:50:18 2008] [error] [client 127.0.0.1] python_handler: Can't get/create interpreter.
</code>

check the permissions on mod_python folder and files! The user under the webserver is running must have access to them.

Yes, I know it's obvious, but it can save you hours of debugging.

More Details
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make Xconfig doesn't work, make menuconfig does work Debian/KDE bucovaina78 Linux - Kernel 1 10-15-2008 01:26 PM
mod_python - is there an equivalent to $_SERVER['PHP_SELF'] in mod_python? BrianK Programming 2 04-28-2008 09:46 PM
How to create symbolic link to html file and avoid page link problem? haxpor Linux - General 2 01-29-2008 07:40 AM
apache/mod_python problem: ImportError: No module named mod_python.apache BrianK Linux - Software 2 10-10-2007 05:13 PM
/usr/bin/php: bad interpreter :::what install to avoid this message. Thank you sarajevo Linux - Software 1 09-23-2005 09:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration