Details

    Description

      when trying to start mariadb via systemctl, I'm getting this error:

      WSREP: Failed to start mysqld for wsrep recovery: '/usr/local/mysql/bin/galera_recovery: line 71: ./bin/mysqld: No such file or directory'
      

      seems that the binary "galera-recovery" is neither searching the mysqld in the same folder as the binary itself nor in the path variable but instead expects the root to be /usr/local/mysql

      Workaround: I just modified line 77 of "mariadb.service":

      #before:
       VAR=`/usr/local/mysql/bin/galera_recovery`; [ $? -eq 0 ] \
      #after
       VAR=`cd /usr/local/mysql; /usr/local/mysql/bin/galera_recovery`; [ $? -eq 0 ] \
      

      Attachments

        Activity

          sysprg Julius Goryavsky added a comment - Fix here: https://github.com/MariaDB/server/commit/cbf00b625a831a306fcfa450b76f580d962c75db

          The bug was reported in 10.4.x, but Fix Version(s lists only 10.1.44. What exact 10.4.x version the fix is going into?

          valerii Valerii Kravchuk added a comment - The bug was reported in 10.4.x, but Fix Version(s lists only 10.1.44. What exact 10.4.x version the fix is going into?

          Corrected by adding the version number (10.4.13) to fix versions. Fixed for all branches starting from 10.1. Next, the patch was merged from 10.1 to all the main branches, sequentially, including 10.4: https://github.com/MariaDB/server/commit/c8e0c524af83149e77c88e9a6fd763221dea9277

          sysprg Julius Goryavsky added a comment - Corrected by adding the version number (10.4.13) to fix versions. Fixed for all branches starting from 10.1. Next, the patch was merged from 10.1 to all the main branches, sequentially, including 10.4: https://github.com/MariaDB/server/commit/c8e0c524af83149e77c88e9a6fd763221dea9277

          Hi sysprg,

          Next, the patch was merged from 10.1 to all the main branches, sequentially, including 10.4

          So shouldn't "Fix Version(s)" also mention 10.2.32 and MariaDB 10.3.23?

          Also, GitHub says that the commit that you linked is in MariaDB 10.1.45, but "Fix Version(s)" for this bug lists MariaDB 10.1.44. Is it also incorrect to have "MariaDB 10.1.44" in "Fix Version(s)" then?

          I took a look at the source code, and it does look to me like MariaDB 10.1.44 still has the bug, while MariaDB 10.1.45 has the fix:

          https://github.com/MariaDB/server/blob/mariadb-10.1.44/support-files/mariadb.service.in#L73

          https://github.com/MariaDB/server/blob/mariadb-10.1.45/support-files/mariadb.service.in#L73

          So the "Fix Version(s)" field for this bug should actually be "MariaDB 10.1.45, 10.2.32, MariaDB 10.3.23, MariaDB 10.4.13" and "MariaDB 10.1.44" should be completely removed from the field, right?

          GeoffMontee Geoff Montee (Inactive) added a comment - Hi sysprg , Next, the patch was merged from 10.1 to all the main branches, sequentially, including 10.4 So shouldn't "Fix Version(s)" also mention 10.2.32 and MariaDB 10.3.23? Also, GitHub says that the commit that you linked is in MariaDB 10.1.45, but "Fix Version(s)" for this bug lists MariaDB 10.1.44. Is it also incorrect to have "MariaDB 10.1.44" in "Fix Version(s)" then? I took a look at the source code, and it does look to me like MariaDB 10.1.44 still has the bug, while MariaDB 10.1.45 has the fix: https://github.com/MariaDB/server/blob/mariadb-10.1.44/support-files/mariadb.service.in#L73 https://github.com/MariaDB/server/blob/mariadb-10.1.45/support-files/mariadb.service.in#L73 So the "Fix Version(s)" field for this bug should actually be "MariaDB 10.1.45, 10.2.32, MariaDB 10.3.23, MariaDB 10.4.13" and "MariaDB 10.1.44" should be completely removed from the field, right?

          GeoffMontee Thanks for the clarification, I corrected the list of versions - indeed, the correction is relevant only from 10.1.45 and it was necessary to specify other versions

          sysprg Julius Goryavsky added a comment - GeoffMontee Thanks for the clarification, I corrected the list of versions - indeed, the correction is relevant only from 10.1.45 and it was necessary to specify other versions

          People

            sysprg Julius Goryavsky
            kurschies Benjamin Kurschies
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.