a306963633 发表于 2018-5-12 18:33:16

【急】The server quit without updating PID file (/usr/local/mysql/var/xs.pid).

# lnmp mysql start
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            https://lnmp.org             |
+-------------------------------------------+
Starting MySQL..... ERROR! The server quit without updating PID file (/usr/local/mysql/var/xs.pid).

老大错误日志和 my.cnf在附件

licess 发表于 2018-5-12 20:50:17

180512 18:11:23 InnoDB: Initializing buffer pool, size = 1.0G
InnoDB: mmap(1098907648 bytes) failed; errno 12
按提示是无法分配内存,也就是内存不够用了,可能你其他程序占用较多
可以先调整/etc/my.conf 中 innodb_buffer_pool_size 调小些再观察看看

a306963633 发表于 2018-5-12 21:29:16

谢谢军哥,调整到512   启动起来了,网站在搬家正在打包呢可能是打包太占内存的原因吧
页: [1]
查看完整版本: 【急】The server quit without updating PID file (/usr/local/mysql/var/xs.pid).