Unix Technical Forum

'stuck' slave?

This is a discussion on 'stuck' slave? within the MySQL forums, part of the Database Server Software category; --> Hi, I have a mysql slave database, that, for various reasons, got quite out of date with its master. ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 07:34 AM
davidnwelton@gmail.com
 
Posts: n/a
Default 'stuck' slave?

Hi,

I have a mysql slave database, that, for various reasons, got quite out
of date with its master. Friday, when I left, it was happily chugging
along playing catch-up, or so it seemed. However, now it looks as if
it's just decided to leave off work with this file:

Relay_Master_Log_File: mammut-bin.024

(other slave information)
Master_Log_File: mammut-bin.024
Read_Master_Log_Pos: 205353759
Relay_Log_File: bisonte-relay-bin.058
Relay_Log_Pos: 4
Relay_Master_Log_File: mammut-bin.024
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_do_db: ............
Replicate_ignore_db:
Last_errno: 0
Last_error:
Skip_counter: 0
Exec_master_log_pos: 205353759

the problem is that there are newer files on the server:

mammut-bin.025
mammut-bin.026

I'm looking for a way to give it a kick and make it fully catch up the
main server. How might I accomplish this?

Thankyou,
Dave Welton

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 07:35 AM
davidnwelton@gmail.com
 
Posts: n/a
Default Re: 'stuck' slave?

It turns out it was stuck trying to authenticate - someone fiddled with
the /etc/hosts file, and that caused the authentication to get weird,
so it wasn't authenticating. Solving that fixed everything.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:05 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com