[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problemas con la configuracion de apache2 y php4



Hola,
tengo una debian testing con kernel 2.6.12-1-686, apache2 2.0.55-3 y php4 4.4.0-4 (más
detalles al final del mensaje)
Hoy he detectado un problema con Apache2 + PHP4 pero que tiene más de una semana (uso muy
poco mi servidor web ;)
y básicamente consiste en que ya no arranca mi apache.

Si pruebo a parar el apache (por si acaso) me dice
# /etc/init.d/apache2 stop
Stopping apache 2.0 web server... ... failed!
You may still have some apache2 processes running.  There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone.  Please review
the situation by hand.
 failed!

Compruebo (por si acaso) si hay más procesos de apache y no los hay
# ps -ef | grep apache

Así que intento arrancar y me indica un problema con el modulo php4
# /etc/init.d/apache2 start
Starting apache 2.0 web server...Syntax error on line 1 of
/etc/apache2/mods-enabled/php4.load:
Cannot load /usr/lib/apache2/modules/libphp4.so into server: /usr/lib/libdb-4.2.so: cannot
read file data
: Input/output error
 failed!

Mi cargador de módulo dice únicamente
# cat /etc/apache2/mods-enabled/php4.load
LoadModule php4_module /usr/lib/apache2/modules/libphp4.so

Y el módulo en cuestión existe
# ll /usr/lib/libdb-4.2.so
-rw-r--r--  1 root root 852064 2005-12-16 08:25 /usr/lib/libdb-4.2.so

Pruebo a reconfigurar el modulo y me dice que está mal el apache2
# dpkg-reconfigure libapache2-mod-php4
Your apache2 configuration is broken, so we're not restarting it for you.

Pruebo a reconfigurar primero el apache2 pero me quedo igual
# dpkg-reconfigure apache2
# dpkg-reconfigure libapache2-mod-php4
Your apache2 configuration is broken, so we're not restarting it for you.


Mi ultima actualización fue a finales del año pasado, así que no creo que haya sido por
eso.

He probado a actualizar ahora, pero no tengo pendiente de actualización ningun paquete de
apache2 ni de php4.
[mini-OT] El apt-get update me daba el problema ya conocido del certificado que gracias a
la lista he solventado en un momento.

Lo último que veo en mi error_log me preocupa un poco:
---------
[Thu Jan 05 10:35:54 2006] [notice] caught SIGTERM, shutting down
[Thu Jan 05 10:36:54 2006] [notice] mod_python: Creating 20 session mutexes based on 20
max processes and 0 max threads.
[Thu Jan 05 10:36:56 2006] [notice] Apache/2.0.55 (Debian) mod_python/3.1.3 Python/2.3.5
PHP/4.4.0-4 mod_perl/2.0.1 Perl/
v5.8.7 configured -- resuming normal operations
---------
Repetido 4 veces

Sin embargo mi acces_log refleja actividad normal unas horas más hasta que acaba con las
dos líneas siguientes:
----------
80.109.208.168 - - [05/Jan/2006:12:39:32 +0100] "GET / HTTP/1.0" 200 904 "-" "-"
80.249.71.150 - - [05/Jan/2006:19:34:33 +0100] "GET / HTTP/1.0" 200 904 "-" "-"
----------

¿Alguna idea / ayuda / sugerencia?

Muchas gracias a todos
Saludos
Guimi
http://www.guimi.net

LOS PAQUETES INSTALADOS
# dpkg -l | grep apache
ii  apache2                            2.0.55-3                   next generation,
scalable, extendable web se
ii  apache2-common                     2.0.55-3                   next generation,
scalable, extendable web se
ii  apache2-doc                        2.0.55-3                   documentation for
apache2
ii  apache2-mpm-prefork                2.0.55-3                   traditional model for
Apache2
ii  apache2-utils                      2.0.55-3                   utility programs for
webservers
ii  libapache2-mod-perl2               2.0.1-4                    Integration of perl with
the Apache2 web ser
ii  libapache2-mod-php4                4.4.0-4                    server-side,
HTML-embedded scripting languag
ii  libapache2-mod-python              3.1.3-3                    An Apache module that
embeds Python within t
ii  libapache2-mod-python2.3           3.1.3-3                    An Apache 2 module that
embeds Python 2.3 wi

# dpkg -l | grep php
ii  libapache2-mod-php4                4.4.0-4                    server-side,
HTML-embedded scripting languag
ii  php4                               4.4.0-4                    server-side,
HTML-embedded scripting languag
ii  php4-common                        4.4.0-4                    Common files for
packages built from the php
ii  php4-mysql                         4.4.0-4                    MySQL module for php4



Reply to: