[ec2-user@ip- my.cnf.d]$ sudo mysqld --user=root 2016-08-01 12:21:11 139816270788736 [Note] mysqld (mysqld 10.1.16-MariaDB) starting as process 22231 ... 2016-08-01 12:21:11 139816270788736 [Note] WSREP: Read nil XID from storage engines, skipping position init 2016-08-01 12:21:11 139816270788736 [Note] WSREP: wsrep_load(): loading provider library '/usr/lib64/galera/libgalera_smm.so' 2016-08-01 12:21:11 139816270788736 [Note] WSREP: wsrep_load(): Galera 25.3.15(r3578) by Codership Oy loaded successfully. 2016-08-01 12:21:11 139816270788736 [Note] WSREP: CRC-32C: using hardware acceleration. 2016-08-01 12:21:11 139816270788736 [Note] WSREP: Found saved state: 00000000-0000-0000-0000-000000000000:-1 2016-08-01 12:21:11 139816270788736 [Note] WSREP: Passing config to GCS: base_dir = /var/lib/mysql/; base_host = ; base_port = 4567; cert.log_conflicts = no; debug = no; evs.auto_evict = 0; evs.delay_margin = PT1S; evs.delayed_keep_period = PT30S; evs.inactive_check_period = PT0.5S; evs.inactive_timeout = PT15S; evs.join_retrans_period = PT1S; evs.max_install_timeouts = 3; evs.send_window = 4; evs.stats_report_period = PT1M; evs.suspect_timeout = PT5S; evs.user_send_window = 2; evs.view_forget_timeout = PT24H; gcache.dir = /var/lib/mysql/; gcache.keep_pages_size = 0; gcache.mem_size = 0; gcache.name = /var/lib/mysql//galera.cache; gcache.page_size = 128M; gcache.size = 128M; gcs.fc_debug = 0; gcs.fc_factor = 1.0; gcs.fc_limit = 16; gcs.fc_master_slave = no; gcs.max_packet_size = 64500; gcs.max_throttle = 0.25; gcs.recv_q_hard_limit = 9223372036854775807; gcs.recv_q_soft_limit = 0.25; gcs.sync_donor = no; gmcast.segment = 0; gmcast.version = 0; pc.announce_timeout = PT3S; pc.checksum = false; pc.ignore_quorum = false; pc.ignore_sb = false; 2016-08-01 12:21:11 139816032925440 [Note] WSREP: Service thread queue flushed. 2016-08-01 12:21:11 139816270788736 [Note] WSREP: Assign initial position for certification: -1, protocol version: -1 2016-08-01 12:21:11 139816270788736 [Note] WSREP: wsrep_sst_grab() 2016-08-01 12:21:11 139816270788736 [Note] WSREP: Start replication 2016-08-01 12:21:11 139816270788736 [Note] WSREP: Setting initial position to 00000000-0000-0000-0000-000000000000:-1 2016-08-01 12:21:11 139816270788736 [Note] WSREP: protonet asio version 0 2016-08-01 12:21:11 139816270788736 [Note] WSREP: Using CRC-32C for message checksums. 2016-08-01 12:21:11 139816270788736 [Note] WSREP: backend: asio 2016-08-01 12:21:11 139816270788736 [Warning] WSREP: access file(/var/lib/mysql//gvwstate.dat) failed(No such file or directory) 2016-08-01 12:21:11 139816270788736 [Note] WSREP: restore pc from disk failed 2016-08-01 12:21:11 139816270788736 [Note] WSREP: GMCast version 0 2016-08-01 12:21:11 139816270788736 [Note] WSREP: (f5f23753, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567 2016-08-01 12:21:11 139816270788736 [Note] WSREP: (f5f23753, 'tcp://0.0.0.0:4567') multicast: , ttl: 1 2016-08-01 12:21:11 139816270788736 [Note] WSREP: EVS version 0 2016-08-01 12:21:11 139816270788736 [Note] WSREP: gcomm: connecting to group 'istcdh_mariadb_cluster', peer ':,:' 2016-08-01 12:21:11 139816270788736 [Warning] WSREP: (f5f23753, 'tcp://0.0.0.0:4567') address 'tcp://:4567' points to own listening address, blacklisting 2016-08-01 12:21:11 139816270788736 [Note] WSREP: (f5f23753, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: 2016-08-01 12:21:12 139816270788736 [Note] WSREP: declaring e3cbb6e5 at tcp://:4567 stable 2016-08-01 12:21:12 139816270788736 [Note] WSREP: Node e3cbb6e5 state prim 2016-08-01 12:21:12 139816270788736 [Note] WSREP: view(view_id(PRIM,e3cbb6e5,2) memb { e3cbb6e5,0 f5f23753,0 } joined { } left { } partitioned { }) 2016-08-01 12:21:12 139816270788736 [Note] WSREP: save pc into disk 2016-08-01 12:21:12 139816270788736 [Note] WSREP: gcomm: connected 2016-08-01 12:21:12 139816270788736 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636 2016-08-01 12:21:12 139816270788736 [Note] WSREP: Shifting CLOSED -> OPEN (TO: 0) 2016-08-01 12:21:12 139816270788736 [Note] WSREP: Opened channel 'istcdh_mariadb_cluster' 2016-08-01 12:21:12 139815966205696 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 1, memb_num = 2 2016-08-01 12:21:12 139816270788736 [Note] WSREP: Waiting for SST to complete. 2016-08-01 12:21:12 139815966205696 [Note] WSREP: STATE EXCHANGE: Waiting for state UUID. 2016-08-01 12:21:12 139815966205696 [Note] WSREP: STATE EXCHANGE: sent state msg: f63f1911-5803-11e6-93b7-5660a04a755c 2016-08-01 12:21:12 139815966205696 [Note] WSREP: STATE EXCHANGE: got state msg: f63f1911-5803-11e6-93b7-5660a04a755c from 0 (ip-.eu-west-1.compute.internal) 2016-08-01 12:21:12 139815966205696 [Note] WSREP: STATE EXCHANGE: got state msg: f63f1911-5803-11e6-93b7-5660a04a755c from 1 (ip-.eu-west-1.compute.internal) 2016-08-01 12:21:12 139815966205696 [Note] WSREP: Quorum results: version = 3, component = PRIMARY, conf_id = 1, members = 1/2 (joined/total), act_id = 0, last_appl. = -1, protocols = 0/7/3 (gcs/repl/appl), group UUID = 3a3e195f-57f1-11e6-92fd-5a5896716e64 2016-08-01 12:21:12 139815966205696 [Note] WSREP: Flow-control interval: [23, 23] 2016-08-01 12:21:12 139815966205696 [Note] WSREP: Shifting OPEN -> PRIMARY (TO: 0) 2016-08-01 12:21:12 139816270473984 [Note] WSREP: State transfer required: Group state: 3a3e195f-57f1-11e6-92fd-5a5896716e64:0 Local state: 00000000-0000-0000-0000-000000000000:-1 2016-08-01 12:21:12 139816270473984 [Note] WSREP: New cluster view: global state: 3a3e195f-57f1-11e6-92fd-5a5896716e64:0, view# 2: Primary, number of nodes: 2, my index: 1, protocol version 3 2016-08-01 12:21:12 139816270473984 [Warning] WSREP: Gap in state sequence. Need state transfer. 2016-08-01 12:21:12 139815936849664 [Note] WSREP: Running: 'wsrep_sst_rsync --role 'joiner' --address '' --datadir '/var/lib/mysql/' --parent '22231' '' ' 2016-08-01 12:21:12 139816270473984 [Note] WSREP: Prepared SST request: rsync|:4444/rsync_sst 2016-08-01 12:21:12 139816270473984 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification. 2016-08-01 12:21:12 139816270473984 [Note] WSREP: REPL Protocols: 7 (3, 2) 2016-08-01 12:21:12 139816032925440 [Note] WSREP: Service thread queue flushed. 2016-08-01 12:21:12 139816270473984 [Note] WSREP: Assign initial position for certification: 0, protocol version: 3 2016-08-01 12:21:12 139816032925440 [Note] WSREP: Service thread queue flushed. 2016-08-01 12:21:12 139816270473984 [Warning] WSREP: Failed to prepare for incremental state transfer: Local state UUID (00000000-0000-0000-0000-000000000000) does not match group state UUID (3a3e195f-57f1-11e6-92fd-5a5896716e64): 1 (Operation not permitted) at galera/src/replicator_str.cpp:prepare_for_IST():482. IST will be unavailable. 2016-08-01 12:21:12 139815966205696 [Note] WSREP: Member 1.0 (ip-.eu-west-1.compute.internal) requested state transfer from '*any*'. Selected 0.0 (ip-.eu-west-1.compute.internal)(SYNCED) as donor. 2016-08-01 12:21:12 139815966205696 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 0) 2016-08-01 12:21:12 139816270473984 [Note] WSREP: Requesting state transfer: success, donor: 0 2016-08-01 12:21:13 139815966205696 [Warning] WSREP: 0.0 (ip-.eu-west-1.compute.internal): State transfer to 1.0 (ip-.eu-west-1.compute.internal) failed: -255 (Unknown error 255) 2016-08-01 12:21:13 139815966205696 [ERROR] WSREP: gcs/src/gcs_group.cpp:gcs_group_handle_join_msg():733: Will never receive state. Need to abort. 2016-08-01 12:21:13 139815966205696 [Note] WSREP: gcomm: terminating thread 2016-08-01 12:21:13 139815966205696 [Note] WSREP: gcomm: joining thread 2016-08-01 12:21:13 139815966205696 [Note] WSREP: gcomm: closing backend 2016-08-01 12:21:14 139815966205696 [Note] WSREP: view(view_id(NON_PRIM,e3cbb6e5,2) memb { f5f23753,0 } joined { } left { } partitioned { e3cbb6e5,0 }) 2016-08-01 12:21:14 139815966205696 [Note] WSREP: view((empty)) 2016-08-01 12:21:14 139815966205696 [Note] WSREP: gcomm: closed 2016-08-01 12:21:14 139815966205696 [Note] WSREP: mysqld: Terminated. [ec2-user@ip- my.cnf.d]$ WSREP_SST: [ERROR] Parent mysqld process (PID:22231) terminated unexpectedly. (20160801 12:21:14.665) WSREP_SST: [INFO] Joiner cleanup. rsync PID: 22269 (20160801 12:21:14.666) WSREP_SST: [INFO] Joiner cleanup done. (20160801 12:21:15.170)