VPS侦探论坛

 找回密码
 注册
查看: 2528|回复: 2

求教军哥(已解决)

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

早上发现网站读取不到数据,打不开,排除了其他,发现数据库打不开,删除了bin文件还是打不开,也登不上phpmyadmin。
Version: '5.5.48-log'  socket: '/tmp/mysql.sock'  port: 0  Source distribution
170326  2:56:46 [Warning] Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
170326  2:56:46 [Warning] Retry in 60 secs. Message reprinted in 600 secs
170326  3:06:46 [Warning] Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
170326  3:06:46 [Warning] Retry in 60 secs. Message reprinted in 600 secs
170326  3:16:46 [Warning] Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
170326  3:16:46 [Warning] Retry in 60 secs. Message reprinted in 600 secs
170326  3:26:46 [Warning] Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
170326  3:26:46 [Warning] Retry in 60 secs. Message reprinted in 600 secs
170326  3:36:46 [Warning] Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
170326  3:36:46 [Warning] Retry in 60 secs. Message reprinted in 600 secs
170326  3:46:46 [Warning] Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
170326  3:46:46 [Warning] Retry in 60 secs. Message reprinted in 600 secs
170326  3:56:46 [Warning] Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
170326  3:56:46 [Warning] Retry in 60 secs. Message reprinted in 600 secs
170326  4:50:00 [Warning] Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
170326  4:50:00 [Warning] Retry in 60 secs. Message reprinted in 600 secs
170326  5:00:00 [Warning] Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
170326  5:00:00 [Warning] Retry in 60 secs. Message reprinted in 600 secs
170326  5:10:00 [Warning] Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
170326  5:10:00 [Warning] Retry in 60 secs. Message reprinted in 600 secs
170326  5:20:00 [Warning] Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
170326  5:20:00 [Warning] Retry in 60 secs. Message reprinted in 600 secs
170326  5:30:00 [Warning] Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
170326  5:30:00 [Warning] Retry in 60 secs. Message reprinted in 600 secs
170326  5:40:00 [Warning] Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to170326 11:31:48 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
170326 11:31:48 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.5.48-log) starting as process 1776 ...
170326 11:31:48 [Note] Plugin 'FEDERATED' is disabled.
170326 11:31:48 InnoDB: The InnoDB memory heap is disabled
170326 11:31:48 InnoDB: Mutexes and rw_locks use GCC atomic builtins
170326 11:31:48 InnoDB: Compressed tables use zlib 1.2.7
170326 11:31:48 InnoDB: Initializing buffer pool, size = 16.0M
170326 11:31:48 InnoDB: Completed initialization of buffer pool
170326 11:31:48 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
170326 11:31:48  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Last MySQL binlog file position 0 178003240, file name ./mysql-bin.000001
170326 11:31:48  InnoDB: Waiting for the background threads to start
170326 11:31:49 InnoDB: 5.5.48 started; log sequence number 2510071
170326 11:31:49 [Note] Recovering after a crash using mysql-bin
170326 11:31:50 [ERROR] Error in Log_event::read_log_event(): 'read error', data_len: 610, event_type: 2
170326 11:31:50 [Note] Starting crash recovery...
170326 11:31:50 [Note] Crash recovery finished.
03:31:50 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=500
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 = 406149 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+0x20)[0x75f310]
/usr/local/mysql/bin/mysqld(handle_fatal_signal+0x359)[0x657d79]
/usr/lib64/libpthread.so.0(+0xf100)[0x7f88c87fe100]
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.
170326 11:31:50 mysqld_safe mysqld from pid file /usr/local/mysql/var/vultr.guest.pid ended
170326 12:08:11 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
170326 12:08:11 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.5.48-log) starting as process 3331 ...
170326 12:08:11 [Note] Plugin 'FEDERATED' is disabled.
170326 12:08:11 InnoDB: The InnoDB memory heap is disabled
170326 12:08:11 InnoDB: Mutexes and rw_locks use GCC atomic builtins
170326 12:08:11 InnoDB: Compressed tables use zlib 1.2.7
170326 12:08:11 InnoDB: Initializing buffer pool, size = 16.0M
170326 12:08:11 InnoDB: Completed initialization of buffer pool
170326 12:08:11 InnoDB: highest supported file format is Barracuda.
InnoDB: The user has set SRV_FORCE_NO_LOG_REDO on
InnoDB: Skipping log redo
170326 12:08:11  InnoDB: Waiting for the background threads to start
170326 12:08:12 InnoDB: 5.5.48 started; log sequence number 0
170326 12:08:12 InnoDB: !!! innodb_force_recovery is set to 6 !!!
/usr/local/mysql/bin/mysqld: File './mysql-bin.000003' not found (Errcode: 2)
170326 12:08:12 [ERROR] Failed to open log (file './mysql-bin.000003', errno 2)
170326 12:08:12 [ERROR] Could not open log file
170326 12:08:12 [ERROR] Can't init tc log
170326 12:08:12 [ERROR] Aborting

170326 12:08:12  InnoDB: Starting shutdown...
170326 12:08:12  InnoDB: Shutdown completed; log sequence number 8204
170326 12:08:12 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

170326 12:08:12 mysqld_safe mysqld from pid file /usr/local/mysql/var/vultr.guest.pid ended
170326 12:16:24 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
170326 12:16:24 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.5.48-log) starting as process 4041 ...
170326 12:16:24 [Note] Plugin 'FEDERATED' is disabled.
170326 12:16:24 InnoDB: The InnoDB memory heap is disabled
170326 12:16:24 InnoDB: Mutexes and rw_locks use GCC atomic builtins
170326 12:16:24 InnoDB: Compressed tables use zlib 1.2.7
170326 12:16:24 InnoDB: Initializing buffer pool, size = 16.0M
170326 12:16:24 InnoDB: Completed initialization of buffer pool
170326 12:16:24 InnoDB: highest supported file format is Barracuda.
170326 12:16:24  InnoDB: Error: page 7 log sequence number 2503350
InnoDB: is in the future! Current system log sequence number 8204.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
InnoDB: for more information.
170326 12:16:24  InnoDB: Waiting for the background threads to start
170326 12:16:25 InnoDB: 5.5.48 started; log sequence number 8204
/usr/local/mysql/bin/mysqld: File './mysql-bin.000003' not found (Errcode: 2)
170326 12:16:25 [ERROR] Failed to open log (file './mysql-bin.000003', errno 2)
170326 12:16:25 [ERROR] Could not open log file
170326 12:16:25 [ERROR] Can't init tc log
170326 12:16:25 [ERROR] Aborting

170326 12:16:25  InnoDB: Starting shutdown...
170326 12:16:25  InnoDB: Shutdown completed; log sequence number 8204
170326 12:16:25 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

170326 12:16:25 mysqld_safe mysqld from pid file /usr/local/mysql/var/vultr.guest.pid ended

[ 本帖最后由 yancy 于 2017-3-26 12:43 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2017-3-26 12:34:07 | 显示全部楼层


第一行占的比较多,
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        20G   17G  2.6G  87% /
devtmpfs        488M     0  488M   0% /dev
tmpfs           497M     0  497M   0% /dev/shm
tmpfs           497M   13M  484M   3% /run
tmpfs           497M     0  497M   0% /sys/fs/cgroup
tmpfs           100M     0  100M   0% /run/user/0
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-3-26 12:44:18 | 显示全部楼层

还要删掉bin.index,删除完就能重启数据库
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-27 12:18 , Processed in 0.025518 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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