军总,lnmp 的mysql 不能重启服务
/etc/init.d/mysql startStarting 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 编辑 ] 提供mysql日志,置顶帖有说明
已上传日志
系统是腾讯云的 CentOS6.3 64位 150602 20:30:55 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 Retry in 60 secs. Message reprinted in 600 secs
150602 20:40:55 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 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 Kbytes 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)
/usr/local/mysql/bin/mysqld(handle_fatal_signal+0x41a)
/lib64/libpthread.so.0(+0xf710)
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
磁盘空间不足,太谢谢军总了
Mysql可以重启了。真的是磁盘空间不足,剩余的空间不足以启动mysql。/var/log/btmp2g的大日志文件,清理掉就可以重启了:lol
页:
[1]