Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-578

MaxScale don't start on Debian Jessie + Systemd

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 1.3.0
    • 1.4.1
    • init script, StartupScripts
    • None
    • Debian Jessie 8 (vagrant box debian/jessie64)

    Description

      Hi,

      I have many issues with systemd integration of Maxsale on Debian Jessie. I have no problem with sysvinit.

      "TimeOutStartSec" is not managed by Debian

      ----------------------------------------------------------------

      root@debian-jessie:~

      {3}

      # systemctl start maxscale.service
      Job for maxscale.service failed. See 'systemctl status maxscale.service' and 'journalctl -xn' for details.
      root@debian-jessie:~

      {1}# systemctl status maxscale.service
      ● maxscale.service - MariaDB MaxScale Database Proxy
      Loaded: loaded (/lib/systemd/system/maxscale.service; disabled)
      Active: failed (Result: exit-code) since Thu 2016-02-11 13:15:45 GMT; 3s ago
      Process: 1256 ExecStart=/usr/bin/maxscale --user=maxscale (code=exited, status=1/FAILURE)
      Process: 1255 ExecStartPre=/usr/bin/install -d /var/run/maxscale -o maxscale -g maxscale (code=exited, status=0/SUCCESS)

      Feb 11 13:15:45 debian-jessie systemd[1]: maxscale.service: control process exited, code=exited status=1
      Feb 11 13:15:45 debian-jessie systemd[1]: Failed to start MariaDB MaxScale Database Proxy.
      Feb 11 13:15:45 debian-jessie systemd[1]: Unit maxscale.service entered failed state.

      ----------------------------------------------------------------


      h3. Maxscale don't start (TimeOutStartSec removed of systemd service)

      ----------------------------------------------------------------

      root@debian-jessie:~{0}# systemctl start maxscale.service
      Job for maxscale.service failed. See 'systemctl status maxscale.service' and 'journalctl -xn' for details.

      root@debian-jessie:~{1}

      # systemctl status maxscale.service
      ● maxscale.service - MariaDB MaxScale Database Proxy
      Loaded: loaded (/lib/systemd/system/maxscale.service; disabled)
      Active: failed (Result: exit-code) since Thu 2016-02-11 13:18:31 GMT; 6s ago
      Process: 1315 ExecStart=/usr/bin/maxscale --user=maxscale (code=exited, status=1/FAILURE)
      Process: 1312 ExecStartPre=/usr/bin/install -d /var/run/maxscale -o maxscale -g maxscale (code=exited, status=0/SUCCESS)

      Feb 11 13:18:31 debian-jessie systemd[1]: maxscale.service: control process exited, code=exited status=1
      Feb 11 13:18:31 debian-jessie systemd[1]: Failed to start MariaDB MaxScale Database Proxy.
      Feb 11 13:18:31 debian-jessie systemd[1]: Unit maxscale.service entered failed state.

      ----------------------------------------------------------------

      I have no maxscale logs. It seems the programs crashes before lauching logging code.

      I can start Maxscale without systemd:

      root@debian-jessie:~

      {0}# /usr/bin/maxscale --user=maxscale -d
      Info : MaxScale will be run in the terminal process.
      Configuration file : /etc/maxscale.cnf
      Log directory : /var/log/maxscale
      Data directory : /var/lib/maxscale/data
      Module directory : /usr/lib/x86_64-linux-gnu/maxscale
      Service cache : /var/cache/maxscale

      ^C

      Shutting down MaxScale


      ----------------------------------------------------------------

      root@debian-jessie:~{0}

      # maxscale --version
      MaxScale 1.3.0
      root@debian-jessie:~

      {0}

      # dpkg -l | grep maxscale
      ii maxscale 1.3.0 amd64 MaxScale

      Cheers,

      Emilien

      Attachments

        Activity

          People

            tturenko Timofey Turenko
            hanx Emilien Mantel
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.