Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.4.7, 10.4.10
-
3 Node Galera Cluster - MariaDB 10.4.7 Enterprise on RHEL 7.6
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
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} |
Assignee | Julius Goryavsky [ sysprg ] |
Priority | Minor [ 4 ] | Major [ 3 ] |
Fix Version/s | 10.4 [ 22408 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Affects Version/s | 10.4.10 [ 23907 ] |
Fix Version/s | 10.1 [ 16100 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Assignee | Julius Goryavsky [ sysprg ] | Jan Lindström [ jplindst ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Jan Lindström [ jplindst ] | Julius Goryavsky [ sysprg ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
issue.field.resolutiondate | 2020-05-12 12:10:10.0 | 2020-05-12 12:10:10.483 |
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 ] |
Fix Version/s | 10.4.13 [ 24223 ] |
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 ] |
Workflow | MariaDB v3 [ 99989 ] | MariaDB v4 [ 156788 ] |
Zendesk Related Tickets | 161052 |