简体   繁体   English

Percona Xtradb Cluster节点无法启动

[英]Percona Xtradb Cluster nodes won't start

I setup percona_xtradb_cluster-56 with three nodes in the cluster. 我在群集中的三个节点上设置了percona_xtradb_cluster-56。 To start the first cluster, i use the following command and it starts just fine: 要启动第一个集群,我使用以下命令,它的启动就很好了:

#/etc/init.d/mysql bootstrap-pxc

The other two nodes however fail to start when i start them normally using the command: 但是,当我使用以下命令正常启动其他两个节点时,它们将无法启动:

#/etc/init.d/mysql start

The error i am getting is "The server quit without updating the PID file". 我得到的错误是“服务器退出而不更新PID文件”。 The error log contains this message: 错误日志包含以下消息:

Error in my_thread_global_end(): 1 threads didn't exit 150605 22:10:29 
mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended.

The cluster nodes are running all Ubuntu 14.04. 群集节点正在运行所有Ubuntu 14.04。 When i use percona-xtradb-cluster5.5, the cluster ann all the nodes run just fine as expected. 当我使用percona-xtradb-cluster5.5时,群集和所有节点都按预期运行。 But i need to use version 5.6 because i am also using GTID which is only available in version 5.6 and not supported in earlier versions. 但是我需要使用5.6版,因为我也在使用GTID,它仅在5.6版中可用,而在较早的版本中不支持。

I was following these two percona documentation to setup the cluster: https://www.percona.com/doc/percona-xtradb-cluster/5.6/installation.html#installation 我正在遵循这两个percona文档来设置集群: https ://www.percona.com/doc/percona-xtradb-cluster/5.6/installation.html#installation

https://www.percona.com/doc/percona-xtradb-cluster/5.6/howtos/ubuntu_howto.html https://www.percona.com/doc/percona-xtradb-cluster/5.6/howtos/ubuntu_howto.html

Any insight or suggestions on how to resolve this issue would be highly appreciated. 对于如何解决此问题的任何见解或建议,我们将不胜感激。

The problem is related to memory, as "The Georgia" writes. 正如“佐治亚州”所写的,问题与记忆有关。 There should be at least 500MB for default setup and bootstrapping. 默认设置和引导程序至少应有500MB。 See here http://sysadm.pp.ua/linux/px-cluster.html 看到这里http://sysadm.pp.ua/linux/px-cluster.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM