What i can also recommend is to remove the content of /var/lib/mysql on the other server (not the master one of course) and restart packetfence-mariadb

Regards

Fabrice



Le 2018-01-19 à 04:38, luca comes via PacketFence-users a écrit :
Hi Jason,
I had the same problem last week. First check on your master server if it is joined and synced with the cluster you can do that reading the file .err in /var/lib/mysql/ and in the database with the query show status like 'wsrep%' as stated in the clustering guide.

Luca


------------------------------------------------------------------------
*Da:* Trinklein, Jason R via PacketFence-users <[email protected]>
*Inviato:* giovedì 18 gennaio 2018 20:19
*A:* Rafael Rocha via PacketFence-users
*Cc:* Trinklein, Jason R
*Oggetto:* [PacketFence-users] Can't synchronize new cluster databases

I’m setting up a new cluster with three total members.

Server1 is running with /usr/local/pf/sbin/pf-mariadb --force-new-cluster

Server2 runs systemctl restart packetfence-mariadb

But fails with:

Job for packetfence-mariadb.service failed because a timeout was exceeded. See "systemctl status packetfence-mariadb.service" and "journalctl -xe" for details.

And journalctl shows:

https://pastebin.com/pWn6Nr1D

The systems can ping each other and tcpdump shows mysql packets being sent and received by both hosts. There is no firewall between them and they are on the same network.

Any ideas?

Thanks,

--

*Jason Trinklein*

/Wireless Engineering Manager/

College of Charleston

81 St. Philip Street | Office 311D | Charleston, SC 29403

[email protected] <mailto:[email protected]> | (843) 300–8009



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to