Hola Armando,

        Al parecer, con el corte en el servidor se ha corrompido la base de
datos, o algunas tablas al menos. Según se puede leer en el e-mail que
te ha llegado de tu servidor, son bastantes entradas de la BD las que se
han corrompido. Yo, en tu caso, intentaría recuperar de las bases de
datos los máximos datos posibles (esto es trabajdo de chinos), y
después, con los scripts de instalación de Drupal, reconstruiría la base
de datos y empezaría desde 0. Supongo que habrá otras soluciones, pero
ahora mismo no se me ocurre.

Al reiniciar el MySQL Daemon, chequea las tablas en busca de entradas
corruptas, y supongo que ese es el mail que te llega.

Saludos.



El sáb, 21-05-2005 a las 20:15 +0200, Armando Paz escribió:
> Hola.
> 
> Se apagó el PC y... (aún teniendo ext3)... el drupal no me funciona y recibo 
> estos mails:
> 
> From: root <[EMAIL PROTECTED]>
> Subject: WARNING: mysqlcheck has found corrupt tables
> Date: Sat, 21 May 2005 12:09:28 +0200
> To: [EMAIL PROTECTED]
> 
> drupal.cache
> warning  : Table is marked as crashed
> warning  : 1 client is using or hasn't closed the table properly
> error    : Record at pos: 10512 is not remove-marked
> error    : record delete-link-chain corrupted
> error    : Corrupt
> drupal.sessions
> warning  : Table is marked as crashed
> warning  : 1 client is using or hasn't closed the table properly
> error    : Found 294 keys of 293
> error    : Corrupt
> drupal.watchdog
> warning  : Table is marked as crashed
> warning  : 1 client is using or hasn't closed the table properly
> warning  : Size of datafile is: 46711500       Should be: 46711428
> error    : Found 54720 keys of 54719
> error    : Corrupt
> 
>  Improperly closed tables are also reported if clients are accessing
>  the tables *now*. A list of current connections is below.
> 
> +----+------------------+-----------+----+---------+------+-------+------------------+
> | Id | User             | Host      | db | Command | Time | State | Info      
>        
> |
> +----+------------------+-----------+----+---------+------+-------+------------------+
> | 5  | debian-sys-maint | localhost |    | Query   | 0    |       | show 
> processlist |
> +----+------------------+-----------+----+---------+------+-------+------------------+
> Uptime: 6  Threads: 1  Questions: 64  Slow queries: 0  Opens: 54  Flush 
> tables: 1  Open
> +tables: 45  Queries per second avg: 10.667
> ...
> 
> Y cuando intento acceder a la página de inicio, con el firefox -como siempre 
> he hecho-, recibo esto:
> 
> Fatal error: Can't open file: 'sessions.MYI'. (errno: 145) query: SELECT u.*, 
> s.*, r.name AS role FROM users u INNER JOIN sessions s ON u.uid = s.uid LEFT 
> JOIN role r ON u.rid = r.rid WHERE s.sid = '4a5d8418c9a5e209313ff1dafb049208' 
> AND u.status < 3 LIMIT 0, 1 in /usr/share/drupal/includes/database.mysql.inc 
> on line 97
> 
> ....
> 
> ¿A alguien le ha ocurrido algo parecido? ¿Cuál es la mejor forma de 
> solucionarlo? ¿Por donde empiezo?
> 
> Muchas gracias.



-- 
Fernando Membrive Guillén 
nBytes Research Labs
[EMAIL PROTECTED]


-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.5 (GNU/Linux)

mIsEQfMyugEEAK7fxhjaeOrkYZ29FvoMAdjwHvom1ojKUV3epSUMBwa3yjYuti8X
+JKuBpaoVu3KSb4bW6zYy/ha67Ch1z1Bn79q/MGTF5kq3TKjRI9jf6xWBmJbzZ2G
Udpvcw6Ssbv6cr9U1qotcq+gMQK+99Xn2qnd9nnt/iFez/Ihw4c3W6rvAAYptFRG
ZXJuYW5kbyBNZW1icml2ZSBHdWlsbMOpbiAobkJ5dGVzIFJlc2VhcmNoIExhYnMp
IDxmZXJuYW5kby5tZW1icml2ZUB0ZWxlZm9uaWNhLm5ldD6IsQQTAQIAGwUCQfMy
ugYLCQgHAwIDFQIDAxYCAQIeAQIXgAAKCRCLEj/vjhyr8Zi7BACFuWTNMmEzjl4f
pMRx1RFBwFw4wPt0zgQ8gS1Rxa+8a3mVFzIdG/5XpFzB1HmlRmO6/pCJbhfAJyRK
OhvMqzYzNMqgt9ZpdNxtpzXcQW8+VMlT5hc6A1J2fE8KTxCSAAFKYmjvTkNUr9vL
c1gRhGeJX98V453K5R0IqMIYVz9+TA==
=BiJQ
-----END PGP PUBLIC KEY BLOCK-----

Responder a