Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-15749

WSREP [ERROR] gcs/src/gcs_core.cpp:gcs_core_open():208: Failed to open backend connection: -98 (Address already in use) appears upon restarting mariadb.service

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 10.3.5
    • N/A
    • Galera, Server, wsrep
    • None
    • 3 Master-Master MariDB cluster;CentOS 7.4

    Description

      WSREP [ERROR] gcs/src/gcs_core.cpp:gcs_core_open():208: Failed to open backend connection: -98 (Address already in use) appears upon restarting mariadb.service

      with either of systemctl restart mariadb.service
      OR service mysql restart
      it's received the [ERROR]
      WSREP [ERROR] gcs/src/gcs_core.cpp:gcs_core_open():208: Failed to open backend connection: -98 (Address already in use) appears upon restarting mariadb.service

      The Error 'Address already in use' appears
      as mysqld is not stopped/started and remains in the processlist after restarting mariadb.service

      # service mysql restart
      
      

      2018-04-02 17:24:05 0 [Note] WSREP: Read nil XID from storage engines, skipping position init
      2018-04-02 17:24:05 0 [Note] WSREP: wsrep_load(): loading provider library '/usr/lib64/galera/libgalera_smm.so'
      2018-04-02 17:24:05 0 [Note] WSREP: wsrep_load(): Galera 25.3.23(r3789) by Codership Oy <info@codership.com> loaded successfully.
      2018-04-02 17:24:05 0 [Note] WSREP: CRC-32C: using "slicing-by-8" algorithm.
      2018-04-02 17:24:05 0 [Note] WSREP: Found saved state: dff6e041-1005-11e8-85c9-965f304f37bc:-1, safe_to_bootstrap: 1
      2018-04-02 17:24:05 0 [Note] WSREP: Passing config to GCS: base_dir = /var/lib/mysql/; base_host = 192.168.104.196; base_port = 4567; cert.log_con           flicts = no; debug = no; evs.auto_evict = 0; evs.delay_margin = PT1S; evs.delayed_keep_period = PT30S; evs.inactive_check_period = PT0.5S; evs.ina           ctive_timeout = PT15S; evs.join_retrans_period = PT1S; evs.max_install_timeouts = 3; evs.send_window = 4; evs.stats_report_period = PT1M; evs.susp           ect_timeout = PT5S; evs.user_send_window = 2; evs.view_forget_timeout = PT24H; gcache.dir = /var/lib/mysql/; gcache.keep_pages_size = 0; gcache.me           m_size = 0; gcache.name = /var/lib/mysql//galera.cache; gcache.page_size = 128M; gcache.recover = no; gcache.size = 128M; gcomm.thread_prio = ; gc           s.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.bootstrap = YES; pc
      2018-04-02 17:24:05 0 [Note] WSREP: GCache history reset: dff6e041-1005-11e8-85c9-965f304f37bc:0 -> dff6e041-1005-11e8-85c9-965f304f37bc:131618
      2018-04-02 17:24:05 0 [Note] WSREP: Assign initial position for certification: 131618, protocol version: -1
      2018-04-02 17:24:05 0 [Note] WSREP: wsrep_sst_grab()
      2018-04-02 17:24:05 0 [Note] WSREP: Start replication
      2018-04-02 17:24:05 0 [Note] WSREP: Setting initial position to dff6e041-1005-11e8-85c9-965f304f37bc:131618
      2018-04-02 17:24:05 0 [Note] WSREP: protonet asio version 0
      2018-04-02 17:24:05 0 [Note] WSREP: Using CRC-32C for message checksums.
      2018-04-02 17:24:05 0 [Note] WSREP: backend: asio
      2018-04-02 17:24:05 0 [Note] WSREP: gcomm thread scheduling priority set to other:0
      2018-04-02 17:24:05 0 [Note] WSREP: restore pc from disk successfully
      2018-04-02 17:24:05 0 [Note] WSREP: GMCast version 0
      2018-04-02 17:24:05 0 [Note] WSREP: (de19f79a, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567
      2018-04-02 17:24:05 0 [Note] WSREP: (de19f79a, 'tcp://0.0.0.0:4567') multicast: , ttl: 1
      2018-04-02 17:24:05 0 [Note] WSREP: EVS version 0
      2018-04-02 17:24:05 0 [Note] WSREP: gcomm: connecting to group 'cluster1', peer '192.168.104.193:,192.168.104.195:,192.168.104.196:'
      2018-04-02 17:24:05 0 [ERROR] WSREP: bind: Address already in use
      2018-04-02 17:24:05 0 [ERROR] WSREP: failed to open gcomm backend connection: 98: error while trying to listen 'tcp://0.0.0.0:4567?socket.non_bloc           king=1', asio error 'bind: Address already in use': 98 (Address already in use)
               at gcomm/src/asio_tcp.cpp:listen():830
      2018-04-02 17:24:05 0 [ERROR] WSREP: gcs/src/gcs_core.cpp:gcs_core_open():208: Failed to open backend connection: -98 (Address already in use)
      2018-04-02 17:24:05 0 [ERROR] WSREP: gcs/src/gcs.cpp:gcs_open():1458: Failed to open channel 'cluster1' at 'gcomm://192.168.104.193,192.168.104.19           5,192.168.104.196': -98 (Address already in use)
      2018-04-02 17:24:05 0 [ERROR] WSREP: gcs connect failed: Address already in use
      2018-04-02 17:24:05 0 [ERROR] WSREP: wsrep::connect(gcomm://192.168.104.193,192.168.104.195,192.168.104.196) failed: 7
      2018-04-02 17:24:05 0 [ERROR] Aborting
      
      

      Attachments

        Issue Links

          Activity

            People

              seppo Seppo Jaakola
              winstone Zdravelina Sokolovska (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.