[MXS-809] Failing to start maxscale with init file on RHEL6 Created: 2016-07-25 Updated: 2016-10-10 Resolved: 2016-10-10 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | init script |
| Affects Version/s: | 1.4.3 |
| Fix Version/s: | 2.1.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Karl Levik | Assignee: | Timofey Turenko |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Environment: |
RHEL6.8 |
||
| Attachments: |
|
| Description |
|
Hello, After upgrading our dev cluster to MariaDB 10.1 I discovered that MaxScale would no longer start up when using the init script. (I don't think the upgrade is relevant to this problem, but thought I should mention it.) Nothing gets logged in the maxscale log file when attempting to start it this way.
I am however able to start it as the maxscale user without any problems:
What could be wrong? Edited to add:
Also, running the init script directly gives the same error:
|
| Comments |
| Comment by Karl Levik [ 2016-08-01 ] |
|
I've found a decent work-around for this: In the init file, /etc/init.d/maxscale, move the user parameter from the maxscale program to the daemon program / command, i.e. change this line:
to:
|
| Comment by Karl Levik [ 2016-08-22 ] |
|
Actually, this problem seems to only apply to our "MariaDB Enterprise Certified Binary" version of MaxScale. |