Hello. I'm trying to install a fresh PacketFence 8 cluster. I've gotten
to the point where I join the second node. However, the `systemctl restart
packetfence-mariadb` command doesn't return properly until it times out.
On the first node, in the /usr/local/pf/logs/mariadb_error.log file, I'm
seeing the following error:
Sep 28 13:30:05 o-pf01-tdv mysqld: 2018-09-28 13:30:05 139646809925376
[Note] WSREP: Flow-control interval: [23, 23]
Sep 28 13:30:05 o-pf01-tdv mysqld: 2018-09-28 13:30:05 139646809925376
[Note] WSREP: Trying to continue unpaused monitor
Sep 28 13:30:05 o-pf01-tdv mysqld: 2018-09-28 13:30:05 139647107812096
[Note] WSREP: New cluster view: global state:
8924558d-c343-11e8-af97-5e963e54a766:167, view# 2: Primary, number of
nodes: 2, my index: 1, protocol version 3
Sep 28 13:30:05 o-pf01-tdv mysqld: 2018-09-28 13:30:05 139647107812096
[Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
Sep 28 13:30:05 o-pf01-tdv mysqld: 2018-09-28 13:30:05 139647107812096
[Note] WSREP: REPL Protocols: 8 (3, 2)
Sep 28 13:30:05 o-pf01-tdv mysqld: 2018-09-28 13:30:05 139647107812096
[Note] WSREP: Assign initial position for certification: 167, protocol
version: 3
Sep 28 13:30:05 o-pf01-tdv mysqld: 2018-09-28 13:30:05 139646866073344
[Note] WSREP: Service thread queue flushed.
Sep 28 13:30:05 o-pf01-tdv mysqld_safe: A mysqld process already exists
Sep 28 13:30:06 o-pf01-tdv mysqld_safe: A mysqld process already exists
Sep 28 13:30:06 o-pf01-tdv mysqld: 2018-09-28 13:30:06 139646809925376
[Note] WSREP: Member 0.0 (o-pf02-tdv.domain.org) requested state transfer
from '*any*'. Selected 1.0 (o-pf01-tdv.domain.org)(SYNCED) as donor.
Sep 28 13:30:06 o-pf01-tdv mysqld: 2018-09-28 13:30:06 139646809925376
[Note] WSREP: Shifting SYNCED -> DONOR/DESYNCED (TO: 167)
Sep 28 13:30:06 o-pf01-tdv mysqld: 2018-09-28 13:30:06 139647107812096
[Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
Sep 28 13:30:06 o-pf01-tdv mysqld: 2018-09-28 13:30:06 139645723604736
[Note] WSREP: Running: 'wsrep_sst_xtrabackup --role 'donor' --address '
10.18.0.31:4444/xtrabackup_sst' --socket '/var/lib/mysql/mysql.sock'
--datadir '/var/lib/mysql/' --defaults-file
'/usr/local/pf/var/conf/mariadb.conf' '' --gtid
'8924558d-c343-11e8-af97-5e963e54a766:167' --gtid-domain-id '0''
Sep 28 13:30:06 o-pf01-tdv mysqld: 2018-09-28 13:30:06 139647107812096
[Note] WSREP: sst_donor_thread signaled with 0
Sep 28 13:30:06 o-pf01-tdv mysqld: WSREP_SST: [INFO] Streaming with tar
(20180928 13:30:06.298)
Sep 28 13:30:06 o-pf01-tdv mysqld: WSREP_SST: [INFO] Using socat as
streamer (20180928 13:30:06.304)
Sep 28 13:30:06 o-pf01-tdv mysqld: WSREP_SST: [INFO] Streaming the backup
to joiner at 10.18.0.31 4444 (20180928 13:30:06.320)
Sep 28 13:30:06 o-pf01-tdv mysqld: WSREP_SST: [INFO] Evaluating
innobackupex --defaults-file=/usr/local/pf/var/conf/mariadb.conf
$INNOEXTRA --galera-info --stream=$sfmt ${TMPDIR}
2>${DATA}/innobackup.backup.log | socat -u stdio TCP:10.18.0.31:4444; RC=(
${PIPESTATUS[@]} ) (20180928 13:30:06.326)
Sep 28 13:30:06 o-pf01-tdv mysqld: WSREP_SST: [ERROR] innobackupex finished
with error: 1. Check /var/lib/mysql//innobackup.backup.log (20180928
13:30:06.343)
Sep 28 13:30:06 o-pf01-tdv mysqld: WSREP_SST: [ERROR] Cleanup after exit
with status:22 (20180928 13:30:06.349)
Sep 28 13:30:06 o-pf01-tdv mysqld: 2018-09-28 13:30:06 139645723604736
[ERROR] WSREP: Failed to read from: wsrep_sst_xtrabackup --role 'donor'
--address '10.18.0.31:4444/xtrabackup_sst' --socket
'/var/lib/mysql/mysql.sock' --datadir '/var/lib/mysql/' --defaults-file
'/usr/local/pf/var/conf/mariadb.conf' '' --gtid
'8924558d-c343-11e8-af97-5e963e54a766:167' --gtid-domain-id '0'
Sep 28 13:30:06 o-pf01-tdv mysqld: 2018-09-28 13:30:06 139645723604736
[ERROR] WSREP: Process completed with error: wsrep_sst_xtrabackup --role
'donor' --address '10.18.0.31:4444/xtrabackup_sst' --socket
'/var/lib/mysql/mysql.sock' --datadir '/var/lib/mysql/' --defaults-file
'/usr/local/pf/var/conf/mariadb.conf' '' --gtid
'8924558d-c343-11e8-af97-5e963e54a766:167' --gtid-domain-id '0': 22
(Invalid argument)
Sep 28 13:30:06 o-pf01-tdv mysqld: 2018-09-28 13:30:06 139645723604736
[ERROR] WSREP: Command did not run: wsrep_sst_xtrabackup --role 'donor'
--address '10.18.0.31:4444/xtrabackup_sst' --socket
'/var/lib/mysql/mysql.sock' --datadir '/var/lib/mysql/' --defaults-file
'/usr/local/pf/var/conf/mariadb.conf' '' --gtid
'8924558d-c343-11e8-af97-5e963e54a766:167' --gtid-domain-id '0'
Sep 28 13:30:06 o-pf01-tdv mysqld: 2018-09-28 13:30:06 139646809925376
[Warning] WSREP: 1.0 (o-pf01-tdv.wctnet.org): State transfer to 0.0 (
o-pf02-tdv.wctnet.org) failed: -22 (Invalid argument)
Sep 28 13:30:06 o-pf01-tdv mysqld: 2018-09-28 13:30:06 139646809925376
[Note] WSREP: Shifting DONOR/DESYNCED -> JOINED (TO: 167)
The contents of /var/lib/mysql//innobackup.backup.log are:
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex
prints "completed OK!".
xtrabackup: value 'xtrabackup_sst' may be wrong format for incremental
option.
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users