Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
Subject: mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Subject: Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
Subject: MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Subject: Re: Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
innodb mysql crash

innodb mysql crash

2007-11-07       - By Marten Lehmann

 Back
Reply:     1     2  

Hello,

today I got this in my logs and mysql stopped working.

InnoDB: http://dev.mysql.com/doc/mysql/en/InnoDB_troubleshooting_datadict.html
InnoDB: how to resolve the issue.
071107  8:46:26  InnoDB: Flushing modified pages from the buffer pool...
071107  8:46:26  InnoDB: Started; log sequence number 1 1008136481
/var/mysql/mysql-4 (See http://sql-4.ora-code.com).1.18/libexec/mysqld: ready for connections.
Version: '4.1.18-log'  socket: '/tmp/mysql.sock'  port: 3306  Source
distribution
InnoDB: Error: page n:o stored in the page read in is 538976288, should be
1644!
071107  8:46:28  InnoDB: Error: page 538976288 log sequence number 538976288
538976288
InnoDB: is in the future! Current system log sequence number 1 1008136645.
InnoDB: Your database may be corrupt.
InnoDB: Database page corruption on disk or a failed
InnoDB: file read of page 1644.
InnoDB: You may have to recover from a backup.
071107  8:46:28  InnoDB: Page dump in ascii and hex (16384 bytes):
len 16384; hex
20202020202020202020202020202020202020202020202020202020202020202020202020202020
20202020202020202020202020202020202020202020
071107  8:46:29  InnoDB: Page checksum 138226020, prior-to-4.0.14-form
checksum 3161919040
InnoDB: stored checksum 538976288, prior-to-4.0.14-form stored checksum
538976288
InnoDB: Page lsn 538976288 538976288, low 4 bytes of lsn at page end 538976288
InnoDB: Page number (if stored to page already) 538976288,
InnoDB: space id (if created with >= MySQL-4 (See http://SQL-4.ora-code.com).1.1 and stored already) 538976288
InnoDB: Database page corruption on disk or a failed
InnoDB: file read of page 1644.

So great, that mysql doesn't even tell me at which table or database to look.

InnoDB: You may have to recover from a backup.
InnoDB: It is also possible that your operating
InnoDB: system has corrupted its own file cache
InnoDB: and rebooting your computer removes the
InnoDB: error.
InnoDB: If the corrupt page is an index page
InnoDB: you can also try to fix the corruption
InnoDB: by dumping, dropping, and reimporting
InnoDB: the corrupt table. You can use CHECK
InnoDB: TABLE to scan your table for corruption.
InnoDB: See also http://dev.mysql.com/doc/mysql/en/Forcing_recovery.html
InnoDB: about forcing recovery.
InnoDB: Ending processing because of a corrupt database page.

Number of processes running now: 2
mysqld process hanging, pid 19729 - killed
mysqld process hanging, pid 19729 - killed
071107 08:46:29  mysqld restarted
071107  8:46:29 [ERROR] Can't start server: Bind on TCP/IP port: Address
already in use
071107  8:46:29 [ERROR] Do you already have another mysqld server running on
port: 3306 ?
071107  8:46:29 [ERROR] Aborting

071107  8:46:29 [Note] /var/mysql/mysql-4 (See http://sql-4.ora-code.com).1.18/libexec/mysqld: Shutdown
complete

071107 08:46:29  mysqld ended


I cannot count any more how often I had problems with innodb. I regret ever
compiled it in, but now that a lot of users are using it, I need to recover
from the problem.

But there is one major problem: All error messages and recovery documentation
of innodb sound, as if I would deal with just a few tables. But I have
hundrets of databases with thousands of tables! So there is no fast dump and
insert of tables.

Any ideas (besides from dumping everything and importing at then)?

Regards
Marten



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=mysql@(protected)