IBM Support

CDC for MySQL fail with LogFileNotFoundException

Troubleshooting


Problem


CDC for MySQL fail with LogFileNotFoundException when incorrect binary log patten given during instance creation

Error :

Event logged: ID=2901 MSG=The log reader has encountered a problem reading the log file. IBM Data Replication could not find the latest binary log mysql-bin.xxxxxx in the directory /home/lib/mysql with log pattern row

Exception in trace log:

SHAREDSCRAPE LOG READER{93}    com.datamirror.ts.eventlog.EventLogger    logActualEvent()    Event logged: ID=2901 MSG=The log reader has encountered a problem reading the log file. IBM Data Replication could not find the latest binary log mysql-bin.xxxxxx in the directory /home/lib/mysql with log pattern row. IBM Data Replication will stop. com.datamirror.ts.scrapers.exception.LogFileNotFoundException IBM Data Replication could not find the latest binary log mysql-bin.xxxxxx in the directory /home/lib/mysql with log pattern row. IBM Data Replication will stop.|    at com.datamirror.ts.scrapers.mysqlscraper.reader.BinaryLogDirectoryMetadataProvider.extractMetadata(BinaryLogDirectoryMetadataProvider.java:109)|   

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSX3HK","label":"InfoSphere Change Data Capture"},"ARM Category":[{"code":"a8m0z000000cwsaAAA","label":"MySQL Source"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
09 July 2023

UID

ibm17007765