Mike Campanaro
2017-05-18 14:39:40 UTC
I'm using three Packetfence 7 - ZEN machines and trying to cluster them together. I've been following the Cluster Quick Install Guide but I can't seem to get past section 3.5.3 MariaDB sync.
After flushing the mysql data on my two nodes with the rm -fr /var/lib/mysql/* command and then restarting the packetfence-mariadb service as the guide states, nothing seems to happen.
I try to run mysql> show status like 'wsrep%'; to check the sync status but the command returns nothing. If I just running the 'mysql' command I get an error saying "Can't connect to local MySQL server through socket 'var/lib/mysql/mysql.sock' (111 "Connection refused")
Any guidance would be appreciated.
Thanks,
Mike Campanaro
Network Administrator I
[cid:***@01D27D5C.1F2F1C10]
19 Corporate Circle
East Syracuse, NY 13057
315-463-1010 | Fax 315-463-1980
For more information, visit us at www.dumac.com<http://www.dumac.com/>
Notice: This E-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. §§2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.
This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. Messages sent to and from us may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of DUMAC Business Systems, Inc.
After flushing the mysql data on my two nodes with the rm -fr /var/lib/mysql/* command and then restarting the packetfence-mariadb service as the guide states, nothing seems to happen.
I try to run mysql> show status like 'wsrep%'; to check the sync status but the command returns nothing. If I just running the 'mysql' command I get an error saying "Can't connect to local MySQL server through socket 'var/lib/mysql/mysql.sock' (111 "Connection refused")
Any guidance would be appreciated.
Thanks,
Mike Campanaro
Network Administrator I
[cid:***@01D27D5C.1F2F1C10]
19 Corporate Circle
East Syracuse, NY 13057
315-463-1010 | Fax 315-463-1980
For more information, visit us at www.dumac.com<http://www.dumac.com/>
Notice: This E-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. §§2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.
This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. Messages sent to and from us may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of DUMAC Business Systems, Inc.