Quantcast
Channel: MySQL Forums - Replication
Viewing all articles
Browse latest Browse all 1562

Master Master Replikation broken Slave_IO_Running: No (no replies)

$
0
0
Hi,

I've got a new project, an existing MySQL-Cluster with Master-Master replication. This replication is broken and I need some help to fix this. It' s mysql-server-5.0 on a Debian Lenny


mysql01:

mysql> SHOW SLAVE STATUS \G
*************************** 1. row ***************************
Slave_IO_State:
Master_Host: rzvmysql02.vit.de
Master_User: sync
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.1533
Read_Master_Log_Pos: 92882430
Relay_Log_File: relay.000001
Relay_Log_Pos: 98
Relay_Master_Log_File: mysql-bin.1533
Slave_IO_Running: No
Slave_SQL_Running: Yes
Replicate_Do_DB:
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 92882430
Relay_Log_Space: 98
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: NULL

mysql> SHOW MASTER STATUS \G
*************************** 1. row ***************************
File: mysql-bin.000946
Position: 103229567
Binlog_Do_DB:
Binlog_Ignore_DB:
1 row in set (0.00 sec)


110713 7:33:57 [Note] Slave SQL thread initialized, starting replication in log 'mysql-bin.1533' at position 92882430, relay log '/var/log/mysql/relay.000001' position: 4
110713 7:33:57 [Note] Slave I/O thread: connected to master 'sync@rzvmysql02.vit.de:3306', replication started in log 'mysql-bin.1533' at position 92882430
110713 7:33:57 [ERROR] Error reading packet from server: Could not find first log file name in binary log index file ( server_errno=1236)
110713 7:33:57 [ERROR] Got fatal error 1236: 'Could not find first log file name in binary log index file' from master when reading data from binary log
110713 7:33:57 [Note] Slave I/O thread exiting, read up to log 'mysql-bin.1533', position 92882430


mysql02:


mysql> SHOW SLAVE STATUS \G
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: rzvmysql01.vit.de
Master_User: sync
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.000946
Read_Master_Log_Pos: 103404840
Relay_Log_File: relay.000507
Relay_Log_Pos: 56208211
Relay_Master_Log_File: mysql-bin.000946
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB:
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 103404840
Relay_Log_Space: 56208211
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: 0
1 row in set (0.00 sec)


mysql> SHOW MASTER STATUS \G
*************************** 1. row ***************************
File: mysql-bin.001538
Position: 84285504
Binlog_Do_DB:
Binlog_Ignore_DB:
1 row in set (0.00 sec)



I have tried to change the position on mysql01:
stop slave;
cHANGE MASTER TO MASTER_LOG_FILE='mysql-bin.1533', MASTER_LOG_POS=92882430;
start slave;

I have tried to change the bin file on mysql01:
stop slave;
CHANGE MASTER TO MASTER_LOG_FILE=mysql-bin.001530, MASTER_LOG_POS=4;
start slave;


But this has no effect. Please help...

Regards Jessica

Viewing all articles
Browse latest Browse all 1562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>