- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2015-11-4
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
使用的是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
是否是内存不足? 有无解决方法呢? |
|