galera-arbitator-4 on ubuntu 20 , gcs/src/gcs_core.cpp:gcs_core_open():219: Failed to open backend connection: -98 (Address already in use)

127 views
Skip to first unread message

vidhut singh

unread,
Jun 15, 2022, 11:27:06 AM6/15/22
to codership
Hi all 

I am trying to create 2 Node galera-cluster and following this link for successful configuration 

Requirement : 2 Node MariaDB cluster 
My Environment :
VM1 : Ubuntu 20.04 
-Installed MariaDB 10.3.34

VM2: Ubuntu 20.04 
- installed MariaDB 10.3.34

On both the bode services are up and running . 

root@paloma-node1:/home/vidhut# mysql -u root -p -e "SHOW STATUS LIKE 'wsrep_cluster_size'"

Enter password: 

+--------------------+-------+

| Variable_name      | Value |

+--------------------+-------+

| wsrep_cluster_size | 2     |

+--------------------+-------+

When I try to install Galera-arbitrator on both the node, getting the following error 

xxxx@paloma-node1:/home/vidhut# garbd --cfg ./arbitrator.config 

2022-06-15 12:44:14.726  INFO: CRC-32C: using hardware acceleration.

2022-06-15 12:44:14.726  INFO: Read config: 

   daemon:  0

   name:    garb

   address: gcomm://10.194.194.21,10.194.194.38

   group:   galera_cluster

   sst:     trivial

   donor:   

   options: gcs.fc_limit=9999999; gcs.fc_factor=1.0; gcs.fc_master_slave=yes

   cfg:     ./arbitrator.config

   log:     


2022-06-15 12:44:14.727  INFO: protonet asio version 0

2022-06-15 12:44:14.727  INFO: Using CRC-32C for message checksums.

2022-06-15 12:44:14.727  INFO: backend: asio

2022-06-15 12:44:14.727  INFO: gcomm thread scheduling priority set to other:0 

2022-06-15 12:44:14.727  WARN: access file(./gvwstate.dat) failed(No such file or directory)

2022-06-15 12:44:14.727  INFO: restore pc from disk failed

2022-06-15 12:44:14.727  INFO: GMCast version 0

2022-06-15 12:44:14.727  INFO: (dcf3e868, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567

2022-06-15 12:44:14.727  INFO: (dcf3e868, 'tcp://0.0.0.0:4567') multicast: , ttl: 1

2022-06-15 12:44:14.728  INFO: EVS version 1

2022-06-15 12:44:14.728  INFO: gcomm: connecting to group 'galera_cluster', peer '10.194.194.21:,10.194.194.38:'

2022-06-15 12:44:14.728 ERROR: bind: Address already in use

2022-06-15 12:44:14.728 ERROR: failed to open gcomm backend connection: 98: error while trying to listen 'tcp://0.0.0.0:4567?socket.non_blocking=1', asio error 'bind: Address already in use': 98 (Address already in use)

    at gcomm/src/asio_tcp.cpp:listen():834

2022-06-15 12:44:14.728 ERROR: gcs/src/gcs_core.cpp:gcs_core_open():219: Failed to open backend connection: -98 (Address already in use)

2022-06-15 12:44:14.728 ERROR: gcs/src/gcs.cpp:gcs_open():1607: Failed to open channel 'galera_cluster' at 'gcomm://10.194.194.21,10.194.194.38': -98 (Address already in use)

2022-06-15 12:44:14.728 FATAL: Exception in creating receive loop: Failed to open connection to group: 98 (Address already in use)

    at garb/garb_gcs.cpp:Gcs():35


vidhut singh

unread,
Jun 16, 2022, 11:31:06 AM6/16/22
to codership

Found the solution, actually i was missing "options="gmcast.listen_addr=tcp://0.0.0.0:4444"" line in garbd config file. 
thanks 
Reply all
Reply to author
Forward
0 new messages