error installing xtradb-cluster on Ubuntu(mysqld refuse to start)
Bug #1032282 reported by
Anatoly
This bug report is a duplicate of:
Bug #1026771: [DOC] defining socket in my.cnf breaks startup/shutdown on Ubuntu.
Edit
Remove
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL patches by Codership |
New
|
Undecided
|
Unassigned | ||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
New
|
Undecided
|
Unassigned |
Bug Description
mysqld fail to start after fresh install of percona-xtradb cluster on Ubuntu 12.04(LTS) via apt.
Log message:
120802 20:08:21 [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
120802 20:08:21 [ERROR] Aborting
Default bind_address is set to 127.0.0.1 and due to https:/
To post a comment you must log in.
I don't think this is a bug.
All you have to do is to make sure there is no old my.cnf before you install, or make sure the configuration is correct.
Percona XtraDB Cluster (checked latest 5.5.30-30.2) won't install any my.cnf with wrong defaults.
If you set bind_address = 127.0.0.1 in your my.cnf, even if Percona XtraDB Cluster was successfully installed before - it won't start if you also leave the wsrep_sst_method at default value (mysqldump). I think this is just expected behaviour.
If you wan't a node working with bind_address = 127.0.0.1 you must specify different wsrep_sst_method, like xtrabackup.