MySQL Forums
Forum List  »  Replication

[ERROR] Failed to initialize the master info structure
Posted by: Gilles GAUDIN
Date: May 10, 2010 03:04AM

Hi !

I have a problem with my replication environment.
I have 1 master and 3 slaves. Every sunday, I restart the master mysql daemon to rotate log files (mysqld.log and slow log), I use a script for this who move log files, create new log files, chown them and then restart mysqld.
On the 3 slaves there is mk-slave-restart from maatkit tool, so when the master restart, mk-slave-restart skip error on slaves.

On two slaves there is no problem but on the third replication stop and I can see this error in the log file:
[ERROR] Error reading master configuration
[ERROR] Failed to initialize the master info structure

I have to reset this slave and 'change master to' with info that are displayed into master.info and then restart the slave. Replication is ok after that.

My questions are: Why slave can't continue his replication ? why this error is not present on others slaves ? Is there a way to solve this problem ?

Thanks in advance for support.

Options: ReplyQuote


Subject
Views
Written By
Posted
[ERROR] Failed to initialize the master info structure
13650
May 10, 2010 03:04AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.