I have a server running wordpress on it.
It is running well these days, but today I found it can not connect database.
So I checked server, found mysql service was shutdown.
Then I restart , but it only work for a while, after some seconds, it shutdown again.
This is mysql log:
160508 10:07:36 [Warning] IP address '222.186.59.174' could not be resolved: Name or service not known
160508 14:08:14 [Warning] IP address '210.209.127.33' could not be resolved: Name or service not known
160508 23:08:15 [Warning] IP address '183.63.89.196' could not be resolved: Name or service not known
160509 16:08:02 [Warning] IP address '198.55.114.190' has been resolved to the host name '198.55.114.190.static.quadranet.com', which resembles IPv4-address itself.
160510 8:30:34 [Warning] IP address '222.186.134.25' could not be resolved: Name or service not known
160510 12:39:02 [Warning] IP address '118.193.255.253' could not be resolved: Name or service not known
160510 16:06:36 [Warning] IP address '118.193.218.65' could not be resolved: Name or service not known
160511 0:02:03 [Warning] IP address '116.255.183.230' could not be resolved: Name or service not known
160511 00:39:09 mysqld_safe Number of processes running now: 0
160511 00:39:09 mysqld_safe mysqld restarted
160511 0:39:10 [Note] /usr/libexec/mysqld (mysqld 5.5.47-MariaDB) starting as process 24298 ...
160511 0:39:42 InnoDB: The InnoDB memory heap is disabled
160511 0:39:42 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160511 0:39:42 InnoDB: Compressed tables use zlib 1.2.7
160511 0:39:42 InnoDB: Using Linux native AIO
160511 0:39:42 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137756672 bytes) failed; errno 12
160511 0:39:42 InnoDB: Completed initialization of buffer pool
160511 0:39:42 InnoDB: Fatal error: cannot allocate memory for the buffer pool
160511 0:39:42 [ERROR] Plugin 'InnoDB' init function returned error.
160511 0:39:42 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
160511 0:39:42 [ERROR] mysqld: Out of memory (Needed 128917504 bytes)
160511 0:39:42 [ERROR] mysqld: Out of memory (Needed 96681984 bytes)
160511 0:39:42 [ERROR] mysqld: Out of memory (Needed 72499200 bytes)
160511 00:39:44 mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended
160511 17:11:08 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160511 17:11:08 [Note] /usr/libexec/mysqld (mysqld 5.5.47-MariaDB) starting as process 24894 ...
160511 17:11:08 InnoDB: The InnoDB memory heap is disabled
160511 17:11:08 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160511 17:11:08 InnoDB: Compressed tables use zlib 1.2.7
160511 17:11:08 InnoDB: Using Linux native AIO
160511 17:11:08 InnoDB: Initializing buffer pool, size = 128.0M
160511 17:11:08 InnoDB: Completed initialization of buffer pool
160511 17:11:08 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
160511 17:11:08 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
160511 17:11:08 InnoDB: Waiting for the background threads to start
160511 17:11:09 Percona XtraDB (http://www.percona.com) 5.5.46-MariaDB-37.6 started; log sequence number 8239814
160511 17:11:09 [Note] Plugin 'FEEDBACK' is disabled.
160511 17:11:09 [Note] Server socket created on IP: '0.0.0.0'.
160511 17:11:09 [Note] Event Scheduler: Loaded 0 events
160511 17:11:09 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.47-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
160511 17:12:21 mysqld_safe Number of processes running now: 0
160511 17:12:21 mysqld_safe mysqld restarted
160511 17:12:21 [Note] /usr/libexec/mysqld (mysqld 5.5.47-MariaDB) starting as process 25104 ...
160511 17:12:21 InnoDB: The InnoDB memory heap is disabled
160511 17:12:21 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160511 17:12:21 InnoDB: Compressed tables use zlib 1.2.7
160511 17:12:21 InnoDB: Using Linux native AIO
160511 17:12:21 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137756672 bytes) failed; errno 12
160511 17:12:21 InnoDB: Completed initialization of buffer pool
160511 17:12:21 InnoDB: Fatal error: cannot allocate memory for the buffer pool
160511 17:12:21 [ERROR] Plugin 'InnoDB' init function returned error.
160511 17:12:21 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
160511 17:12:21 [ERROR] mysqld: Out of memory (Needed 128917504 bytes)
160511 17:12:21 [ERROR] mysqld: Out of memory (Needed 96681984 bytes)
160511 17:12:21 [ERROR] mysqld: Out of memory (Needed 72499200 bytes)
160511 17:12:21 [Note] Plugin 'FEEDBACK' is disabled.
160511 17:12:21 [ERROR] Unknown/unsupported storage engine: InnoDB
160511 17:12:21 [ERROR] Aborting
160511 17:12:21 [Note] /usr/libexec/mysqld: Shutdown complete
160511 17:12:21 mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended
I always see there are a lot failed login attempt when I ssh to my server, and you can see there are many ip in log, is attackers caused this problem or my server has been attacked? ?
If not, what happend to my server?
Please check your memory allocation on server.
Real cause of this problem in error log lines below:
160511 17:12:21 [ERROR] mysqld: Out of memory (Needed 128917504 bytes)
160511 17:12:21 [ERROR] mysqld: Out of memory (Needed 96681984 bytes)
160511 17:12:21 [ERROR] mysqld: Out of memory (Needed 72499200 bytes)
Related
My database crash with out of memory error ~1-2 times per day. Last crash was at 17:30 in logs and at 19:30 in metrics (different timezones).
Errors in mariadb.log:
181120 16:09:00 [Warning] IP address '185.156.177.144' could not be resolved: Name or service not known
181120 16:35:40 [Warning] IP address '58.221.58.248' could not be resolved: Name or service not known
181120 17:30:38 mysqld_safe Number of processes running now: 0
181120 17:30:38 mysqld_safe mysqld restarted
181120 17:30:41 [Warning] 'THREAD_CONCURRENCY' is deprecated and will be removed in a future release.
181120 17:30:41 [Note] /usr/libexec/mysqld (mysqld 5.5.52-MariaDB) starting as process 16636 ...
181120 17:30:41 [Warning] Changed limits: max_open_files: 1024 max_connections: 70 table_cache: 472
181120 17:30:41 InnoDB: The InnoDB memory heap is disabled
181120 17:30:41 InnoDB: Mutexes and rw_locks use GCC atomic builtins
181120 17:30:41 InnoDB: Compressed tables use zlib 1.2.7
181120 17:30:41 InnoDB: Using Linux native AIO
181120 17:30:41 InnoDB: Initializing buffer pool, size = 150.0M
181120 17:30:42 InnoDB: Completed initialization of buffer pool
181120 17:30:42 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
181120 17:30:42 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
181120 17:30:46 InnoDB: Waiting for the background threads to start
181120 17:30:47 Percona XtraDB (http://www.percona.com) 5.5.49-MariaDB-38.0 started; log sequence number 18741266161
181120 17:30:47 [Note] Plugin 'FEEDBACK' is disabled.
181120 17:30:48 [Note] Server socket created on IP: '0.0.0.0'.
181120 17:30:49 [Note] Event Scheduler: Loaded 0 events
181120 17:30:49 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.52-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
181120 17:30:53 [ERROR] mysqld: Table './admin_wikis/wp_posts' is marked as crashed and should be repaired
181120 17:30:53 [Warning] Checking table: './admin_wikis/wp_posts'
181120 17:31:58 mysqld_safe Number of processes running now: 0
181120 17:31:58 mysqld_safe mysqld restarted
181120 17:32:01 [Warning] 'THREAD_CONCURRENCY' is deprecated and will be removed in a future release.
181120 17:32:01 [Note] /usr/libexec/mysqld (mysqld 5.5.52-MariaDB) starting as process 16899 ...
181120 17:32:01 [Warning] Changed limits: max_open_files: 1024 max_connections: 70 table_cache: 472
181120 17:32:01 InnoDB: The InnoDB memory heap is disabled
181120 17:32:01 InnoDB: Mutexes and rw_locks use GCC atomic builtins
181120 17:32:01 InnoDB: Compressed tables use zlib 1.2.7
181120 17:32:01 InnoDB: Using Linux native AIO
181120 17:32:01 InnoDB: Initializing buffer pool, size = 150.0M
InnoDB: mmap(161447936 bytes) failed; errno 12
181120 17:32:01 InnoDB: Completed initialization of buffer pool
181120 17:32:01 InnoDB: Fatal error: cannot allocate memory for the buffer pool
181120 17:32:01 [ERROR] Plugin 'InnoDB' init function returned error.
181120 17:32:01 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
181120 17:32:01 [ERROR] mysqld: Out of memory (Needed 128917504 bytes)
181120 17:32:01 [ERROR] mysqld: Out of memory (Needed 96681984 bytes)
181120 17:32:01 [ERROR] mysqld: Out of memory (Needed 72499200 bytes)
181120 17:32:01 [Note] Plugin 'FEEDBACK' is disabled.
181120 17:32:02 [ERROR] Unknown/unsupported storage engine: InnoDB
181120 17:32:02 [ERROR] Aborting
181120 17:32:02 [Note] /usr/libexec/mysqld: Shutdown complete
There is nothing interesing in apache log in this time. Event requests count
$ sudo grep -r "GET \/" /etc/httpd/logs/domains/ | cut -d' ' -f4 | sed 's/\[//;s/\]//;s/\"//' | cut -d':' -f1-2 | sort | uniq -c
459 19/Nov/2018:03
426 19/Nov/2018:04
239 19/Nov/2018:05
350 19/Nov/2018:06
381 19/Nov/2018:07
415 19/Nov/2018:08
778 19/Nov/2018:09
500 19/Nov/2018:10
450 19/Nov/2018:11
633 19/Nov/2018:12
458 19/Nov/2018:13
527 19/Nov/2018:14
713 19/Nov/2018:15
654 19/Nov/2018:16
573 19/Nov/2018:17
413 19/Nov/2018:18
471 19/Nov/2018:19
499 19/Nov/2018:20
661 19/Nov/2018:21
452 19/Nov/2018:22
773 19/Nov/2018:23
934 20/Nov/2018:00
295 20/Nov/2018:01
369 20/Nov/2018:02
441 20/Nov/2018:03
384 20/Nov/2018:04
927 20/Nov/2018:05
524 20/Nov/2018:06
972 20/Nov/2018:07
612 20/Nov/2018:08
609 20/Nov/2018:09
677 20/Nov/2018:10
753 20/Nov/2018:11
615 20/Nov/2018:12
717 20/Nov/2018:13
474 20/Nov/2018:14
973 20/Nov/2018:15
510 20/Nov/2018:16
534 20/Nov/2018:17
415 20/Nov/2018:18
90 20/Nov/2018:19
I get some metrics:
Processes before crash:
Processes in the moment of crash:
Memory and CPU usage:
Total RAM 3.6G. Does someone have any ideas?
httpd is the largest memory user; decrease its settings, especially the number of 'children' it is willing to spawn. (Under 10 should suffice for most small installations.)
max_connections: 70 table_cache: 472 -- Cut each of those in half; this will help a little with memory allocation.
Next time the CPU hits 100%, do SHOW FULL PROCESSLIST; in MySQL. That may give you a clue of what runaway queries you have. Then we can focus on them. If that fails, turn on the slowlog; it will catch some of them.
Consider moving to an 8GB server. (Is this a cloud server?)
Im not sure why this is but my Wordpress Site keeps crashing with the "There was an error establishing a database connection" error.
Restarting the mysql service seems to temporarily fix this problem but it inevitably crashes again and again.
I thought it may be a memory issue so I upgraded my instance from 1gb to 2gb. But nothing seems to have changed.. I'd rather not pay the massive extra cost for this if it isn't memory related.
Here is some of the mysql log file relating to the crash. All the crashes seem to contain the following:
160519 13:03:21 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160519 13:03:21 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160519 13:03:21 [Note] /usr/libexec/mysql55/mysqld (mysqld 5.5.46) starting as process 18275 ...
160519 13:03:21 [Note] Plugin 'FEDERATED' is disabled.
160519 13:03:21 InnoDB: The InnoDB memory heap is disabled
160519 13:03:21 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160519 13:03:21 InnoDB: Compressed tables use zlib 1.2.8
160519 13:03:21 InnoDB: Using Linux native AIO
160519 13:03:21 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
160519 13:03:21 InnoDB: Completed initialization of buffer pool
160519 13:03:21 InnoDB: Fatal error: cannot allocate memory for the buffer pool
160519 13:03:21 [ERROR] Plugin 'InnoDB' init function returned error.
160519 13:03:21 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
160519 13:03:21 [ERROR] Unknown/unsupported storage engine: InnoDB
160519 13:03:21 [ERROR] Aborting
160519 13:03:21 [Note] /usr/libexec/mysql55/mysqld: Shutdown complete
****UPDATE****
So I have changed the size of the innodb_buffer_pool_size as mentioned below and also made a swapfile. My site still crashes every few hours and I am slowly losing the will to live.
160507 16:28:20 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160507 16:28:20 [Note] /usr/libexec/mysql55/mysqld (mysqld 5.5.46) starting as process 26457 ...
160507 16:28:20 [Note] Plugin 'FEDERATED' is disabled.
160507 16:28:20 InnoDB: The InnoDB memory heap is disabled
160507 16:28:20 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160507 16:28:20 InnoDB: Compressed tables use zlib 1.2.8
160507 16:28:20 InnoDB: Using Linux native AIO
160507 16:28:20 InnoDB: Initializing buffer pool, size = 128.0M
160507 16:28:20 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
160507 16:28:20 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
160507 16:28:21 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
160507 16:28:21 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
160507 16:28:21 InnoDB: Waiting for the background threads to start
160507 16:28:22 InnoDB: 5.5.46 started; log sequence number 0
160507 16:28:22 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160507 16:28:22 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160507 16:28:22 [Note] Server socket created on IP: '0.0.0.0'.
160507 16:28:22 [Note] Event Scheduler: Loaded 0 events
160507 16:28:22 [Note] /usr/libexec/mysql55/mysqld: ready for connections.
Version: '5.5.46' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
160507 17:56:05 [Note] /usr/libexec/mysql55/mysqld: Normal shutdown
160507 17:56:05 [Note] Event Scheduler: Purging the queue. 0 events
160507 17:56:05 InnoDB: Starting shutdown...
160507 17:56:06 InnoDB: Shutdown completed; log sequence number 2733606
160507 17:56:06 [Note] /usr/libexec/mysql55/mysqld: Shutdown complete
Your buffer size is too high. It probably does not need to be that size, see this answer on dba.stackexchange.com
https://dba.stackexchange.com/questions/27328/how-large-should-be-mysql-innodb-buffer-pool-size
If you are using Amazon Linux, according to mysql docs (https://dev.mysql.com/doc/refman/5.7/en/ha-vm-aws-setup.html) the setting for this is in /etc/my.cnf
Probably altering the setting in this file to innodb_buffer_pool_size = 10M would fix your problem
The above fixes the specific problem shown in the logs above. If there is another problem being logged which concerns memory use then add a 4GiB swapfile with these commands
/bin/dd if=/dev/zero of=/swapfile bs=1M count=4096; /sbin/mkswap /swapfile; /sbin/swapon /swapfile
Using swap isn't magic it will allow your system to run slow and bloated. However, if this gets you over "blips" in memory usage, it could be good
I have installed Centos on Amazon EC2 .On Centos i installed apache and mysql too . The Mysql server goes down by giving this message
160128 17:26:45 [Warning] IP address 'xx.xx.xx.xx' could not be resolved: Name or service not known
160129 02:29:52 mysqld_safe Number of processes running now: 0
160129 02:29:52 mysqld_safe mysqld restarted
160129 2:30:07 [Note] /usr/libexec/mysql55/mysqld (mysqld 5.5.45) starting as process 20398 ...
160129 2:30:07 [Note] Plugin 'FEDERATED' is disabled.
160129 2:30:07 InnoDB: The InnoDB memory heap is disabled
160129 2:30:07 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160129 2:30:07 InnoDB: Compressed tables use zlib 1.2.8
160129 2:30:07 InnoDB: Using Linux native AIO
160129 2:30:10 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
160129 2:30:10 InnoDB: Completed initialization of buffer pool
160129 2:30:10 InnoDB: Fatal error: cannot allocate memory for the buffer pool
160129 2:30:10 [ERROR] Plugin 'InnoDB' init function returned error.
160129 2:30:10 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
160129 2:30:10 [ERROR] Unknown/unsupported storage engine: InnoDB
160129 2:30:10 [ERROR] Aborting
160129 2:30:10 [Note] /usr/libexec/mysql55/mysqld: Shutdown complete
160129 02:30:10 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
Can anyone tell me whats the exact issue . Thanks
I have the same configuration with the following link - Wordpress running on AWS EC2 micro instance with Linux AMI, so implement the answers recommended by adding swapfile. It seems not working properly still. It keeps crashing every 3 - 5 days, so I have to restart it by "sudo service mysqld restart".
Amazon EC2, mysql aborting start because InnoDB: mmap (x bytes) failed; errno 12
my configuration /etc/my.cnf looks like this:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mysqld according to the
# instructions in http://fedoraproject.org/wiki/Systemd
innodb_buffer_pool_size = 128M
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
And free -m looks like this.
total used free shared buffers cached
Mem: 996 134 861 0 2 16
-/+ buffers/cache: 116 880
Swap: 1023 40 983
I attach /var/log/mysqld.log of past few days. Appreciated to receive recommendations.
160103 04:26:52 mysqld_safe Number of processes running now: 0
160103 04:26:52 mysqld_safe mysqld restarted
160103 4:26:54 [Note] Plugin 'FEDERATED' is disabled.
160103 4:26:54 InnoDB: The InnoDB memory heap is disabled
160103 4:26:54 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160103 4:26:54 InnoDB: Compressed tables use zlib 1.2.7
160103 4:26:54 InnoDB: Using Linux native AIO
160103 4:26:54 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
160103 4:26:54 InnoDB: Completed initialization of buffer pool
160103 4:26:54 InnoDB: Fatal error: cannot allocate memory for the buffer pool
160103 4:26:54 [ERROR] Plugin 'InnoDB' init function returned error.
160103 4:26:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
160103 4:26:54 [ERROR] Unknown/unsupported storage engine: InnoDB
160103 4:26:54 [ERROR] Aborting
160103 4:26:54 [Note] /usr/libexec/mysqld: Shutdown complete
160103 04:26:54 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160103 04:38:51 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160103 4:38:51 [Note] Plugin 'FEDERATED' is disabled.
160103 4:38:51 InnoDB: The InnoDB memory heap is disabled
160103 4:38:51 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160103 4:38:51 InnoDB: Compressed tables use zlib 1.2.7
160103 4:38:51 InnoDB: Using Linux native AIO
160103 4:38:51 InnoDB: Initializing buffer pool, size = 128.0M
160103 4:38:51 InnoDB: Completed initialization of buffer pool
160103 4:38:51 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
160103 4:38:51 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
160103 4:38:52 InnoDB: Waiting for the background threads to start
160103 4:38:53 InnoDB: 5.5.42 started; log sequence number 189468094
160103 4:38:53 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160103 4:38:53 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160103 4:38:53 [Note] Server socket created on IP: '0.0.0.0'.
160103 4:38:53 [Note] Event Scheduler: Loaded 0 events
160103 4:38:53 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.42' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
160103 04:40:41 mysqld_safe Number of processes running now: 0
160103 04:40:41 mysqld_safe mysqld restarted
160103 4:40:43 [Note] Plugin 'FEDERATED' is disabled.
160103 4:40:44 InnoDB: The InnoDB memory heap is disabled
160103 4:40:44 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160103 4:40:44 InnoDB: Compressed tables use zlib 1.2.7
160103 4:40:44 InnoDB: Using Linux native AIO
160103 4:40:44 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
160103 4:40:44 InnoDB: Completed initialization of buffer pool
160103 4:40:44 InnoDB: Fatal error: cannot allocate memory for the buffer pool
160103 4:40:44 [ERROR] Plugin 'InnoDB' init function returned error.
160103 4:40:44 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
160103 4:40:44 [ERROR] Unknown/unsupported storage engine: InnoDB
160103 4:40:44 [ERROR] Aborting
160103 4:40:45 [Note] /usr/libexec/mysqld: Shutdown complete
160103 04:40:46 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160103 04:42:22 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160103 4:42:22 [Note] Plugin 'FEDERATED' is disabled.
160103 4:42:22 InnoDB: The InnoDB memory heap is disabled
160103 4:42:22 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160103 4:42:22 InnoDB: Compressed tables use zlib 1.2.7
160103 4:42:22 InnoDB: Using Linux native AIO
160103 4:42:22 InnoDB: Initializing buffer pool, size = 128.0M
160103 4:42:22 InnoDB: Completed initialization of buffer pool
160103 4:42:22 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
160103 4:42:22 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
160103 4:42:22 InnoDB: Waiting for the background threads to start
160103 4:42:23 InnoDB: 5.5.42 started; log sequence number 189494130
160103 4:42:23 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160103 4:42:23 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160103 4:42:23 [Note] Server socket created on IP: '0.0.0.0'.
160103 4:42:23 [Note] Event Scheduler: Loaded 0 events
160103 4:42:23 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.42' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
160105 3:28:14 [Note] /usr/libexec/mysqld: Normal shutdown
160105 3:28:14 [Note] Event Scheduler: Purging the queue. 0 events
160105 3:28:14 InnoDB: Starting shutdown...
160105 3:28:17 InnoDB: Shutdown completed; log sequence number 204674622
160105 3:28:17 [Note] /usr/libexec/mysqld: Shutdown complete
160105 03:28:17 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160105 03:28:19 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160105 3:28:19 [Note] Plugin 'FEDERATED' is disabled.
160105 3:28:19 InnoDB: The InnoDB memory heap is disabled
160105 3:28:19 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160105 3:28:19 InnoDB: Compressed tables use zlib 1.2.7
160105 3:28:19 InnoDB: Using Linux native AIO
160105 3:28:19 InnoDB: Initializing buffer pool, size = 128.0M
160105 3:28:19 InnoDB: Completed initialization of buffer pool
160105 3:28:19 InnoDB: highest supported file format is Barracuda.
160105 3:28:19 InnoDB: Waiting for the background threads to start
160105 3:28:20 InnoDB: 5.5.42 started; log sequence number 204674622
160105 3:28:20 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160105 3:28:20 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160105 3:28:20 [Note] Server socket created on IP: '0.0.0.0'.
160105 3:28:20 [Note] Event Scheduler: Loaded 0 events
160105 3:28:20 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.42' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
160109 09:28:55 mysqld_safe Number of processes running now: 0
160109 09:28:55 mysqld_safe mysqld restarted
160109 9:29:02 [Note] Plugin 'FEDERATED' is disabled.
160109 9:29:03 InnoDB: The InnoDB memory heap is disabled
160109 9:29:03 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160109 9:29:03 InnoDB: Compressed tables use zlib 1.2.7
160109 9:29:03 InnoDB: Using Linux native AIO
160109 9:29:03 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
160109 9:29:03 InnoDB: Completed initialization of buffer pool
160109 9:29:03 InnoDB: Fatal error: cannot allocate memory for the buffer pool
160109 9:29:03 [ERROR] Plugin 'InnoDB' init function returned error.
160109 9:29:03 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
160109 9:29:03 [ERROR] Unknown/unsupported storage engine: InnoDB
160109 9:29:03 [ERROR] Aborting
160109 9:29:03 [Note] /usr/libexec/mysqld: Shutdown complete
160109 09:29:04 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160109 12:11:23 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160109 12:11:23 [Note] Plugin 'FEDERATED' is disabled.
160109 12:11:23 InnoDB: The InnoDB memory heap is disabled
160109 12:11:23 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160109 12:11:23 InnoDB: Compressed tables use zlib 1.2.7
160109 12:11:23 InnoDB: Using Linux native AIO
160109 12:11:23 InnoDB: Initializing buffer pool, size = 128.0M
160109 12:11:23 InnoDB: Completed initialization of buffer pool
160109 12:11:23 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
160109 12:11:23 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
160109 12:11:23 InnoDB: Waiting for the background threads to start
160109 12:11:24 InnoDB: 5.5.42 started; log sequence number 209589920
160109 12:11:24 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160109 12:11:24 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160109 12:11:24 [Note] Server socket created on IP: '0.0.0.0'.
160109 12:11:24 [Note] Event Scheduler: Loaded 0 events
160109 12:11:24 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.42' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
160109 13:22:23 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160109 13:22:24 [Note] Plugin 'FEDERATED' is disabled.
160109 13:22:24 InnoDB: The InnoDB memory heap is disabled
160109 13:22:24 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160109 13:22:24 InnoDB: Compressed tables use zlib 1.2.7
160109 13:22:24 InnoDB: Using Linux native AIO
160109 13:22:24 InnoDB: Initializing buffer pool, size = 128.0M
160109 13:22:24 InnoDB: Completed initialization of buffer pool
160109 13:22:24 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
160109 13:22:24 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
160109 13:22:24 InnoDB: Waiting for the background threads to start
160109 13:22:25 InnoDB: 5.5.42 started; log sequence number 209621895
160109 13:22:25 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160109 13:22:25 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160109 13:22:25 [Note] Server socket created on IP: '0.0.0.0'.
160109 13:22:25 [Note] Event Scheduler: Loaded 0 events
160109 13:22:25 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.42' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
160109 13:22:31 [Note] /usr/libexec/mysqld: Normal shutdown
160109 13:22:31 [Note] Event Scheduler: Purging the queue. 0 events
160109 13:22:33 InnoDB: Starting shutdown...
160109 13:22:35 InnoDB: Shutdown completed; log sequence number 209634722
160109 13:22:35 [Note] /usr/libexec/mysqld: Shutdown complete
160109 13:22:36 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160109 13:22:37 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160109 13:22:37 [Note] Plugin 'FEDERATED' is disabled.
160109 13:22:37 InnoDB: The InnoDB memory heap is disabled
160109 13:22:37 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160109 13:22:37 InnoDB: Compressed tables use zlib 1.2.7
160109 13:22:37 InnoDB: Using Linux native AIO
160109 13:22:37 InnoDB: Initializing buffer pool, size = 128.0M
160109 13:22:37 InnoDB: Completed initialization of buffer pool
160109 13:22:37 InnoDB: highest supported file format is Barracuda.
160109 13:22:37 InnoDB: Waiting for the background threads to start
160109 13:22:38 InnoDB: 5.5.42 started; log sequence number 209634722
160109 13:22:38 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160109 13:22:38 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160109 13:22:38 [Note] Server socket created on IP: '0.0.0.0'.
160109 13:22:38 [Note] Event Scheduler: Loaded 0 events
160109 13:22:38 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.42' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
160109 13:32:02 mysqld_safe Number of processes running now: 0
160109 13:32:02 mysqld_safe mysqld restarted
160109 13:32:05 [Note] Plugin 'FEDERATED' is disabled.
160109 13:32:06 InnoDB: The InnoDB memory heap is disabled
160109 13:32:06 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160109 13:32:06 InnoDB: Compressed tables use zlib 1.2.7
160109 13:32:06 InnoDB: Using Linux native AIO
160109 13:32:06 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
160109 13:32:06 InnoDB: Completed initialization of buffer pool
160109 13:32:06 InnoDB: Fatal error: cannot allocate memory for the buffer pool
160109 13:32:06 [ERROR] Plugin 'InnoDB' init function returned error.
160109 13:32:06 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
160109 13:32:06 [ERROR] Unknown/unsupported storage engine: InnoDB
160109 13:32:06 [ERROR] Aborting
160109 13:32:07 [Note] /usr/libexec/mysqld: Shutdown complete
160109 13:32:08 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160109 13:40:18 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160109 13:40:18 [Note] Plugin 'FEDERATED' is disabled.
160109 13:40:18 InnoDB: The InnoDB memory heap is disabled
160109 13:40:18 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160109 13:40:18 InnoDB: Compressed tables use zlib 1.2.7
160109 13:40:18 InnoDB: Using Linux native AIO
160109 13:40:18 InnoDB: Initializing buffer pool, size = 128.0M
160109 13:40:18 InnoDB: Completed initialization of buffer pool
160109 13:40:18 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
160109 13:40:18 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
160109 13:40:18 InnoDB: Waiting for the background threads to start
160109 13:40:19 InnoDB: 5.5.42 started; log sequence number 209690481
160109 13:40:19 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160109 13:40:19 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160109 13:40:19 [Note] Server socket created on IP: '0.0.0.0'.
160109 13:40:19 [Note] Event Scheduler: Loaded 0 events
160109 13:40:19 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.42' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
160109 13:43:42 mysqld_safe Number of processes running now: 0
160109 13:43:42 mysqld_safe mysqld restarted
160109 13:43:46 [Note] Plugin 'FEDERATED' is disabled.
160109 13:43:47 InnoDB: The InnoDB memory heap is disabled
160109 13:43:47 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160109 13:43:47 InnoDB: Compressed tables use zlib 1.2.7
160109 13:43:47 InnoDB: Using Linux native AIO
160109 13:43:47 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
160109 13:43:47 InnoDB: Completed initialization of buffer pool
160109 13:43:47 InnoDB: Fatal error: cannot allocate memory for the buffer pool
160109 13:43:47 [ERROR] Plugin 'InnoDB' init function returned error.
160109 13:43:47 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
160109 13:43:47 [ERROR] Unknown/unsupported storage engine: InnoDB
160109 13:43:47 [ERROR] Aborting
160109 13:43:47 [Note] /usr/libexec/mysqld: Shutdown complete
160109 13:43:49 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
Recently My production server was corrupted due to maintenance shutdown by digital ocean. When we trying to recover our database we couldn't access our droplet. Somehow we managed to recover these (ibdata1, ib_logfile0, ib_logfile1 and some .frm) files. When i copied this files to my new mysql server(in another machine), I could't start the mysql server. I got this output
sudo service mysql restart
mysql stop/waiting
start: Job failed to start
I checked the log file and i got this error,
151019 8:55:27 [Warning] Using unique option prefix myisam-recover instead of $
151019 8:55:27 [Note] Plugin 'FEDERATED' is disabled.
151019 8:55:27 InnoDB: The InnoDB memory heap is disabled
151019 8:55:27 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151019 8:55:27 InnoDB: Compressed tables use zlib 1.2.8
151019 8:55:27 InnoDB: Using Linux native AIO
151019 8:55:27 InnoDB: Initializing buffer pool, size = 128.0M
151019 8:55:27 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 50331648 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
151019 8:55:27 [ERROR] Plugin 'InnoDB' init function returned error.
151019 8:55:27 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151019 8:55:27 [ERROR] Unknown/unsupported storage engine: InnoDB
151019 8:55:27 [ERROR] Aborting
151019 8:55:27 [Note] /usr/sbin/mysqld: Shutdown complete
151019 8:55:28 [Warning] Using unique option prefix myisam-recover instead of $
151019 8:55:28 [Note] Plugin 'FEDERATED' is disabled.
151019 8:55:28 InnoDB: The InnoDB memory heap is disabled
151019 8:55:28 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151019 8:55:28 InnoDB: Compressed tables use zlib 1.2.8
151019 8:55:28 InnoDB: Using Linux native AIO
151019 8:55:28 InnoDB: Initializing buffer pool, size = 128.0M
151019 8:55:28 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 50331648 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
151019 8:55:28 [ERROR] Plugin 'InnoDB' init function returned error.
151019 8:55:28 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151019 8:55:28 [ERROR] Unknown/unsupported storage engine: InnoDB
151019 8:55:28 [ERROR] Aborting
151019 8:55:28 [Note] /usr/sbin/mysqld: Shutdown complete
151019 8:55:29 [Warning] Using unique option prefix myisam-recover instead of $
151019 8:55:29 [Note] Plugin 'FEDERATED' is disabled.
151019 8:55:29 InnoDB: The InnoDB memory heap is disabled
151019 8:55:29 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151019 8:55:29 InnoDB: Compressed tables use zlib 1.2.8
151019 8:55:29 InnoDB: Using Linux native AIO
151019 8:55:29 InnoDB: Initializing buffer pool, size = 128.0M
151019 8:55:29 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 50331648 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
151019 8:55:29 [ERROR] Plugin 'InnoDB' init function returned error.
151019 8:55:29 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151019 8:55:29 [ERROR] Unknown/unsupported storage engine: InnoDB
151019 8:55:29 [ERROR] Aborting
151019 8:55:29 [Note] /usr/sbin/mysqld: Shutdown complete
I tried adding innodb_log_file_size= 50331648 as suggested by #akuzminsky
Then I got this error log.
151022 6:54:13 [Warning] Using unique option prefix myisam-recover instead of $
151022 6:54:13 [Note] Plugin 'FEDERATED' is disabled.
151022 6:54:13 InnoDB: The InnoDB memory heap is disabled
151022 6:54:13 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151022 6:54:13 InnoDB: Compressed tables use zlib 1.2.8
151022 6:54:13 InnoDB: Using Linux native AIO
151022 6:54:13 InnoDB: Initializing buffer pool, size = 128.0M
151022 6:54:13 InnoDB: Completed initialization of buffer pool
151022 6:54:13 InnoDB: highest supported file format is Barracuda.
InnoDB: Log scan progressed past the checkpoint lsn 15379293
151022 6:54:13 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Error: space header page consists of zero bytes in file ./toucan/ormcli$
InnoDB: Error: space header page consists of zero bytes in file ./toucan/catego$
InnoDB: Error: space header page consists of zero bytes in file ./toucan/survey$
InnoDB: Error: space header page consists of zero bytes in file ./toucan/compla$
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 15382291
InnoDB: Page directory corruption: infimum not pointed to
151022 6:54:13 InnoDB: Page dump in ascii and hex (16384 bytes):
len 16384; hex 10cfd0d80000000000000000000000000000000000e9e915000800000000001$
InnoDB: End of page dump
151022 6:54:13 InnoDB: Page checksum 282054872, prior-to-4.0.14-form checksum$
InnoDB: stored checksum 282054872, prior-to-4.0.14-form stored checksum 3468306$
InnoDB: Page lsn 0 15329557, low 4 bytes of lsn at page end 15329557
InnoDB: Page number (if stored to page already) 0,
InnoDB: space id (if created with >= MySQL-4.1.1 and stored already) 0
InnoDB: Page may be a file space header page
10:54:13 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
key_buffer_size=16777216
read_buffer_size=131072
max_used_connections=0
max_threads=151
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 346701 K $
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0 thread_stack 0x30000
/usr/sbin/mysqld(my_print_stacktrace+0x20)[0x7fa4d90e2f10]
/usr/sbin/mysqld(handle_fatal_signal+0x3d5)[0x7fa4d8fcd175]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7fa4d7d5d340]
/usr/sbin/mysqld(+0x5f058a)[0x7fa4d91e258a]
/usr/sbin/mysqld(+0x56c44e)[0x7fa4d915e44e]
/usr/sbin/mysqld(+0x576137)[0x7fa4d9168137]
/usr/sbin/mysqld(+0x5a5632)[0x7fa4d9197632]
/usr/sbin/mysqld(+0x5a6699)[0x7fa4d9198699]
/usr/sbin/mysqld(+0x591ad3)[0x7fa4d9183ad3]
/usr/sbin/mysqld(+0x542a1a)[0x7fa4d9134a1a]
/usr/sbin/mysqld(+0x511d48)[0x7fa4d9103d48]
/usr/sbin/mysqld(_Z24ha_initialize_handlertonP13st_plugin_int+0x41)[0x7fa4d8fcf$
/usr/sbin/mysqld(+0x302221)[0x7fa4d8ef4221]
/usr/sbin/mysqld(_Z11plugin_initPiPPci+0x92a)[0x7fa4d8ef821a]
/usr/sbin/mysqld(+0x28ac5b)[0x7fa4d8e7cc5b]
/usr/sbin/mysqld(_Z11mysqld_mainiPPc+0x45b)[0x7fa4d8e815db]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fa4d739fec5]
/usr/sbin/mysqld(+0x286b18)[0x7fa4d8e78b18]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
Please help me to resolve this.
Thanks in advance.
Note lines in the error log:
InnoDB: Error: log file ./ib_logfile0 is of different size 0 50331648 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
The actual size of the redo log file differs from the size in MySQL config.
Add this line to my.cnf
innodb_log_file_size= 50331648
If the tablespace is corrupted you'll still have to heal it. But at least MySQL won't stop at this step.