[MXS-57] MaxScale should write a message to the error log when config is not found Created: 2015-03-26 Updated: 2015-10-14 Resolved: 2015-03-30 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Kolbe Kegel (Inactive) | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
[root@max1 mariadb-maxscale]# service maxscale start error log: msg log: syslog: MaxScale has already opened and is already writing to the error and msg logs, so it should be able to write something there if the config file can't be found. |
| Comments |
| Comment by markus makela [ 2015-03-28 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
The fact that the message is in syslog means that the log message is written but for some reason isn't flushed to disk before maxscale closes. | ||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2015-03-30 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
We haven't been able to replicate this, could you give more details about your system and the configuration you used? | ||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kolbe Kegel (Inactive) [ 2015-03-30 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
This issue occurs when MaxScale can't find the config at all, so I don't know how I'd meaningfully share more details about the configuration I used.
| ||||||||||||||||||||||||||||||||||||||||||||
| Comment by Peter McLarty [ 2015-10-14 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
I experienced this problem with a version 1.2.1 install I just did. the cnf when I created it as chmod 600 user root so the maxscale user was unable to read it. |