Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I start apache I am getting those errors:

[Tue Jun 14 02:28:58 2011] [error] python_init: Python version mismatch, expected '2.6.5', found '2.6.6'.
[Tue Jun 14 02:28:58 2011] [error] python_init: Python executable found '/usr/bin/python'.
[Tue Jun 14 02:28:58 2011] [error] python_init: Python path being used '/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload'.
[Tue Jun 14 02:28:58 2011] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Tue Jun 14 02:28:58 2011] [notice] mod_python: using mutex_directory /tmp
[Tue Jun 14 02:28:58 2011] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.5 with Suhosin-Patch mod_python/3.3.1 Python/2.6.6 configured -- resuming normal operations

I am using Ubuntu Server...

Thanks in advance for any help.

share|improve this question
    
Is Apache working? That is, are these errors critical, or simply informative? Have you installed Python and Apache from the same sources? –  larsks Jun 14 '11 at 2:40
    
Same source? I used apt-get for it's setup. I used this: python, python-dev and libapache2-mod-python to install it. –  jnbdz Jun 14 '11 at 2:46
    
...and is it working? –  larsks Jun 14 '11 at 2:49

1 Answer 1

Build mod_python against the appropriate version of Python. Better yet, abandon the now-dead mod_python altogether and use mod_wsgi instead.

share|improve this answer
    
Great! How do I do that? –  jnbdz Jun 14 '11 at 2:47
    
serverfault.com/questions/91468/… –  larsks Jun 14 '11 at 2:50
    
Cool I got rid of most of the errors. But I still get this one: [Tue Jun 14 03:37:02 2011] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.5 with Suhosin-Patch configured -- resuming normal operations –  jnbdz Jun 14 '11 at 3:38
    
That's a notice, not an error. –  Ignacio Vazquez-Abrams Jun 14 '11 at 3:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.