简体   繁体   English

Percona XtraDB Cluster:服务器退出而不更新PID文件...服务器启动失败

[英]Percona XtraDB Cluster : Server quit without updating PID file ... server startup failed

Can some one help me please ?有人能帮助我吗 ?

1) Host of my VPS (Centos) was down (Provider problem) 1) 我的 VPS (Centos) 主机宕机(提供商问题)
2) After VPS reboot, the node XtraDB cluster refuse to start 2)VPS重启后,节点XtraDB集群拒绝启动
3) Other nodes (2) were note impacted 3) 其他节点 (2) 受到影响

I read lot of posts and try to by many ways but nothing works.我阅读了很多帖子并尝试了多种方法,但没有任何效果。

i tried simple start i tried to remove the /var/lib/mysql/xxxxxx.com.pid and try to start i tied to remove the lock file我尝试了简单的启动我尝试删除 /var/lib/mysql/xxxxxx.com.pid 并尝试启动我绑定删除锁定文件

always the same result :总是相同的结果:

#/etc/init.d/mysql start
Starting MySQL (Percona XtraDB Cluster).. ERROR! The server quit without updating PID file (/var/lib/mysql/xxxxxx.com.pid).
ERROR! MySQL (Percona XtraDB Cluster) server startup failed!

or或者

#/etc/init.d/mysql start
 ERROR! MySQL (Percona XtraDB Cluster) is not running, but lock file (/var/lock/subsys/mysql) exists
Starting MySQL (Percona XtraDB Cluster).....State transfer in progress, setting sleep higher
.... ERROR! The server quit without updating PID file (/var/lib/mysql/xxxxxxx.com.pid).
 ERROR! MySQL (Percona XtraDB Cluster) server startup failed!

or或者

#/etc/init.d/mysql start --wsrep-cluster-address="gcomm://"
 ERROR! MySQL (Percona XtraDB Cluster) is not running, but lock file (/var/lock/subsys/mysql) exists
Starting MySQL (Percona XtraDB Cluster).. ERROR! The server quit without updating PID file (/var/lib/mysql/xxxxx.com.pid).
 ERROR! MySQL (Percona XtraDB Cluster) server startup failed!

I had the same error and none of the other solutions worked for me.我有同样的错误,其他解决方案都不适合我。 However I had a feeling that it had something to do with running out of disk space.但是我有一种感觉,它与磁盘空间不足有关。

What worked for me was removing the ibdata1, ib_logfile0, and ib_logfile1 in the /var/lib/mysql directory.对我有用的是删除 /var/lib/mysql 目录中的 ibdata1、ib_logfile0 和 ib_logfile1。

The files were re-created on startup.这些文件是在启动时重新创建的。 the two logfiles were exactly the same size as previous for the ibdata1 file was half the size.这两个日志文件的大小与之前的 ibdata1 文件的大小完全相同。

Someone may be able to confirm, but I believe the ibdata1 file met/exceeded the configured size (I did not set up this instance).有人可能能够确认,但我相信 ibdata1 文件达到/超过了配置的大小(我没有设置这个实例)。

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

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