[MXS-1851] Using backend protocol as client protocol causes a crash Created: 2018-05-04 Updated: 2019-05-28 Resolved: 2019-05-28 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | 2.2.5 |
| Fix Version/s: | 2.3.8 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Venkatarao Beru | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
software platform |
||
| Issue Links: |
|
||||||||
| Description |
|
We are trying to setup MaxScale 2.2.5 so we untar the software and created /etc/maxscale.cnf file. We got the below errors while starting up maxscale. $ ./bin/maxscale --user=maxscale --basedir=/mysql/maxscale --config=/etc/maxscale.cnf -d Fatal: MaxScale 2.2.5 received fatal signal 11. Attempting backtrace. ./bin/maxscale[0x407901] Writing core dump Could you please let us know, is it a bug? or if not please provide us a solution to fix this. Thanks, |
| Comments |
| Comment by markus makela [ 2018-05-04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Yes, this appears to be a bug. Can you confirm that this was with the tarball, not the RPM package? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Venkatarao Beru [ 2018-05-04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Yes. We installed with the following tar ball maxscale-2.2.5.rhel.7.tar.gz | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2018-05-04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Would it be possible for you to confirm that the 2.2.4 tarball works? This would tell us whether 2.2.5 introduced some changes that triggered this. Another thing I would like to ask you to verify is whether this happens only with the tarball. To do this, install MaxScale from the RPM package and start it up with the same configuration file. Also, if possible, please upload your configuration file with all sensitive data (passwords, server hostnames etc.) removed. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Venkatarao Beru [ 2018-05-04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thank you Makela for your quick responses and updates. Please find requested information. We have not tried to install 2.2.4 tarball. Let me try to install this. Yes. This happened with "maxscale-2.2.5.rhel.7.tar.gz" tar ball s/w. Let me install with RPM package and will get back to you. Please find my configuration file
We have installed mariadb on SERVER1 and SERVER2 and configured bi directional (MASTER↔MASTER) replication for time being. Once maxscale successfully configured then will setup MASTER→SLAVE replication. Please find mariadb versions on SERVER1 and SERVER2
-bash-4.2$ mysql --version
-bash-4.2$ mysql --version
Thanks, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Venkatarao Beru [ 2018-05-04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
As you said, untar the tar ball "maxscale-2.2.4.rhel.7.tar.gz" and got the below error $ pwd [maxscale@dbcct3vmyd01006 maxscale-2.2.4.rhel.7]$ ./bin/maxscale --user=maxscale --basedir=/mysql/mariadb/maxscale-2.2.4.rhel.7 --config=/etc/maxscale.cnf -d Please let me know, is there any library issue or any RPMs needs to be installed at o/s level i.e., RHEL 7 $ cat /etc/redhat-release Thanks, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Venkatarao Beru [ 2018-05-04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
We tried maxscale 2.2.5 setup by RPM but it has also same issue. Please find details
[maxscale@dbcct3vmyd01006 maxscale]$ which maxscale Fatal: MaxScale 2.2.5 received fatal signal 11. Attempting backtrace. /usr/bin/maxscale[0x407921] Writing core dump
MariaDB MaxScale /var/log/maxscale/maxscale.log Fri May 4 08:34:30 2018 Please suggest us to overcome this setup issue. Thanks, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Todd Stoffel (Inactive) [ 2018-05-04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
[SplitterListener] The protocol should be MariaDBClient | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Venkatarao Beru [ 2018-05-05 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thank you Todd for finding the issue. After chaging the protocol, Maxscale started. Currently RPM has been installed on the server. Let me remove RPM then install TAR ball again then will check Maxscale can be started without having any issues. Please find maxscale status with RPM installation MaxScale> show service "Splitter Service" use_sql_variables_in: all Number of router sessions: 0 Regards, |