Could not find first log file name in binary log index file
2015.07.17<br />
<br />
今天用指令碼做主從切換實驗的時候,看到從機上有報錯:
<h2 style="line-height:35px;white-space:normal;margin:0px 0px 10px;padding:0px;font-size:20px;font-family:tahoma, helvetica, 'microsoft yahei', arial;color:#3A3A3A;font-weight:normal;background-color:#FFFFFF;">
Could not find first log file name in binary log index file<span style="font-family:'sans serif', tahoma, verdana, helvetica;font-size:12px;line-height:1.5;"></span>
</h2>
當時主從的連結是正常的,<br />
Slave_IO_Running: Yes<br />
Slave_SQL_Running: Yes<br />
<span style="white-space:normal;">但是主機的日誌傳過來,從機不能應用。重新<br />
stop slave;<br />
reset slave;<br />
change master to <br />
還是不行。但是網路是好的,又重新change 都行不通啊。然後突然想到昨天再做切換的時候,失敗多,導致主機上面的資料沒有過來。<br />
發現問題了,就知道怎麼做了<br />
重新mysqldump 備份,然後再從機上面恢復,<br />
再change master to 就ok了! <br />
正常情況下,重新change to 就可以了,只是我的,呃呃呃。。。。</span><br />
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30936525/viewspace-2016542/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- db_file_name_convert和log_file_name_convert詳解
- log file sync 和 log file parallel writeParallel
- WebLogic啟動報Could not get the server file lockWebServer
- vue3 Could not find a declaration file for moduleVue
- log file switch
- VueX Vue: Could not find a declaration file for module vuex.Vue
- reduce the database log fileDatabase
- Oracle之 等待事件log file sync + log file parallel write (awr優化)Oracle事件Parallel優化
- Catalog archivelog from file system to Asmdg;HiveASM
- log file sync等待事件事件
- 【等待事件】log file sync事件
- redo log file 優化優化
- LOG FILE SWITCH等待事件事件
- log file sync" 等待事件事件
- Oracle Dump Redo Log FileOracle
- ORACLE10G DG配置中兩個引數db_file_name_convert和log_file_name_convertOracle
- _use_adaptive_log_file_sync設定 降低log_file_sync等待APT
- log file sync(日誌檔案同步) 與 Log file parallel write 等待事件Parallel事件
- Log check error: Log file /var/log/messages is not readable!Error
- duplicate命令中有pfile、logfile、*_file_name_convert、nofilenamecheck的案例
- redo的等待log file sync和log file parallel write和redo size設定Parallel
- "log file sync"等待事件-2事件
- "log file sync"等待事件-1事件
- 等待事件 log file sync 小解事件
- OGG-00446 ERROR: Could not find archived logErrorHive
- File name 屬性
- _use_adaptive_log_file_syncAPT
- Weblogic configuration fileWeb
- log file sync等待事件總結事件
- log file switch相關等待事件事件
- ogg GGS ERROR 500 Could not find archived logErrorHive
- Linux File System Change Monitoring Technology、Notifier TechnologyLinux
- alter system switch log file 與 archive log current/all 區別Hive
- log file sync等待事件處理思路事件
- 關於log file switch and checkpoint機制
- log file switch (checkpoint incomplete)等待事件事件
- [Shell] monitor oracle alert.log file and sendmailOracleAI
- Oracle EBS log file (R12.1.3)Oracle