Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.4.3
-
None
-
master:
amazon RDS mariadb10.0.24
maxscale:
CentOS7 maxscale-1.4.3-1.x86_64
Description
My /etc/maxscale.cnf is below
[maxscale]
threads=1
log_info=1
[MaxAdmin Service]
type=service
router=cli
[Replication]
type=service
router=binlogrouter
user=maxscale
passwd=xxxxxxxxxxxxxxxx
version_string=10.0.24-MariaDB
router_options=binlogdir=/var/cache/maxscale,server_id=1,user=repl,password=xxxxxxxxxxxx,mariadb10-compatibility=1
[MaxAdmin Listener]
type=listener
service=MaxAdmin Service
protocol=maxscaled
port=6603
[Replication Listener]
type=listener
service=Replication
protocol=MySQLClient
port=5308
My operation is below:
sudo systemctl start maxscale.service
mysql -h 127.0.0.1 -u maxscale -P 5308 --protocol=tcp -p
Enter password:
MariaDB [(none)]> CHANGE MASTER TO MASTER_HOST='xxxxxxxxxxx.ap-northeast-1.rds.amazonaws.com', MASTER_PORT=3306, MASTER_USER='repl', MASTER_PASSWORD='xxxxxxxxxxx', MASTER_LOG_FILE='mysql-bin-changelog.001521', MASTER_LOG_POS=4;
MariaDB [(none)]> start slave;
MariaDB [(none)]> show slave status;
My logfile is below:
2016-07-28 09:46:30 [3] info : Execute statement from the slave 'show slave status'
2016-07-28 09:46:30 error : Fatal: MaxScale 1.4.3 received fatal signal 11. Attempting backtrace.
2016-07-28 09:46:30 error : Commit ID: c2706bab69d1f3b5f1f3ec70f78b1a4803788fec System name: Linux Release string: CentOS Linux release 7.2.1511 (Core) Embedded library version: (null)
2016-07-28 09:46:30 error : /usr/bin/maxscale() [0x403b80]
2016-07-28 09:46:30 error : /lib64/libpthread.so.0(+0xf100) [0x7fbc3a1ef100]
2016-07-28 09:46:30 error : /usr/lib64/maxscale/libbinlogrouter.so(+0x2a6c9) [0x7fbc347e36c9]
2016-07-28 09:46:30 error : /usr/lib64/maxscale/libbinlogrouter.so(+0x2778e) [0x7fbc347e078e]
2016-07-28 09:46:30 error : /usr/lib64/maxscale/libbinlogrouter.so(blr_slave_request+0x107) [0x7fbc347df683]
2016-07-28 09:46:30 error : /usr/lib64/maxscale/libbinlogrouter.so(+0x1d875) [0x7fbc347d6875]
2016-07-28 09:46:30 error : /usr/lib64/maxscale/libMySQLClient.so(+0x3566) [0x7fbc30501566]
2016-07-28 09:46:30 error : /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x43f90) [0x7fbc3ab16f90]
2016-07-28 09:46:30 error : /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(poll_waitevents+0x5de) [0x7fbc3ab1686e]
2016-07-28 09:46:30 error : /usr/bin/maxscale(main+0x16e0) [0x406779]
2016-07-28 09:46:30 error : /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fbc38bf4b15]
2016-07-28 09:46:30 error : /usr/bin/maxscale() [0x4035a9]
2016-07-28 09:46:30 [3] info : Starting log flushing to disk.