Foros del Web » Administración de Sistemas » Software para Servers »

Conflito con Python 2.6.6 en CentOS 6

Estas en el tema de Conflito con Python 2.6.6 en CentOS 6 en el foro de Software para Servers en Foros del Web. Hola, En el log de los errores (/var/log/httpd/error_log) aparece este error, es el único: [Wed Apr 25 10:49:42 2012] [error] python_init: Python version mismatch, expected ...
  #1 (permalink)  
Antiguo 25/04/2012, 09:58
Avatar de javih  
Fecha de Ingreso: agosto-2011
Mensajes: 201
Antigüedad: 12 años, 8 meses
Puntos: 12
Conflito con Python 2.6.6 en CentOS 6

Hola,

En el log de los errores (/var/log/httpd/error_log) aparece este error, es el único:


[Wed Apr 25 10:49:42 2012] [error] python_init: Python version mismatch, expected '2.6.5', found '2.6.6'.
[Wed Apr 25 10:49:42 2012] [error] python_init: Python executable found '/usr/bin/python'.
[Wed Apr 25 10:49:42 2012] [error] python_init: Python path being used '/usr/lib64/python26.zip:/usr/lib64/python2.6/:/usr/lib64/python2.6/plat-linux2:/usr/lib64/python2.6/lib-tk:/usr/lib64/python2.6/lib-old:/usr/lib64/python2.6/lib-dynload'.
[Wed Apr 25 10:49:42 2012] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Apr 25 10:49:42 2012] [notice] mod_python: using mutex_directory /tmp
[Wed Apr 25 10:49:42 2012] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Wed Apr 25 10:49:42 2012] [warn] mod_wsgi: Runtime using Python/2.6.6.
[Wed Apr 25 10:49:42 2012] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Wed Apr 25 11:00:10 2012] [notice] caught SIGTERM, shutting down
[Wed Apr 25 11:59:47 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Apr 25 11:59:47 2012] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 25 11:59:47 2012] [notice] Digest: done
[Wed Apr 25 11:59:47 2012] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Wed Apr 25 11:59:47 2012] [warn] mod_wsgi: Runtime using Python/2.6.6.
[Wed Apr 25 11:59:47 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations

La versión que tengo instalada es la 2.6.6. y el mod_wsgi está compilado con para Python 2.6.2

¿Qué podría hacer para solucionarlo?

Saludos
  #2 (permalink)  
Antiguo 25/04/2012, 10:13
Avatar de javih  
Fecha de Ingreso: agosto-2011
Mensajes: 201
Antigüedad: 12 años, 8 meses
Puntos: 12
Respuesta: Conflito con Python 2.6.6 en CentOS 6

Instalarlo manualmente. http://code.google.com/p/modwsgi/

Ya lo desinstalé y descargué los fuentes.

Lo que ocurre es que me lanza un error cuando está ejecutándo el ./configure

checking for apxs2... no
checking for apxs... no
checking Apache version... ./configure: line 1704: apxs: command not found
./configure: line 1704: apxs: command not found
./configure: line 1705: apxs: command not found
./configure: line 1708: /: is a directory

checking for python... /usr/bin/python
./configure: line 1901: apxs: command not found
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in

porque no encuentra el comando apxs ¿pero como lo instalo? se supone que debía de haberse compilado con httpd > http://httpd.apache.org/docs/2.0/programs/apxs.html


httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
  #3 (permalink)  
Antiguo 25/04/2012, 10:31
Avatar de javih  
Fecha de Ingreso: agosto-2011
Mensajes: 201
Antigüedad: 12 años, 8 meses
Puntos: 12
Respuesta: Conflito con Python 2.6.6 en CentOS 6

Se instala como dice aquí pero es que no tengo carpeta apache2 en /usr/local

Etiquetas: apache, centos, ip, php, python, red
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 03:21.