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

MariaDB-Galera-server uses 'socat', but 'socat' is not in the dependency list

    Details

      Description

      Scripts '/usr/bin/wsrep_sst_xtrabackup' and '/usr/bin/wsrep_sst_xtrabackup-v2' are part of 'mariadb-galera-server' and they use 'socat' command. If 'mariadb-galera-server' is installed on the fresh system wich does noit have 'socat' package installed node joining operation failed.

      Steps to reproduce:
      1. use two fresh CentOS6 or Debian7 machies to create a cluster
      2. install 'mariadb-galera-server' package on both
      3. start node1
      4. try to join node2 to the cluster

      Expected result: two-nodes cluster is running

      Actual result:
      node2 start operation failed
      log contains:
      WSREP_SST: [INFO] Using socat as streamer (20140505 14:32:41.368)
      *which: no socat in
      (/usr/sbin:/sbin:/usr//bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin)**
      **WSREP_SST: [ERROR] socat not found in path:

      Note: CentOS6 default repositories does not contain 'socat' package. It is available from EPEL repo. Should it be mentioned somewhere in README?

      It would be good to check if scripts are using other commands that are not mentioned in the dependecy list (even 'sudo' is not installed by default in some distributions)
      nc, grep, rsync, tar, gawk, findutils, sed? coreutils util-linux curl net-tools?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nirbhay_c Nirbhay Choubey (Inactive)
                Reporter:
                tturenko Timofey Turenko
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: