启动mysql失败,用的是128M内存
使用的是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: Starting MySQL
Nov 04 10:20:21 debian mysql: ....The server quit without updating PID file (/usr/local/mysql/var/debian.pid). ... failed!
Nov 04 10:20:21 debian systemd: mysql.service: control process exited, code=exited status=1
Nov 04 10:20:21 debian systemd: Failed to start LSB: start and stop MySQL.
Nov 04 10:20:21 debian systemd: Unit mysql.service entered failed state.
root@debian:/etc# lnmp restart
看了/usr/local/mysql/var/debian.err日志,2015-11-04 10:28:30 3130 InnoDB: Cannot allocate memory for the buffer pool
2015-11-04 10:28:30 3130 Plugin 'InnoDB' init function returned error.
2015-11-04 10:28:30 3130 Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2015-11-04 10:28:30 3130 Unknown/unsupported storage engine: InnoDB
2015-11-04 10:28:30 3130 Aborting
2015-11-04 10:28:30 3130 /usr/local/mysql/bin/mysqld: Shutdown complete
151104 10:28:31 mysqld_safe mysqld from pid file /usr/local/mysql/var/debian.pid ended
是否是内存不足? 有无解决方法呢? Cannot allocate memory for the buffer pool
内存不足引起的
页:
[1]