[MDEV-7646] mysqld crash Created: 2015-02-27 Updated: 2015-04-01 Due: 2015-03-27 Resolved: 2015-04-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - XtraDB |
| Affects Version/s: | 5.5.37 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Levente Farkas | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Environment: |
centos-6.6 |
||
| Description |
|
|
| Comments |
| Comment by Elena Stepanova [ 2015-02-27 ] |
|
Hi, Does it happen every time you attempt to start the server? |
| Comment by Levente Farkas [ 2015-02-27 ] |
|
it's happened every time. unfortunately it's a production database so unfortunately i can't send. |
| Comment by Elena Stepanova [ 2015-02-27 ] |
|
Apparently, the problem is related to the data being somehow corrupted after a previous crash (it says in the log that the database was not shut down normally), so it can only be investigated on this particular data. And this crash is very unusual, I don't think we have ever got any reports about the server crashing with signal 4, so we can't even make assumptions based on previous experience. Do you have a test instance where you could copy your data directory and perform some experiments which we would ask you for? If you cannot do it, you might want to try different values of innodb_force_recovery (see http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html), starting from 1 and up until you can start the server and hopefully recover most or all of your data. |
| Comment by Levente Farkas [ 2015-02-27 ] |
|
even if i delete all directory and file under /var/lib/mysql/* except the directory mysql it's still not able to start. |
| Comment by Elena Stepanova [ 2015-02-27 ] |
|
Does it fail on an empty datadir with the same error, or with a different one? Can you paste the error log from that attempt? If you could remove the data, can you maybe try creating a totally new datadir (running mysql_install_db) and see if the server starts there? Maybe there's something wrong with system tables in mysql. If it fails the same way on an empty datadir, we might need to look in a different direction. Did anything happen on your system since the last time MariaDB server started? Did you perform MariaDB upgrade, or system upgrade, or changed system configuration somehow – anything at all? |
| Comment by Elena Stepanova [ 2015-04-01 ] |
|
Closing as incomplete for now, please comment to re-open if you have further information. |