Underneath my log for a little back. As I'm a bit new i don't understand what happened, but my MySQL shutdown last night without me doing anything. The system was still running. I did a reboot and now MySql is up again. Can someone see from the log what is wrong?
Thanks, Saku
----------------------------- LOG
Version: '5.5.28-log' socket: '/opt/bitnami/mysql/tmp/mysql.sock' port: 3306 MySQL Community Server (GPL) 130409 12:38:27 [Note] /opt/bitnami/mysql/bin/mysqld.bin: Normal shutdown
130409 12:38:27 [Note] Event Scheduler: Purging the queue. 0 events 130409 12:38:27 InnoDB: Starting shutdown... 130409 12:38:29 InnoDB: Shutdown completed; log sequence number 763944751 130409 12:38:29 [Note] /opt/bitnami/mysql/bin/mysqld.bin: Shutdown complete
130409 12:38:29 mysqld_safe mysqld from pid file /opt/bitnami/mysql/data/mysqld.pid ended 130409 12:41:38 mysqld_safe Starting mysqld.bin daemon with databases from /opt/bitnami/mysql/data 130409 12:41:38 [Warning] The syntax '--log-slow-queries' is deprecated and will be removed in a future release. Please use '--slow-query-log'/'--slow-query-log-file' instead. 130409 12:41:39 [Note] Plugin 'FEDERATED' is disabled. 130409 12:41:39 InnoDB: The InnoDB memory heap is disabled 130409 12:41:39 InnoDB: Mutexes and rw_locks use GCC atomic builtins 130409 12:41:39 InnoDB: Compressed tables use zlib 1.2.3 130409 12:41:39 InnoDB: Using Linux native AIO 130409 12:41:39 InnoDB: Initializing buffer pool, size = 256.0M 130409 12:41:39 InnoDB: Completed initialization of buffer pool 130409 12:41:39 InnoDB: highest supported file format is Barracuda. 130409 12:41:40 InnoDB: Waiting for the background threads to start 130409 12:41:41 InnoDB: 1.1.8 started; log sequence number 763944751 130409 12:41:41 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306 130409 12:41:41 [Note] - '127.0.0.1' resolves to '127.0.0.1'; 130409 12:41:41 [Note] Server socket created on IP: '127.0.0.1'. 130409 12:41:41 [Note] Event Scheduler: Loaded 0 events 130409 12:41:41 [Note] /opt/bitnami/mysql/bin/mysqld.bin: ready for connections. Version: '5.5.28-log' socket: '/opt/bitnami/mysql/tmp/mysql.sock' port: 3306 MySQL Community Server (GPL) 130413 21:28:23 [Note] /opt/bitnami/mysql/bin/mysqld.bin: Normal shutdown
130413 21:28:23 [Note] Event Scheduler: Purging the queue. 0 events 130413 21:28:23 InnoDB: Starting shutdown... 130413 21:28:24 InnoDB: Shutdown completed; log sequence number 932399457 130413 21:28:24 [Note] /opt/bitnami/mysql/bin/mysqld.bin: Shutdown complete
130413 21:28:24 mysqld_safe mysqld from pid file /opt/bitnami/mysql/data/mysqld.pid ended 130413 21:30:19 mysqld_safe Starting mysqld.bin daemon with databases from /opt/bitnami/mysql/data 130413 21:30:20 [Warning] The syntax '--log-slow-queries' is deprecated and will be removed in a future release. Please use '--slow-query-log'/'--slow-query-log-file' instead. 130413 21:30:20 [Note] Plugin 'FEDERATED' is disabled. 130413 21:30:20 InnoDB: The InnoDB memory heap is disabled 130413 21:30:20 InnoDB: Mutexes and rw_locks use GCC atomic builtins 130413 21:30:20 InnoDB: Compressed tables use zlib 1.2.3 130413 21:30:20 InnoDB: Using Linux native AIO 130413 21:30:20 InnoDB: Initializing buffer pool, size = 16.0M 130413 21:30:20 InnoDB: Completed initialization of buffer pool 130413 21:30:20 InnoDB: highest supported file format is Barracuda. 130413 21:30:21 InnoDB: Waiting for the background threads to start 130413 21:30:22 InnoDB: 1.1.8 started; log sequence number 932399457 130413 21:30:22 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306 130413 21:30:22 [Note] - '127.0.0.1' resolves to '127.0.0.1'; 130413 21:30:22 [Note] Server socket created on IP: '127.0.0.1'. 130413 21:30:22 [Note] Event Scheduler: Loaded 0 events 130413 21:30:22 [Note] /opt/bitnami/mysql/bin/mysqld.bin: ready for connections. Version: '5.5.28-log' socket: '/opt/bitnami/mysql/tmp/mysql.sock' port: 3306 MySQL Community Server (GPL) 130425 11:31:03 [Note] /opt/bitnami/mysql/bin/mysqld.bin: Normal shutdown
130425 11:31:03 [Note] Event Scheduler: Purging the queue. 0 events 130425 11:31:05 InnoDB: Starting shutdown... 130425 11:31:07 InnoDB: Shutdown completed; log sequence number 1242219224 130425 11:31:07 [Note] /opt/bitnami/mysql/bin/mysqld.bin: Shutdown complete
130425 11:31:07 mysqld_safe mysqld from pid file /opt/bitnami/mysql/data/mysqld.pid ended 130425 11:33:47 mysqld_safe Starting mysqld.bin daemon with databases from /opt/bitnami/mysql/data 130425 11:33:47 [Warning] The syntax '--log-slow-queries' is deprecated and will be removed in a future release. Please use '--slow-query-log'/'--slow-query-log-file' instead. 130425 11:33:47 [Note] Plugin 'FEDERATED' is disabled. 130425 11:33:47 InnoDB: The InnoDB memory heap is disabled 130425 11:33:47 InnoDB: Mutexes and rw_locks use GCC atomic builtins 130425 11:33:47 InnoDB: Compressed tables use zlib 1.2.3 130425 11:33:47 InnoDB: Using Linux native AIO 130425 11:33:47 InnoDB: Initializing buffer pool, size = 256.0M 130425 11:33:48 InnoDB: Completed initialization of buffer pool 130425 11:33:48 InnoDB: highest supported file format is Barracuda. 130425 11:33:48 InnoDB: Waiting for the background threads to start 130425 11:33:49 InnoDB: 1.1.8 started; log sequence number 1242219224 130425 11:33:49 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306 130425 11:33:49 [Note] - '127.0.0.1' resolves to '127.0.0.1'; 130425 11:33:49 [Note] Server socket created on IP: '127.0.0.1'. 130425 11:33:49 [Note] Event Scheduler: Loaded 0 events 130425 11:33:49 [Note] /opt/bitnami/mysql/bin/mysqld.bin: ready for connections. Version: '5.5.28-log' socket: '/opt/bitnami/mysql/tmp/mysql.sock' port: 3306 MySQL Community Server (GPL) Killed 130425 21:30:29 mysqld_safe Number of processes running now: 0 130425 21:30:29 mysqld_safe mysqld restarted 130425 21:30:29 [Warning] The syntax '--log-slow-queries' is deprecated and will be removed in a future release. Please use '--slow-query-log'/'--slow-query-log-file' instead. 130425 21:30:30 [Note] Plugin 'FEDERATED' is disabled. 130425 21:30:30 InnoDB: The InnoDB memory heap is disabled 130425 21:30:30 InnoDB: Mutexes and rw_locks use GCC atomic builtins 130425 21:30:30 InnoDB: Compressed tables use zlib 1.2.3 130425 21:30:30 InnoDB: Using Linux native AIO 130425 21:30:30 InnoDB: Initializing buffer pool, size = 256.0M InnoDB: mmap(274726912 bytes) failed; errno 12 130425 21:30:30 InnoDB: Completed initialization of buffer pool 130425 21:30:30 InnoDB: Fatal error: cannot allocate memory for the buffer pool 130425 21:30:30 [ERROR] Plugin 'InnoDB' init function returned error. 130425 21:30:30 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 130425 21:30:30 [ERROR] Unknown/unsupported storage engine: InnoDB 130425 21:30:30 [ERROR] Aborting
130425 21:30:30 [Note] /opt/bitnami/mysql/bin/mysqld.bin: Shutdown complete
130425 21:30:30 mysqld_safe mysqld from pid file /opt/bitnami/mysql/data/mysqld.pid ended 130426 07:39:21 mysqld_safe Starting mysqld.bin daemon with databases from /opt/bitnami/mysql/data 130426 7:39:21 [Warning] The syntax '--log-slow-queries' is deprecated and will be removed in a future release. Please use '--slow-query-log'/'--slow-query-log-file' instead. 130426 7:39:21 [Note] Plugin 'FEDERATED' is disabled. 130426 7:39:21 InnoDB: The InnoDB memory heap is disabled 130426 7:39:21 InnoDB: Mutexes and rw_locks use GCC atomic builtins 130426 7:39:21 InnoDB: Compressed tables use zlib 1.2.3 130426 7:39:21 InnoDB: Using Linux native AIO 130426 7:39:21 InnoDB: Initializing buffer pool, size = 256.0M 130426 7:39:22 InnoDB: Completed initialization of buffer pool 130426 7:39:22 InnoDB: highest supported file format is Barracuda. InnoDB: Log scan progressed past the checkpoint lsn 1428836270 130426 7:39: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... InnoDB: Doing recovery: scanned up to log sequence number 1428876189 130426 7:39:23 InnoDB: Starting an apply batch of log records to the database... InnoDB: Progress in percents: 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 InnoDB: Apply batch completed 130426 7:39:23 InnoDB: Waiting for the background threads to start 130426 7:39:24 InnoDB: 1.1.8 started; log sequence number 1428876189 130426 7:39:24 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306 130426 7:39:24 [Note] - '127.0.0.1' resolves to '127.0.0.1'; 130426 7:39:24 [Note] Server socket created on IP: '127.0.0.1'. 130426 7:39:24 [Note] Event Scheduler: Loaded 0 events 130426 7:39:24 [Note] /opt/bitnami/mysql/bin/mysqld.bin: ready for connections. Version: '5.5.28-log' socket: '/opt/bitnami/mysql/tmp/mysql.sock' port: 3306 MySQL Community Server (GPL)