VPS侦探论坛

 找回密码
 注册
查看: 3958|回复: 1

启动mysql失败,用的是128M内存

[复制链接]
发表于 2015-11-4 10:31:22 | 显示全部楼层 |阅读模式

使用的是Debian8系统,用的是hostigation 128M KVM主机,

root@debian:/etc# systemctl status mysql.service
?.mysql.service - LSB: start and stop MySQL
   Loaded: loaded (/etc/init.d/mysql)
   Active: failed (Result: exit-code) since Wed 2015-11-04 10:20:21 CST; 20s ago
  Process: 1778 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)

Nov 04 10:20:11 debian mysql[1778]: Starting MySQL
Nov 04 10:20:21 debian mysql[1778]: ....The server quit without updating PID file (/usr/local/mysql/var/debian.pid). ... failed!
Nov 04 10:20:21 debian systemd[1]: mysql.service: control process exited, code=exited status=1
Nov 04 10:20:21 debian systemd[1]: Failed to start LSB: start and stop MySQL.
Nov 04 10:20:21 debian systemd[1]: Unit mysql.service entered failed state.


root@debian:/etc# lnmp restart
看了/usr/local/mysql/var/debian.err日志,2015-11-04 10:28:30 3130 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
2015-11-04 10:28:30 3130 [ERROR] Plugin 'InnoDB' init function returned error.
2015-11-04 10:28:30 3130 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2015-11-04 10:28:30 3130 [ERROR] Unknown/unsupported storage engine: InnoDB
2015-11-04 10:28:30 3130 [ERROR] Aborting
2015-11-04 10:28:30 3130 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete
151104 10:28:31 mysqld_safe mysqld from pid file /usr/local/mysql/var/debian.pid ended

是否是内存不足? 有无解决方法呢?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-11-4 11:43:25 | 显示全部楼层


Cannot allocate memory for the buffer pool
内存不足引起的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-28 11:12 , Processed in 0.025589 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表