Bug #80241 | Starting group replication causes MySQL to crash with sig 6 with selinux | ||
---|---|---|---|
Submitted: | 2 Feb 2016 19:35 | Modified: | 2 Aug 2016 19:31 |
Reporter: | Ben Stillman | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Group Replication | Severity: | S3 (Non-critical) |
Version: | 0.7.0-labs | OS: | CentOS (el7-x86-64bit) |
Assigned to: | CPU Architecture: | Any | |
Tags: | group replication, selinux |
[2 Feb 2016 19:35]
Ben Stillman
[27 Apr 2016 4:11]
Vadim Tkachenko
I am facing the same crash on START GROUP_REPLICATION; command even SELINUX is disabled.
[1 May 2016 8:15]
Naresh Mote
Hi Team, I too facing same issue. Same bug experienced with Oracle Linux 7. Even after disabling SELINUX, the issue remains the same. Thanks, Naresh
[18 Jul 2016 21:26]
Daniƫl van Eeden
Marked Bug #82275 (Crash in accept_tcp) as a duplicate
[28 Jul 2016 18:43]
Matthew Lord
Hi All, Thank you for trying out Group Replication and providing helpful feedback! I was not able to repeat the problem with the new 0.8 Beta release (available now on labs.mysql.com). I'm using Oracle Linux 7 x86_64 with UEK4: bash# uname -a Linux hanode3 3.10.0-327.el7.x86_64 #1 SMP Fri Nov 20 00:18:34 PST 2015 x86_64 x86_64 x86_64 GNU/Linux bash# cat /etc/os-release NAME="Oracle Linux Server" VERSION="7.2" ID="ol" VERSION_ID="7.2" PRETTY_NAME="Oracle Linux Server 7.2" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:oracle:linux:7:2:server" HOME_URL="https://linux.oracle.com/" BUG_REPORT_URL="https://bugzilla.oracle.com/" ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7" ORACLE_BUGZILLA_PRODUCT_VERSION=7.2 ORACLE_SUPPORT_PRODUCT="Oracle Linux" ORACLE_SUPPORT_PRODUCT_VERSION=7.2 SELinux is enabled with a targeting policy in force. There is also currently an active mysql module: bash# sestatus SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: enforcing Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: allowed Max kernel policy version: 28 bash# getenforce Enforcing bash# semodule -l | grep mysql mysql 1.14.1 I am able to have the MySQL GCS (XCom) bind to the port that I've added to the selinux policy--6606--fine: semanage port -l | grep mysql mysqld_port_t tcp 6606, 1186, 3306, 63132-63164 mysqlmanagerd_port_t tcp 2273 When I tried to use 3309, however, it failed as expected (no crash). ... 2016-07-27T17:53:46.104869Z 0 [Note] Plugin group_replication reported: 'state 0 action xa_init' 2016-07-27T17:53:46.115957Z 0 [ERROR] Plugin group_replication reported: 'Unable to announce tcp port 3309. Port already in use?' 2016-07-27T17:53:46.116162Z 0 [ERROR] Plugin group_replication reported: '[GCS] Error joining the group while waiting for the network layer to become ready.' 2016-07-27T17:53:46.116177Z 0 [Note] Plugin group_replication reported: 'state 4115 action xa_exit' 2016-07-27T17:53:46.116350Z 0 [Note] Plugin group_replication reported: 'Exiting xcom thread' 2016-07-27T17:53:46.116363Z 0 [ERROR] Plugin group_replication reported: '[GCS] The member was unable to join the group. Local port: 3309' 2016-07-27T17:54:46.105271Z 4 [ERROR] Plugin group_replication reported: 'Timeout on wait for view after joining group' 2016-07-27T17:54:46.105321Z 4 [Note] Plugin group_replication reported: 'Requesting to leave the group despite of not being a member' 2016-07-27T17:54:46.105339Z 4 [ERROR] Plugin group_replication reported: '[GCS] The member is leaving a group without being on one.' 2016-07-27T17:54:46.105426Z 4 [Note] Plugin group_replication reported: 'Destroying SSL' 2016-07-27T17:54:46.105433Z 4 [Note] Plugin group_replication reported: 'Success destroying SSL' 2016-07-27T17:54:46.105465Z 4 [Note] Plugin group_replication reported: 'auto_increment_increment is reset to 1' 2016-07-27T17:54:46.105468Z 4 [Note] Plugin group_replication reported: 'auto_increment_offset is reset to 1' 2016-07-27T17:54:46.105706Z 8 [Note] Error reading relay log event for channel 'group_replication_applier': slave SQL thread was killed 2016-07-27T17:54:46.107848Z 5 [Note] Plugin group_replication reported: 'The group replication applier thread was killed' ... Can you let me know if you're still able to repeat it with Group Replication 0.8? Thanks again!
[2 Aug 2016 19:31]
Matthew Lord
I'm closing this as fixed in 0.8 (available on labs.mysql.com today). Please do let me know if you still see related issues and we can always re-open it. Thanks again!