nemesis128 at atarax.org
nemesis128 at atarax.org
Sat Apr 8 07:28:42 EDT 2006
Hello, First i'd like to thank alll the people behind mod_python! =) All worked fine for me with apache 1.3. Now i have installed apache 2 and i have that usual problem of Internal Server Error 500. I've read all the faqs about it, nothing works. Detailed: - Mandriva Linux 2006 - Compiled python 2.4.3 - Compiled apache 2.0.55 - mod python 3.2.8 (i even tried to compile it with the latest flex 2.5.33) - i tried htaccess & httpd.conf directives - with all examples given in the doc. - i always get the same error log: ------------------------------------------------------------------- [Fri Apr 07 23:19:20 2006] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads. [Fri Apr 07 23:19:20 2006] [notice] Apache/2.0.55 (Unix) mod_python/3.2.8 Python/2.4.3 configured - - resuming normal operations [Fri Apr 07 23:19:23 2006] [error] make_obcallback: could not import mod_python.apache.\n 'import site' failed; use -v for traceback 'import site' failed; use -v for traceback ImportError: No module named mod_python.apache [Fri Apr 07 23:19:23 2006] [error] python_handler: no interpreter callback found. [Fri Apr 07 23:19:23 2006] [error] [client ::1] python_handler: Can't get/create interpreter., refe rer: http://localhost/%7Esm/ ---------------------------------------------------------------------- Well, sys.path is OK too, but cannot import site (nor mod_python) !! I also get that kind of error on apache startup sometimes, and i just don't know if it has something to do with the problem explained above: ---------------------------------------------------------------------- [Sat Apr 08 02:13:37 2006] [notice] mod_python: Creating 32 session mutexes based on 150 max proces ses and 0 max threads. [Sat Apr 08 02:13:37 2006] [error] (28)No space left on device: mod_python: Failed to create global mutex 21 of 32 (/tmp/mpmtx1145121). [Sat Apr 08 02:13:37 2006] [error] mod_python: We can probably continue, but with diminished abilit y to process session locks. [Sat Apr 08 02:13:37 2006] [error] mod_python: Hint: On Linux, the problem may be the number of ava ilable semaphores, check 'sysctl kernel.sem' [Sat Apr 08 02:13:37 2006] [notice] Apache/2.0.55 (Unix) mod_python/3.2.8 Python/2.4.3 configured - - resuming normal operations ------------------------------------------------------------------------- Any help ? Thanx alot++++ Stan.
|