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

          kurschies Benjamin Kurschies created issue -
          kurschies Benjamin Kurschies made changes -
          Field Original Value New Value
          Description when trying to start mariadb via systemctl, I'm getting this error:
          {code}
          WSREP: Failed to start mysqld for wsrep recovery: '/usr/local/mysql/bin/galera_recovery: line 71: ./bin/mysqld: No such file or directory'
          {code}
          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":
          {code}
          #before:
           VAR=`/usr/local/mysql/bin/galera_recovery`; [ $? -eq 0 ] \
          #after
           VAR=`cd /usr/local/mysql; /usr/local/mysql/bin/galera_recovery`; [ $? -eq 0 ] \
          {/code}



          when trying to start mariadb via systemctl, I'm getting this error:
          {code}
          WSREP: Failed to start mysqld for wsrep recovery: '/usr/local/mysql/bin/galera_recovery: line 71: ./bin/mysqld: No such file or directory'
          {code}
          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":
          {code}
          #before:
           VAR=`/usr/local/mysql/bin/galera_recovery`; [ $? -eq 0 ] \
          #after
           VAR=`cd /usr/local/mysql; /usr/local/mysql/bin/galera_recovery`; [ $? -eq 0 ] \
          {code}



          serg Sergei Golubchik made changes -
          Assignee Julius Goryavsky [ sysprg ]
          serg Sergei Golubchik made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          serg Sergei Golubchik made changes -
          Fix Version/s 10.4 [ 22408 ]
          sysprg Julius Goryavsky made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          valerii Valerii Kravchuk made changes -
          Affects Version/s 10.4.10 [ 23907 ]
          GeoffMontee Geoff Montee (Inactive) made changes -
          Fix Version/s 10.1 [ 16100 ]
          Fix Version/s 10.2 [ 14601 ]
          Fix Version/s 10.3 [ 22126 ]
          julien.fritsch Julien Fritsch made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          sysprg Julius Goryavsky made changes -
          Assignee Julius Goryavsky [ sysprg ] Jan Lindström [ jplindst ]
          Status In Progress [ 3 ] In Review [ 10002 ]
          jplindst Jan Lindström (Inactive) made changes -
          Assignee Jan Lindström [ jplindst ] Julius Goryavsky [ sysprg ]
          Status In Review [ 10002 ] Stalled [ 10000 ]
          sysprg Julius Goryavsky made changes -
          issue.field.resolutiondate 2020-05-12 12:10:10.0 2020-05-12 12:10:10.483
          sysprg Julius Goryavsky made changes -
          Fix Version/s 10.1.44 [ 23912 ]
          Fix Version/s 10.2 [ 14601 ]
          Fix Version/s 10.1 [ 16100 ]
          Fix Version/s 10.3 [ 22126 ]
          Fix Version/s 10.4 [ 22408 ]
          Resolution Fixed [ 1 ]
          Status Stalled [ 10000 ] Closed [ 6 ]
          sysprg Julius Goryavsky made changes -
          Fix Version/s 10.4.13 [ 24223 ]
          sysprg Julius Goryavsky made changes -
          Fix Version/s 10.3.23 [ 24222 ]
          Fix Version/s 10.2.32 [ 24221 ]
          Fix Version/s 10.1.45 [ 23913 ]
          Fix Version/s 10.1.44 [ 23912 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 99989 ] MariaDB v4 [ 156788 ]
          mariadb-jira-automation Jira Automation (IT) made changes -
          Zendesk Related Tickets 161052

          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.