架构师_程序员_码农网

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 5293|回复: 2

[新问题] MySQL从库启动不起来,求大神指点 谢谢

[复制链接]
发表于 2018-10-23 00:01:14 | 显示全部楼层 |阅读模式
描述,从数据库现在起不起来,现在数据主从当然也不同步 日志如下  求大神帮忙

从库error.log:


InnoDB: Last MySQL binlog file position 0 641333232, file name mysql-bin.000098
2018-10-22 23:28:44 99227 [Note] InnoDB: 128 rollback segment(s) are active.
2018-10-22 23:28:44 99227 [Note] InnoDB: Waiting for purge to start
2018-10-22 23:28:44 99227 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.39-83.1 started; log sequence number 341360892115
2018-10-22 23:28:44 7f4234bfa700 InnoDB: Loading buffer pool(s) from .//ib_buffer_pool
2018-10-22 23:28:44 99227 [Note] Semi-sync replication initialized for transactions.
2018-10-22 23:28:44 99227 [Note] Semi-sync replication enabled on the master.
2018-10-22 23:28:44 99227 [Note] Recovering after a crash using /log/mysql3308/logs/binlog/mysql-bin
2018-10-22 23:28:44 99227 [Note] Starting crash recovery...
2018-10-22 23:28:44 99227 [Note] Crash recovery finished.
/usr/sbin/mysqld: File '/log/mysql3308/logs/binlog/mysql-bin.000092' not found (Errcode: 2 - No such file or directory)
2018-10-22 23:28:44 99227 [ERROR] Failed to open log (file '/log/mysql3308/logs/binlog/mysql-bin.000092', errno 2)
2018-10-22 23:28:44 99227 [ERROR] Could not open log file
/usr/sbin/mysqld: File '/log/mysql3308/logs/binlog/mysql-bin.000091' not found (Errcode: 2 - No such file or directory)
2018-10-22 23:28:44 99227 [ERROR] Failed to open log (file '/log/mysql3308/logs/binlog/mysql-bin.000091', errno 2)
2018-10-22 23:28:44 99227 [ERROR] Could not open log file
/usr/sbin/mysqld: File '/log/mysql3308/logs/binlog/mysql-bin.000090' not found (Errcode: 2 - No such file or directory)
2018-10-22 23:28:44 99227 [ERROR] Failed to open log (file '/log/mysql3308/logs/binlog/mysql-bin.000090', errno 2)
2018-10-22 23:28:44 99227 [ERROR] Could not open log file
/usr/sbin/mysqld: File '/log/mysql3308/logs/binlog/mysql-bin.000089' not found (Errcode: 2 - No such file or directory)
2018-10-22 23:28:44 99227 [ERROR] Failed to open log (file '/log/mysql3308/logs/binlog/mysql-bin.000089', errno 2)
2018-10-22 23:28:44 99227 [ERROR] Could not open log file
/usr/sbin/mysqld: File '/log/mysql3308/logs/binlog/mysql-bin.000088' not found (Errcode: 2 - No such file or directory)
2018-10-22 23:28:44 99227 [ERROR] Failed to open log (file '/log/mysql3308/logs/binlog/mysql-bin.000088', errno 2)
2018-10-22 23:28:44 99227 [ERROR] Could not open log file
/usr/sbin/mysqld: File '/log/mysql3308/logs/binlog/mysql-bin.000087' not found (Errcode: 2 - No such file or directory)
2018-10-22 23:28:44 99227 [ERROR] Failed to open log (file '/log/mysql3308/logs/binlog/mysql-bin.000087', errno 2)
2018-10-22 23:28:44 99227 [ERROR] Could not open log file
/usr/sbin/mysqld: File '/log/mysql3308/logs/binlog/mysql-bin.000086' not found (Errcode: 2 - No such file or directory)
2018-10-22 23:28:44 99227 [ERROR] Failed to open log (file '/log/mysql3308/logs/binlog/mysql-bin.000086', errno 2)
2018-10-22 23:28:44 99227 [ERROR] Could not open log file
/usr/sbin/mysqld: File '/log/mysql3308/logs/binlog/mysql-bin.000085' not found (Errcode: 2 - No such file or directory)
2018-10-22 23:28:44 99227 [ERROR] Failed to open log (file '/log/mysql3308/logs/binlog/mysql-bin.000085', errno 2)
2018-10-22 23:28:44 99227 [ERROR] Could not open log file
/usr/sbin/mysqld: File '/log/mysql3308/logs/binlog/mysql-bin.000084' not found (Errcode: 2 - No such file or directory)
2018-10-22 23:28:44 99227 [ERROR] Failed to open log (file '/log/mysql3308/logs/binlog/mysql-bin.000084', errno 2)
2018-10-22 23:28:44 99227 [ERROR] Could not open log file
/usr/sbin/mysqld: File '/log/mysql3308/logs/binlog/mysql-bin.000083' not found (Errcode: 2 - No such file or directory)
2018-10-22 23:28:44 99227 [ERROR] Failed to open log (file '/log/mysql3308/logs/binlog/mysql-bin.000083', errno 2)
2018-10-22 23:28:44 99227 [ERROR] Could not open log file
/usr/sbin/mysqld: File '/log/mysql3308/logs/binlog/mysql-bin.000082' not found (Errcode: 2 - No such file or directory)
2018-10-22 23:28:44 99227 [ERROR] Failed to open log (file '/log/mysql3308/logs/binlog/mysql-bin.000082', errno 2)
2018-10-22 23:28:44 99227 [ERROR] Could not open log file
2018-10-22 23:28:44 99227 [Note] RSA private key file not found: /data/mysql3308/data//private_key.pem. Some authentication plugins will not work.
2018-10-22 23:28:44 99227 [Note] RSA public key file not found: /data/mysql3308/data//public_key.pem. Some authentication plugins will not work.
2018-10-22 23:28:44 99227 [Note] Server hostname (bind-address): '*'; port: 3308
2018-10-22 23:28:44 99227 [Note] IPv6 is available.
2018-10-22 23:28:44 99227 [Note]   - '::' resolves to '::';
2018-10-22 23:28:44 99227 [Note] Server socket created on IP: '::'.
2018-10-22 23:28:44 99227 [Warning] 'proxies_priv' entry '@ root@ip-10-10-10-10.ap-northeast-1.compute.internal' ignored in --skip-name-resolve mode.
15:28:44 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.
Please help us make Percona Server better by reporting any
bugs at http://bugs.percona.com/

key_buffer_size=67108864
read_buffer_size=2097152
max_used_connections=0
max_threads=216
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 = 953266 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/sbin/mysqld(my_print_stacktrace+0x3b)[0x8e8a4b]
/usr/sbin/mysqld(handle_fatal_signal+0x471)[0x65f811]
/lib64/libpthread.so.0(+0x121f0)[0x7f49b4efc1f0]
/usr/sbin/mysqld[0x6ee5d3]
/usr/lib64/mysql/plugin/audit_log.so(+0x5048)[0x7f49901f6048]
/usr/lib64/mysql/plugin/audit_log.so(+0x6543)[0x7f49901f7543]
/usr/sbin/mysqld[0x68f8ee]
/usr/sbin/mysqld(_Z24plugin_foreach_with_maskP3THDPFcS0_P13st_plugin_intPvEijS3_+0x2ab)[0x6f2f2b]
/usr/sbin/mysqld[0x68ff56]
/usr/sbin/mysqld(_Z18mysql_audit_notifyP3THDjjz+0xba)[0x69007a]
/usr/sbin/mysqld[0x5893b4]
/usr/sbin/mysqld(my_message_sql+0x43)[0x5894e3]
/usr/sbin/mysqld(my_error+0xe0)[0x8e20f0]
/usr/sbin/mysqld(my_register_filename+0x255)[0x8e4c35]
/usr/sbin/mysqld(_Z16open_binlog_fileP11st_io_cachePKcPS2_+0x95)[0x889b75]
/usr/sbin/mysqld[0x889dc0]
/usr/sbin/mysqld(_ZN13MYSQL_BIN_LOG14init_gtid_setsEP8Gtid_setS1_P4Gtidbbb+0x6ef)[0x89652f]
/usr/sbin/mysqld(_ZN14Relay_log_info13rli_init_infoEv+0x5b2)[0x8bdec2]
/usr/sbin/mysqld(_Z16global_init_infoP11Master_infobi+0x1ce)[0x8a88be]
/usr/sbin/mysqld(_Z10init_slavev+0x16a)[0x8afada]
/usr/sbin/mysqld(_Z11mysqld_mainiPPc+0x19ea)[0x597dea]
/lib64/libc.so.6(__libc_start_main+0xea)[0x7f49b2f2ef6a]
/usr/sbin/mysqld[0x587dcd]
You may download the Percona Server operations manual by visiting
http://www.percona.com/software/percona-server/. You may find information
in the manual which will help you identify the cause of the crash.




上一篇:分享一个校园网的登陆脚本
下一篇:[转载]博纳云(BonusCloud)Python工具抢激活码
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
 楼主| 发表于 2018-10-23 00:24:26 | 显示全部楼层
2018-10-22 23:28:41 99227 [Note] Plugin 'FEDERATED' is disabled
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2018-10-23 09:21:41 | 显示全部楼层
MYSQL启动错误之[ERROR] Failed to open log (file './mysql-bin.000039', errno 2)

https://blog.csdn.net/sharon4584/article/details/51087699

mysql Binlog中最容易踩到的坑
http://www.itsvse.com/thread-5106-1-1.html
(出处: 架构师_程序员)
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

免责声明:
码农网所发布的一切软件、编程资料或者文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:help@itsvse.com

QQ|手机版|小黑屋|架构师 ( 鲁ICP备14021824号-2 )|网站地图

GMT+8, 2024-4-23 18:32

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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