Hi all

We have the following setup:
- Master mySQL Server 4.0.11-gamma (sun-solaris2.9-sparc-64bit)
- Slave mySQL Server 4.1.7 (sun-solaris2.9-sparc-64bit)

Everything worked fine with both servers having the same Version (4.0.11-gamma). As a first step in updating to Rel. 4.1 we migrated the replika.

Since then, we encounter the following problem:

Every night replication stops. To be more precise: the I/O thread on Slave stops:

   mysql> SHOW SLAVE STATUS\G
   *************************** 1. row ***************************
                Slave_IO_State:
                   Master_Host: spas.mysql.prod.glue.ch
                   Master_User: replica
                   Master_Port: 26001
                 Connect_Retry: 60
               Master_Log_File: appl02-bin.628
           Read_Master_Log_Pos: 30621
                Relay_Log_File: appl01-relay-bin.000024
                 Relay_Log_Pos: 412019
         Relay_Master_Log_File: appl02-bin.628
              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: 30621
               Relay_Log_Space: 412019
               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: 18563
   1 row in set (0.00 sec)

The error log on replika says:

   041103  3:37:50 [ERROR] While trying to obtain the list of slaves
   from the master 'spas.mysql.prod.glue.ch:26001', user 'replica' got
   the following error: 'Lost connection to MySQL server during query'
   041103  3:37:50 [ERROR] Slave I/O thread exiting, read up to log
   'appl02-bin.628', position 30621

Doing a mysqlbinlog on both relay log and master log do not show any problems. After a START SLAVE the slave does not recover operation completely. It looks, like the relay log file is filled, but the statements are not executed and the Seconds_Behind_Master are not decreased.

Only after a complete restart of mysql (replica) the replica recovers.

Any idea?

Thanks for any help!
Stephan

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to