[MXS-663] MaxScale 1.4.1 fails to start on Debian 8 (Jessie) Created: 2016-04-05 Updated: 2016-04-11 Resolved: 2016-04-11 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | init script |
| Affects Version/s: | 1.3.0, 1.4.1 |
| Fix Version/s: | 1.4.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Arthur Dali | Assignee: | Timofey Turenko |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian 8.4 |
||
| Description |
|
Opening a new bug as suggested in the comments of MaxScale 1.4.1 still fails to start on Debian 8 using systemd. This issue I've had in 1.2 and 1.3 also. In 1.3 I was able to bypass it by adding export _SYSTEMCTL_SKIP_REDIRECT="true" to /etc/init.d/maxscale However that is no longer working with MaxScale 1.4.1. I am able to successfully start MaxScale from the command line manually using: /usr/bin/maxscale --user=maxscale When using systemd the service won't start and log files under /var/log/maxscale do not get updated with any new info whatsoever:
Apr 05 05:38:30 look systemd[1]: maxscale.service: control process exited, code=exited status=1
|
| Comments |
| Comment by Timofey Turenko [ 2016-04-06 ] |
|
I can't reproduce it. Which package do you use? is it maxscale-1.4.1-1.debian_jessie.x86_64.deb ? |
| Comment by Arthur Dali [ 2016-04-06 ] |
|
The package was installed using apt from the following repository:
Here's the package information: $ apt-cache show maxscale -------------------- |
| Comment by Stefan Rubner [ 2016-04-07 ] |
|
Since I'm able to run MaxScale on Jessie using systemd I suspect this is a simple matter of file/directory permissions, most likely on stuff in the /var/log/maxscale and/or /var/lib/maxscale directory. Make sure those directories and the files/directories within are owned by the maxscale:maxscale user. That fixed similar problems for me. |
| Comment by Timofey Turenko [ 2016-04-07 ] |
|
I suspect this issue is connected also to In case of access permission problem (to directories, configuration file) Maxscale fails silently, without any output to console or log. Just checked now: vagrant@maxscale:~$ sudo /usr/bin/maxscale --user=maxscale |
| Comment by Arthur Dali [ 2016-04-09 ] |
|
You are correct. My /etc/maxscale.cnf was owned by root:root and had 640 permissions, thus maxscale failed to start. I've changed the owner to maxscale:maxscale and the issue is now resolved. Add a verbose error when config file cannot be read perhaps? Cheers. |
| Comment by Timofey Turenko [ 2016-04-11 ] |
|
we have bug about error message and empty log |
| Comment by Timofey Turenko [ 2016-04-11 ] |
|
The problem is connected to |