VPS侦探论坛

 找回密码
 注册
查看: 4433|回复: 4

军总,lnmp 的mysql 不能重启服务

[复制链接]
发表于 2015-6-3 12:00:22 | 显示全部楼层 |阅读模式

/etc/init.d/mysql start
Starting MySQL. ERROR! The server quit without updating PID file (/usr/local/mysql/var/VM_28_189_centos.pid)


之前是shutting down mysql... 要很久,就kill mysql 进程。现在重启不了mysql, 求救~

[ 本帖最后由 taranjob 于 2015-6-3 13:03 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-6-3 12:47:27 | 显示全部楼层


提供mysql日志,置顶帖有说明
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-6-3 13:05:43 | 显示全部楼层

已上传日志


系统是腾讯云的 CentOS6.3 64位
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-6-3 17:49:54 | 显示全部楼层



150602 20:30:55 [Warning] Disk is full writing './mysql-bin.000008' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
150602 20:30:55 [Warning] Retry in 60 secs. Message reprinted in 600 secs
150602 20:40:55 [Warning] Disk is full writing './mysql-bin.000008' (Errcode: 28). Waiting for someone to free space... (E150603 11:00:03 mysqld_safe Number of processes running now: 0
150603 11:00:03 mysqld_safe mysqld restarted

看之前有硬盘或分区不足的问题

150603 11:34:39 [Note] Plugin 'InnoDB' is disabled.
03:34:39 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

key_buffer_size=16777216
read_buffer_size=262144
max_used_connections=0
max_threads=151
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 134092 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0 thread_stack 0x40000
/usr/local/mysql/bin/mysqld(my_print_stacktrace+0x2e)[0x76114e]
/usr/local/mysql/bin/mysqld(handle_fatal_signal+0x41a)[0x65573a]
/lib64/libpthread.so.0(+0xf710)[0x7f01947b2710]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
150603 11:34:39 mysqld_safe mysqld from pid file /usr/local/mysql/var/VM_28_189_centos.pid ended

后面还有一个崩溃的,可以尝试https://bbs.vpser.net/thread-13040-1-1.html
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-6-15 12:39:27 | 显示全部楼层

磁盘空间不足,太谢谢军总了


Mysql可以重启了。真的是磁盘空间不足,剩余的空间不足以启动mysql。
/var/log/btmp  2g的大日志文件,清理掉就可以重启了

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

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-16 17:32 , Processed in 0.027331 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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