>Description:
Problem with setup replication between 2 hosts.
Log file on slave hosts says:
010531 12:25:40 Slave: reconnected to master
'[EMAIL PROTECTED]:3306',replication resumed in log 'FIRST' at position 4
010531 12:25:40 Error reading packet from server: Binlog has bad magic number, fire
your magician (read_errno 0,server_errno=65535)
Replication has been prepared as described in 11.2 & 11.3 of manual on the web
Configuration master: (my.cnf)
set-variable = key_buffer=24M
set-variable = max_allowed_packet=24M
set-variable = max_connections=500
log-bin= /var/log/mysqld_bin.log
log-bin-index=/var/log/mysqld_index.log
server-id=1
Configuration slave (my.cnf)
set-variable = key_buffer=24M
set-variable = max_allowed_packet=24M
set-variable = max_connections=500
log-bin= /var/log/mysqld_bin.log
log-bin-index=/var/log/mysqld_index.log
master-host=raid2.only.com
master-user=replyuser
master-password=Yyysyd64jn
master-port=3306
server-id=2
All rights on master host was granted.
>How-To-Repeat:
Just try to configure it IMHO.
>Fix:
>Submitter-Id: <submitter ID>
>Originator: [EMAIL PROTECTED]
>Organization:
>MySQL support: none
>Synopsis: REPLICATION
>Severity: critical
>Priority: high
>Category: mysql
>Class: support
>Release: mysql-3.23.37 (Official MySQL RPM)
>Environment:
System: Linux data1.only.com 2.2.16-3 #1 Mon Jun 19 19:11:44 EDT 2000 i686 unknown
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Compilation info: CC='egcs' CFLAGS='-O6 -fno-omit-frame-pointer -mpentium'
CXX='egcs' CXXFLAGS='-O6 -fno-omit-frame-pointer -felide-constructors
-fno-exceptions -fno-rtti -mpentium' LDFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 13 May 16 20:58 /lib/libc.so.6 -> libc-2.1.3.so
-rwxr-xr-x 1 root root 4101836 Sep 5 2000 /lib/libc-2.1.3.so
-rw-r--r-- 1 root root 20273284 Sep 5 2000 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Sep 5 2000 /usr/lib/libc.so
Configure command: ./configure --disable-shared --with-mysqld-ldflags=-all-static
--with-client-ldflags=-all-static --without-berkeley-db --without-innodb
--enable-assembler --with-mysqld-user=mysql
--with-unix-socket-path=/var/lib/mysql/mysql.sock --prefix=/
--with-extra-charsets=complex --exec-prefix=/usr --libexecdir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --localstatedir=/var/lib/mysql
--infodir=/usr/info --includedir=/usr/include --mandir=/usr/man
'--with-comment=Official MySQL RPM'
Perl: This is perl, version 5.005_03 built for i386-linux
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php