Hola,
mi apache ha dejado de funcionar y cuando intento arrancarlo me dice que no 
puede cargar
el modulo php4.

He probado ha reconfigurar tanto apache2 como el módulo de php 
(libapache2-mod-php4) pero
me quedo igual.

No he cambiado nada de la configuración y mi última actualización fue hace unos 
15 días.

No sé si se solucionaría instalando php5, pero de momento no quería actualizar 
porque hay
incompatibilidades que obligan a tocar los programas.

¿Alguna sugerencia?


DETALLES
Tengo una debian testing con kernel 2.6.12-1-686, apache 2.0.55-3 y php 4.4.0-4

Antes de intentar arrancar el apache2 compruebo 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.

¿Estoy haciendo algo mal?

Por cierto, no sé si tendrá algo que ver, pero 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 en 10 minutos

Sin embargo mi acces_log refleja actividad normal durante unas horas más hasta 
que acaba
con las
dos líneas siguientes, que no entiendo:
----------
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 "-" "-"
----------

LOS PAQUETES INSTALADOS
# dpkg -l | grep apache
ii  apache2                            2.0.55-3
ii  apache2-common                     2.0.55-3
ii  apache2-doc                        2.0.55-3
ii  apache2-mpm-prefork                2.0.55-3
ii  apache2-utils                      2.0.55-3
ii  libapache2-mod-perl2               2.0.1-4
ii  libapache2-mod-php4                4.4.0-4
ii  libapache2-mod-python              3.1.3-3
ii  libapache2-mod-python2.3           3.1.3-3

# dpkg -l | grep php
ii  libapache2-mod-php4                4.4.0-4
ii  php4                               4.4.0-4
ii  php4-common                        4.4.0-4
ii  php4-mysql                         4.4.0-4

De nuevo muchas gracias a todos
Saludos
Guimi
http://guimi.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Responder a