When I try to run node: /usr/local/libexec/mysqld --user=root
I have get error: sh: wsrep_sst_rsync: not found
Listing of /usr/local/bin
My.cnf
root@node2:/usr/local/bin # cat /usr/local/etc/my.cnf
[mysqld]
binlog_format=ROW
default-storage-engine=innodb
innodb_autoinc_lock_mode=2
bind-address=0.0.0.0
# Galera Provider Configuration
wsrep_on=ON
wsrep_provider=/usr/local/lib/libgalera.so
# Galera Cluster Configuration
wsrep_cluster_name="mycluster"
wsrep_cluster_address="gcomm://node1,node2,node3"
# Galera Synchronization Configuration
wsrep_sst_method=rsync
# Galera Node Configuration
wsrep_node_address="10.0.1.112"
wsrep_node_name="node2"
[/CODE]
If I`m right mysqld cant find wsrep_sst_rsync file who storen in /usr/local/bin
FreeBSD 12.0
mariadb103-server-10.3.16
mariadb103-client-10.3.16
galera-25.3.26
I have get error: sh: wsrep_sst_rsync: not found
Code:
2019-08-19 13:53:03 2 [Note] WSREP: New cluster view: global state: a6d6c5d8-c282-11e9-b28d-3f1fbf110ba3:0, view# 24: Primary, number of nodes: 2, my index: 1, protocol version 3
2019-08-19 13:53:03 2 [Warning] WSREP: Gap in state sequence. Need state transfer.
2019-08-19 13:53:03 0 [Note] WSREP: Running: 'wsrep_sst_rsync --role 'joiner' --address '10.0.1.112' --datadir '/var/db/mysql/' --parent '2635' '' '''
sh: wsrep_sst_rsync: not found
2019-08-19 13:53:03 0 [ERROR] WSREP: Failed to read 'ready <addr>' from: wsrep_sst_rsync --role 'joiner' --address '10.0.1.112' --datadir '/var/db/mysql/' --parent '2635' '' ''
Read: '(null)'
2019-08-19 13:53:03 0 [ERROR] WSREP: Process completed with error: wsrep_sst_rsync --role 'joiner' --address '10.0.1.112' --datadir '/var/db/mysql/' --parent '2635' '' '': 2 (No such file or directory)
2019-08-19 13:53:03 2 [ERROR] WSREP: Failed to prepare for 'rsync' SST. Unrecoverable.
2019-08-19 13:53:03 2 [ERROR] Aborting
Listing of /usr/local/bin
Code:
root@node2:/usr/local/bin # ls -lh wsrep_sst_*
-rw-r--r-- 1 root wheel 8.2K Aug 10 03:28 wsrep_sst_common
-rwxr-xr-x 1 root wheel 36K Aug 10 03:28 wsrep_sst_mariabackup
-rwxr-xr-x 1 root wheel 7.7K Aug 10 03:28 wsrep_sst_mysqldump
-rwxrwxrwx 1 root wheel 16K Aug 10 03:28 wsrep_sst_rsync
lrwxr-xr-x 1 root wheel 15B Aug 10 04:19 wsrep_sst_rsync_wan -> wsrep_sst_rsync
My.cnf
root@node2:/usr/local/bin # cat /usr/local/etc/my.cnf
[mysqld]
binlog_format=ROW
default-storage-engine=innodb
innodb_autoinc_lock_mode=2
bind-address=0.0.0.0
# Galera Provider Configuration
wsrep_on=ON
wsrep_provider=/usr/local/lib/libgalera.so
# Galera Cluster Configuration
wsrep_cluster_name="mycluster"
wsrep_cluster_address="gcomm://node1,node2,node3"
# Galera Synchronization Configuration
wsrep_sst_method=rsync
# Galera Node Configuration
wsrep_node_address="10.0.1.112"
wsrep_node_name="node2"
[/CODE]
If I`m right mysqld cant find wsrep_sst_rsync file who storen in /usr/local/bin
FreeBSD 12.0
mariadb103-server-10.3.16
mariadb103-client-10.3.16
galera-25.3.26