Hello,
I did not set up the installation, and after a crash I am trying to get it working again.
After trying several ways to restart, I keep getting hung up on this issue. I have looked around for countless hours
to figure out what to do next to stop that "nc: Address already in use"
error.
Error log output----
........
130619 20:30:59 [Note] WSREP: New cluster view: global state: c0545b8b-60f9-11e2-0800s-d92e4acc6436:187473848, view# 145: Primary, number of nodes: 3, my index: 0, protocol version 2
130619 20:30:59 [Warning] WSREP: Gap in state sequence. Need state transfer.
130619 20:31:01 [Note] WSREP: Running: 'wsrep_sst_xtrabackup --role 'joiner' --address '123.456.789.12' --auth 'sstroot:passgoeshere' --datadir '/var/lib/mysql/' --defaults-file '/etc/my.cnf' --parent '12261''
nc: Address already in usetar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
130619 20:31:01 [Note] WSREP: Prepared SST request: xtrabackup|123.45.678.901:4444/xtrabackup_sst
130619 20:31:01 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
130619 20:31:01 [Note] WSREP: Assign initial position for certification: 187473848, protocol version: 2
130619 20:31:01 [Warning] WSREP: Failed to prepare for incremental state transfer: Local state UUID (00000000-0000-0000-0000-000000000000) does not match group state UUID (c0545b8b-60f9-11e2-0800-d92e4acc6436): 1 (Operation not permitted)
at galera/src/replicator_str.cpp:prepare_for_IST():440. IST will be unavailable.
130619 20:31:01 [Note] WSREP: Node 0 (
s1.int) requested state transfer from '*any*'. Selected 1 (
s2.int)(SYNCED) as donor.
130619 20:31:01 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 187473860)
130619 20:31:01 [Note] WSREP: Requesting state transfer: success, donor: 1
WSREP_SST: [ERROR] Error while getting st data from donor node: 1, 2 (20130619 20:31:01.819)
130619 20:31:02 [ERROR] WSREP: Process completed with error: wsrep_sst_xtrabackup --role 'joiner' --address '123.456.789.12' --auth 'sstroot:passgoeshere' --datadir '/var/lib/mysql/' --defaults-file '/etc/my.cnf' --parent '12261': 32 (Broken pipe)
130619 20:31:02 [ERROR] WSREP: Failed to read uuid:seqno from joiner script.
130619 20:31:02 [ERROR] WSREP: SST failed: 32 (Broken pipe)
130619 20:31:02 [ERROR] Aborting
130619 20:31:04 [Note] WSREP: Closing send monitor...
130619 20:31:04 [Note] WSREP: Closed send monitor.
130619 20:31:04 [Note] WSREP: gcomm: terminating thread
130619 20:31:04 [Note] WSREP: gcomm: joining thread
130619 20:31:04 [Note] WSREP: gcomm: closing backend
.......
I found a command to check some connections:
"netstat -anpt | grep 4567" (This does not return any results for the server that is throwing errors.)
Using this command on the other working servers I get:
tcp 0 0
0.0.0.0:4567 0.0.0.0:* LISTEN 21613/mysqld
tcp 0 0 123.45.678.901:53485 123.45.678.901:4567 ESTABLISHED 21613/mysqld
How do I make my server open these tcp ports?
Please be specific with the command... I am really pulling my hair out as the server has been down for 3 days now...
Also, are there other ports that need to be specifically opened for SST/replication to work?
Thanks for any help!!