Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.2.10
-
None
-
10.2.11
Description
To verify the problem patch mysqld_safe like following:
@@ -969,8 +961,6 @@
|
have_sleep=1
|
|
# close stdout and stderr, everything goes to $logging now
|
+log_error this is error message before closing descriptors
|
+log_notice this is notice message before closing descriptos
|
if expr "${-}" : '.*x' > /dev/null
|
then
|
:
|
@@ -979,9 +969,6 @@
|
exec 2>&-
|
fi
|
|
+log_error this is error message after closing descriptors
|
+log_notice this is notice message after closing descriptos
|
+
|
# maximum number of wsrep restarts
|
max_wsrep_restarts=0
|
Now start mysqld_safe with --log-error and observe output like below, which is expected:
# mysqld_safe --log-error=/var/lib/mysql/test.err
|
171109 12:50:55 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
|
171109 12:50:55 mysqld_safe this is error message before closing descriptors
|
171109 12:50:55 mysqld_safe this is notice message before closing descriptos
|
Now examine error log and observe that message 'error message after closing descriptors' is missing:
# cat /var/lib/mysql/test.err
|
171109 12:50:55 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
|
171109 12:50:55 mysqld_safe this is error message before closing descriptors
|
171109 12:50:55 mysqld_safe this is notice message before closing descriptos
|
171109 12:50:55 mysqld_safe this is notice message after closing descriptos
|
2017-11-09 12:50:55 140399771674752 [Note] /usr/sbin/mysqld (mysqld 10.2.10-MariaDB) starting as process 4649 ...
|
Attachments
Issue Links
- duplicates
-
MDEV-14312 Server fails to start when parameter is unknown with no reference to the problem
-
- Closed
-
-
MDEV-14488 logging not happening on spider branch builds
-
- Closed
-
-
MDEV-14714 mysqld writes status information on HUP signal into innodb data file, breaking it
-
- Closed
-
-
MDEV-14797 MariDB 10.2.11 writing errors logs into log_bin_index file
-
- Closed
-
-
MDEV-14889 Server fails to start because of aria_log_control-file
-
- Closed
-
- is duplicated by
-
MDEV-14644 MariaDB 10.2.11 breaks binary logging after nightly log cycle
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Link |
This issue blocks |
Summary | mysqld_safe doesn't log error messages with --log-output=file | mysqld_safe may suppress error messages with --log-output=file |
Fix Version/s | 10.2 [ 14601 ] |
Sprint | 10.2.11 [ 203 ] |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Assignee | Sergei Golubchik [ serg ] | Andrii Nikitin [ anikitin ] |
Status | Stalled [ 10000 ] | In Review [ 10002 ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Assignee | Andrii Nikitin [ anikitin ] | Sergei Golubchik [ serg ] |
Link |
This issue is duplicated by |
Fix Version/s | 5.5.59 [ 22612 ] | |
Fix Version/s | 10.0.34 [ 22613 ] | |
Fix Version/s | 10.1.30 [ 22637 ] | |
Fix Version/s | 10.2.11 [ 22634 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Fix Version/s | 10.2.12 [ 22810 ] | |
Fix Version/s | 10.2.11 [ 22634 ] |
Link |
This issue duplicates |
Link |
This issue blocks |
Link |
This issue relates to |
Link |
This issue duplicates |
Link |
This issue relates to |
Link |
This issue duplicates |
Link |
This issue is duplicated by |
Link |
This issue duplicates |
Link |
This issue is duplicated by |
Link |
This issue duplicates |
Workflow | MariaDB v3 [ 83721 ] | MariaDB v4 [ 153151 ] |