MySQL从库启动不起来,求大神指点 谢谢

yanfeilai528 2018-10-22 11:57:22
描述,从数据库现在起不起来,现在数据主从当然也不同步 日志如下 求大神帮忙

从库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.
...全文
225 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
Rotel-刘志东 2018-11-08
  • 打赏
  • 举报
回复
看一下错误日志,启动时候跟踪一下,就能发现具体什么原因不能启动。
DreamLLOver 2018-11-08
  • 打赏
  • 举报
回复
'/log/mysql3308/logs/binlog/mysql-bin.000092’ 这个文件不存在 所以: 一、看'/log/mysql3308/logs/binlog/ 是否有这个路径 二、如果有这个路径看下是否有权限进行访问 三、查下这个文件是否存在
叶落千尘 2018-11-07
  • 打赏
  • 举报
回复
看目录权限 提示说未找到日志,看下那个路径里有没有
尧十三decode 2018-10-27
  • 打赏
  • 举报
回复
系统变量有编辑吗,需要设置安装路径

56,675

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧