[DOC] defining socket in my.cnf breaks startup/shutdown on Ubuntu
Bug #1026771 reported by
Scott Larson
This bug affects 9 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Committed
|
Medium
|
Raghavendra D Prabhu |
Bug Description
When the socket variable is defined in /etc/my.cnf in the [mysqld] section on Ubuntu 11.10 and 12.04, even when set to the location which Percona defaults to when left undefined, the startup/shutdown via init.d breaks. Consequently if you have a my.cnf with this variable defined in place before you've done the install, the install process will fail to complete correctly.
tags: | added: doc |
summary: |
- defining socket in my.cnf breaks startup/shutdown on Ubuntu + [DOC] defining socket in my.cnf breaks startup/shutdown on Ubuntu |
Changed in percona-xtradb-cluster: | |
importance: | Undecided → Medium |
Changed in percona-xtradb-cluster: | |
milestone: | 5.5.33-23.7.6 → none |
Changed in percona-xtradb-cluster: | |
assignee: | Hrvoje Matijakovic (hrvojem) → Raghavendra D Prabhu (raghavendra-prabhu) |
status: | Triaged → Fix Committed |
Changed in percona-xtradb-cluster: | |
status: | Fix Committed → Fix Released |
status: | Fix Released → Fix Committed |
To post a comment you must log in.
I can confirm that XtraDB Cluster (5.5.27) fails to install via apt-get, but only when there is my.cnf left by another package, like mysql-common. apt-get removes the mysql-common to solve dependencies, but does not purge it's config.
In my case, it failed due to bind_address = 127.0.0.1 in my.cnf with error:
mysqld_safe[5340]: 120918 10:25:50 [ERROR] WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127.0.0.1', which makes it impossible to receive state transfer from another node, since mysqld won't accept such connections. If you wish to use mysqldump state transfer method, s
All I had to do to make it install properly was:
apt-get purge mysql-common