mysql启动主机挂了_mysql经常挂掉,而且开启不了,重启主机又正常了。附日志...

这篇日志记录了MySQL数据库的启动过程,包括FEDERATED插件的禁用,InnoDB缓冲池的初始化,以及在启动时遇到的问题。在一次非正常关闭后,MySQL进行了崩溃恢复,读取表空间信息并完成了日志序列号的同步。然而,在后续的启动尝试中,由于内存分配失败导致InnoDB存储引擎初始化失败,服务器无法启动。
摘要由CSDN通过智能技术生成

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

141211 10:50:25 mysqld_safe Starting mysqld daemon with databases from /alidata/server/mysql/data

141211 10:50:26 [Note] Plugin 'FEDERATED' is disabled.

141211 10:50:26 InnoDB: The InnoDB memory heap is disabled

141211 10:50:26 InnoDB: Mutexes and rw_locks use GCC atomic builtins

141211 10:50:26 InnoDB: Compressed tables use zlib 1.2.3

141211 10:50:26 InnoDB: Using Linux native AIO

141211 10:50:26 InnoDB: Initializing buffer pool, size = 128.0M

141211 10:50:26 InnoDB: Completed initialization of buffer pool

141211 10:50:26 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!

141211 10:50:26 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...

141211 10:50:27 InnoDB: Waiting for the background threads to start

141211 10:50:28 InnoDB: 5.5.37 started; log sequence number 1595675

141211 10:50:28 [Note] Recovering after a crash using mysql-bin

141211 10:50:28 [Note] Starting crash recovery...

141211 10:50:28 [Note] Crash recovery finished.

141211 10:50:28 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306

141211 10:50:28 [Note] - '0.0.0.0' resolves to '0.0.0.0';

141211 10:50:28 [Note] Server socket created on IP: '0.0.0.0'.

141211 10:50:28 [Note] Event Scheduler: Loaded 0 events

141211 10:50:28 [Note] /alidata/server/mysql/bin/mysqld: ready for connections.

Version: '5.5.37-log' socket: '/tmp/mysql.sock' port: 3306 MySQL Community Server (GPL)

141211 10:53:25 [Note] /alidata/server/mysql/bin/mysqld: Normal shutdown

141211 10:53:25 [Note] Event Scheduler: Purging the queue. 0 events

141211 10:53:25 InnoDB: Starting shutdown...

141211 10:53:26 InnoDB: Shutdown completed; log sequence number 1595675

141211 10:53:26 [Note] /alidata/server/mysql/bin/mysqld: Shutdown complete

141211 10:53:26 mysqld_safe mysqld from pid file /alidata/server/mysql/data/iZ280q00p7cZ.pid ended

141211 10:57:45 mysqld_safe Starting mysqld daemon with databases from /alidata/server/mysql/data

141211 10:57:46 [Note] Plugin 'FEDERATED' is disabled.

141211 10:57:46 InnoDB: The InnoDB memory heap is disabled

141211 10:57:46 InnoDB: Mutexes and rw_locks use GCC atomic builtins

141211 10:57:46 InnoDB: Compressed tables use zlib 1.2.3

141211 10:57:46 InnoDB: Using Linux native AIO

141211 10:57:46 InnoDB: Initializing buffer pool, size = 128.0M

141211 10:57:46 InnoDB: Completed initialization of buffer pool

141211 10:57:46 InnoDB: highest supported file format is Barracuda.

141211 10:57:46 InnoDB: Waiting for the background threads to start

141211 10:57:47 InnoDB: 5.5.37 started; log sequence number 1595675

141211 10:57:47 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306

141211 10:57:47 [Note] - '0.0.0.0' resolves to '0.0.0.0';

141211 10:57:47 [Note] Server socket created on IP: '0.0.0.0'.

141211 10:57:47 [Note] Event Scheduler: Loaded 0 events

141211 10:57:47 [Note] /alidata/server/mysql/bin/mysqld: ready for connections.

Version: '5.5.37-log' socket: '/tmp/mysql.sock' port: 3306 MySQL Community Server (GPL)

141213 21:56:24 [Warning] IP address '42.156.250.117' could not be resolved: Name or service not known

141215 0:09:33 [Warning] IP address '107.150.52.84' could not be resolved: Name or service not known

141215 2:23:23 [Warning] IP address '114.113.55.141' could not be resolved: Name or service not known

141215 16:43:01 [Warning] IP address '61.156.44.98' could not be resolved: Name or service not known

141216 21:56:28 [Warning] IP address '42.120.142.220' could not be resolved: Name or service not known

141217 11:07:01 mysqld_safe Number of processes running now: 0

141217 11:07:01 mysqld_safe mysqld restarted

141217 11:07:01 [Note] Plugin 'FEDERATED' is disabled.

141217 11:07:01 InnoDB: The InnoDB memory heap is disabled

141217 11:07:01 InnoDB: Mutexes and rw_locks use GCC atomic builtins

141217 11:07:01 InnoDB: Compressed tables use zlib 1.2.3

141217 11:07:01 InnoDB: Using Linux native AIO

141217 11:07:01 InnoDB: Initializing buffer pool, size = 128.0M

InnoDB: mmap(137363456 bytes) failed; errno 12

141217 11:07:01 InnoDB: Completed initialization of buffer pool

141217 11:07:01 InnoDB: Fatal error: cannot allocate memory for the buffer pool

141217 11:07:01 [ERROR] Plugin 'InnoDB' init function returned error.

141217 11:07:01 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.

141217 11:07:01 [ERROR] Unknown/unsupported storage engine: InnoDB

141217 11:07:01 [ERROR] Aborting

141217 11:07:01 [Note] /alidata/server/mysql/bin/mysqld: Shutdown complete

141217 11:07:01 mysqld_safe mysqld from pid file /alidata/server/mysql/data/iZ280q00p7cZ.pid ended

141217 11:09:15 mysqld_safe Starting mysqld daemon with databases from /alidata/server/mysql/data

141217 11:09:15 [Note] Plugin 'FEDERATED' is disabled.

141217 11:09:15 InnoDB: The InnoDB memory heap is disabled

141217 11:09:15 InnoDB: Mutexes and rw_locks use GCC atomic builtins

141217 11:09:15 InnoDB: Compressed tables use zlib 1.2.3

141217 11:09:15 InnoDB: Using Linux native AIO

141217 11:09:15 InnoDB: Initializing buffer pool, size = 128.0M

InnoDB: mmap(137363456 bytes) failed; errno 12

141217 11:09:15 InnoDB: Completed initialization of buffer pool

141217 11:09:15 InnoDB: Fatal error: cannot allocate memory for the buffer pool

141217 11:09:15 [ERROR] Plugin 'InnoDB' init function returned error.

141217 11:09:15 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.

141217 11:09:15 [ERROR] Unknown/unsupported storage engine: InnoDB

141217 11:09:15 [ERROR] Aborting

141217 11:09:15 [Note] /alidata/server/mysql/bin/mysqld: Shutdown complete

141217 11:09:15 mysqld_safe mysqld from pid file /alidata/server/mysql/data/iZ280q00p7cZ.pid ended

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值