[debian-mysql] Bug#507551: mysql-server-5.0: 'stop slave' would be nice when upgrading
Jörgen Hägg
jorgen.hagg at axis.com
Tue Dec 2 12:04:00 UTC 2008
Package: mysql-server-5.0
Version: 5.0.51a-18
Severity: normal
ERROR 1201 (HY000): Could not initialize master info structure
This could also be treated as a wishlist request, but the database
replication stops completely at a upgrade.
After this it is necessary to do a 'reset slave' and 'change master ...'
to get the replication up again.
(And of course first saving the current log_pos... :-)
This happened on two slaves, exactly the same behaviour.
I managed, however, to do an upgrade without reset by just
doing 'stop slave' before upgrade. It started again automatically
without any problem.
So I guess that something in the upgrade messes with the
relay logs, thereby causing the problem. (Sorry, lost the complete
error message.)
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mysql-server-5.0 depends on:
ii adduser 3.110 add and remove users and groups
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii libc6 2.7-16 GNU C Library: Shared libraries
ii libdbi-perl 1.605-1 Perl5 database interface by Tim Bu
ii libgcc1 1:4.3.2-1 GCC support library
ii libmysqlclient15off 5.0.51a-18 MySQL database client library
ii libncurses5 5.6+20080830-1 shared libraries for terminal hand
ii libreadline5 5.2-3 GNU readline and history libraries
ii libstdc++6 4.3.2-1 The GNU Standard C++ Library v3
ii libwrap0 7.6.q-16 Wietse Venema's TCP wrappers libra
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii mysql-client-5.0 5.0.51a-18 MySQL database client binaries
ii mysql-common 5.0.51a-18 MySQL database common files
ii passwd 1:4.1.1-6 change and administer password and
ii perl 5.10.0-18 Larry Wall's Practical Extraction
ii psmisc 22.6-1 Utilities that use the proc filesy
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
Versions of packages mysql-server-5.0 recommends:
ii bsd-mailx [mailx] 8.1.2-0.20071201cvs-3 A simple mail user agent
ii libhtml-template-p 2.9-1 HTML::Template : A module for usin
Versions of packages mysql-server-5.0 suggests:
pn tinyca <none> (no description available)
-- debconf information:
mysql-server-5.0/really_downgrade: false
mysql-server-5.0/need_sarge_compat: false
mysql-server-5.0/start_on_boot: true
mysql-server/error_setting_password:
mysql-server-5.0/nis_warning:
mysql-server-5.0/postrm_remove_databases: false
mysql-server-5.0/need_sarge_compat_done: true
mysql-server/password_mismatch:
More information about the pkg-mysql-maint
mailing list