Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
After installation e.g. from an RPM, server does not start, the error contains the following:
130201 15:43:41 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
|
130201 15:43:41 mysqld_safe WSREP: Running position recovery with --log_error=/tmp/tmp.6j0kAvgklV
|
nohup: missing operand
|
Try `nohup --help' for more information.
|
130201 15:43:41 mysqld_safe WSREP: Failed to recover position:
|
Some digging shows that eval_log_error attempts to execute nohup without parameters instead of a full mysqld command, because the subroutine ignores all arguments except for the first one. The following patch seems to fix the issue, but please make sure that's the right way to do it, and that it's the only place where it should be fixed:
--- ./mysqld_safe 2013-02-01 15:44:53.173436006 +0400
|
+++ /usr/bin/mysqld_safe 2013-02-01 15:46:06.883696900 +0400
|
@@ -147,7 +147,7 @@
|
}
|
|
eval_log_error () {
|
- local cmd="$1"
|
+ local cmd="$*"
|
case $logging in
|
file) cmd="$cmd >> "`shell_quote_string "$err_log"`" 2>&1" ;;
|
syslog)
|