This article is a mirror article of machine translation, please click here to jump to the original article.

View: 9905|Reply: 2

[New Issue] MySQL can't start from the library, please ask for the gods for guidance Thank you

[Copy link]
Posted on 10/23/2018 12:01:14 AM | | |
Description, from the database can't get up now, now the data master and slave are of course not synchronized The log is as follows, ask God for help

From the library 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.




Previous:Share a landing script for a campus network
Next:[Reprint] BonusCloud Python tool grab the activation code
 Landlord| Posted on 10/23/2018 12:24:26 AM |
2018-10-22 23:28:41 99227 [Note] Plugin 'FEDERATED' is disabled
Posted on 10/23/2018 9:21:41 AM |
[ERROR] Failed to open log (file './mysql-bin.000039', errno 2)

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

The easiest pit to step on in mysql Binlog
http://www.itsvse.com/thread-5106-1-1.html
(Source: Architect_Programmer)
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com