[MDEV-14312] Server fails to start when parameter is unknown with no reference to the problem Created: 2017-11-07 Updated: 2017-12-29 Resolved: 2017-11-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server, wsrep |
| Affects Version/s: | 10.1, 10.2 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Claudio Nanni | Assignee: | Andrii Nikitin (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
If you mistype a parameter or use a valid parameter but in the wrong section MariaDB fails to start logging only two rows in the error log:
I actually encountered this problem when configuring `streamfmt` in the wrong section, [mysqld] instead of [sst]. Imho It would be the case to point to the reason why the server failed to start, either non existing parameter or non existing for that section. |
| Comments |
| Comment by Elena Stepanova [ 2017-11-07 ] | ||||||||||||||||||||||||||||||||||||
|
Oddly, it has something to do with wsrep. Try to start it with a wrong parameter without wsrep – it logs everything as expected:
But with wsrep:
Probably it has something to do with --disable-log-error in the wsrep command line | ||||||||||||||||||||||||||||||||||||
| Comment by Andrii Nikitin (Inactive) [ 2017-11-09 ] | ||||||||||||||||||||||||||||||||||||
|
For those who is hitting the problem - please look for file like /tmp/wsrep_recovery.* with related messages | ||||||||||||||||||||||||||||||||||||
| Comment by Andrii Nikitin (Inactive) [ 2017-11-09 ] | ||||||||||||||||||||||||||||||||||||
|
It is strange that when I manually insert line `set -x` at start of mysqld_safe - I do see proper logging in file specified with --log-error= | ||||||||||||||||||||||||||||||||||||
| Comment by Andrii Nikitin (Inactive) [ 2017-11-09 ] | ||||||||||||||||||||||||||||||||||||
|
Claudio, thank you for this report. I've verified that the root cause is not related to Galera - see |