VPS侦探论坛

 找回密码
 注册
查看: 4074|回复: 5

mysql 无法启动求助

[复制链接]
发表于 2016-6-10 14:42:49 | 显示全部楼层 |阅读模式

root@VM-195-19-ubuntu:/usr/local/mysql/var# /etc/init.d/mysql start
Starting MySQL
. * The server quit without updating PID file (/var/run/mysqld/mysqld.pid).


160415 12:17:53 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
160415 12:17:53 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.5.48-log) starting as process 9910 ...
160415 12:17:53 [Note] Plugin 'FEDERATED' is disabled.
160415 12:17:53 InnoDB: The InnoDB memory heap is disabled
160415 12:17:53 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160415 12:17:53 InnoDB: Compressed tables use zlib 1.2.8
160415 12:17:53 InnoDB: Initializing buffer pool, size = 16.0M
160415 12:17:53 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file /usr/local/mysql/var/ibdata1 did not exist:
InnoDB: a new database to be created!
160415 12:17:53  InnoDB: Setting file /usr/local/mysql/var/ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
160415 12:17:53  InnoDB: Log file /usr/local/mysql/var/ib_logfile0 did not exist: new to be created
InnoDB: Setting log file /usr/local/mysql/var/ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
160415 12:17:53  InnoDB: Log file /usr/local/mysql/var/ib_logfile1 did not exist: new to be created
InnoDB: Setting log file /usr/local/mysql/var/ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-6-10 17:33:16 | 显示全部楼层


InnoDB: Database physically writes the file full: wait... 当前分区或磁盘空间已满
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-6-10 17:40:01 | 显示全部楼层

root@VM-195-19-ubuntu:/var/run# df -k
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/vda1       20510332 4909264  14552544  26% /
none                   4       0         4   0% /sys/fs/cgroup
udev              504612       4    504608   1% /dev
tmpfs             101792     300    101492   1% /run
none                5120       0      5120   0% /run/lock
none              508948      24    508924   1% /run/shm
none              102400       0    102400   0% /run/user

但是军哥 我查询了下磁盘 都是很空的啊
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-6-11 09:39:24 | 显示全部楼层

回复 3# 的帖子




你发的日志是4月15日的,请发最新的报错时的日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-6-11 18:55:48 | 显示全部楼层

0610 11:16:19 mysqld_safe Number of processes running now: 0
160610 11:16:19 mysqld_safe mysqld restarted
160610 11:16:20 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160610 11:16:20 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.5.48-log) starting as process 21543 ...
160610 11:16:20 [ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys'
160610 11:16:20 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
160610 11:16:20 [Note] Plugin 'FEDERATED' is disabled.
160610 11:16:20 InnoDB: The InnoDB memory heap is disabled
160610 11:16:20 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160610 11:16:20 InnoDB: Compressed tables use zlib 1.2.8
160610 11:16:20 InnoDB: Initializing buffer pool, size = 16.0M
InnoDB: mmap(17170432 bytes) failed; errno 12
160610 11:16:20 InnoDB: Completed initialization of buffer pool
160610 11:16:20 InnoDB: Fatal error: cannot allocate memory for the buffer pool
160610 11:16:20 [ERROR] Plugin 'InnoDB' init function returned error.
160610 11:16:20 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
160610 11:16:20 [ERROR] Aborting

160610 11:16:20 [Note]
160610 11:16:20 mysqld_safe mysqld from pid file /usr/local/mysql/var/VM-195-19-ubuntu.pid ended



麻烦军哥了 帮忙看看怎么回事

军哥运维代购:http://shop63846532.taobao.com/

发表于 2016-6-12 09:06:04 | 显示全部楼层

[ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys'
这个错误可以 find / -name my.cnf 看一下

160610 11:16:20 InnoDB: Completed initialization of buffer pool
160610 11:16:20 InnoDB: Fatal error: cannot allocate memory for the buffer pool
这个是内存不够用了

你机器什么配置?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-29 11:25 , Processed in 0.027032 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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