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

maxscale cannot be started again after shutdown

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 2.1.7
    • N/A
    • N/A
    • None
    • linux ubuntu 14.04
    • 2017-42

    Description

      when I shutdown maxscale with the shutdown command it will not start anymore afterwards.

      MaxScale> shutdown maxscale
      MaxScale> exit

      export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/home/mysql/product/maxscale/lib/x86_64-linux-gnu/maxscale
      cd ~/product
      ./maxscale/bin/maxscale --config=/home/mysql/etc/maxscale.cnf --logdir=/tmp --datadir=/tmp --persistdir=/tmp --piddir=/tmp --cachedir=/tmp --log=stdout

      2017-09-15 11:33:40 notice : Working directory: /tmp
      2017-09-15 11:33:40 notice : MariaDB MaxScale 2.1.7 started
      2017-09-15 11:33:40 notice : MaxScale is running in process 24273
      2017-09-15 11:33:40 notice : Configuration file: /home/mysql/etc/maxscale.cnf
      2017-09-15 11:33:40 notice : Log directory: /tmp
      2017-09-15 11:33:40 notice : Data directory: /tmp
      2017-09-15 11:33:40 notice : Module directory: /usr/lib/x86_64-linux-gnu/maxscale
      2017-09-15 11:33:40 notice : Service cache: /tmp
      2017-09-15 11:33:40 notice : Loading /home/mysql/etc/maxscale.cnf.
      2017-09-15 11:33:40 notice : /home/mysql/etc/maxscale.cnf.d does not exist, not reading.
      2017-09-15 11:33:40 notice : Loading generated configuration files from '/tmp'
      2017-09-15 11:33:40 notice : Loading /tmp/MarGal101.cnf.
      2017-09-15 11:33:40 notice : Loading /tmp/oli/maxscale-2.1.7/share/maxscale/maxscale_binlogserver_template.cnf.
      2017-09-15 11:33:40 warning: Number of threads set to 6, which is greater than the number of processors available: 4
      2017-09-15 11:33:40 notice : [cli] Initialise CLI router module
      2017-09-15 11:33:40 notice : Loaded module cli: V1.0.0 from /usr/lib/x86_64-linux-gnu/maxscale/libcli.so
      2017-09-15 11:33:40 notice : [debugcli] Initialise debug CLI router module.
      2017-09-15 11:33:40 notice : Loaded module debugcli: V1.1.1 from /usr/lib/x86_64-linux-gnu/maxscale/libdebugcli.so
      2017-09-15 11:33:40 notice : [binlogrouter] Initialise binlog router module.
      2017-09-15 11:33:40 notice : Loaded module binlogrouter: V2.1.0 from /usr/lib/x86_64-linux-gnu/maxscale/libbinlogrouter.so
      2017-09-15 11:33:40 notice : [readconnroute] Initialise readconnroute router module.
      2017-09-15 11:33:40 notice : Loaded module readconnroute: V1.1.0 from /usr/lib/x86_64-linux-gnu/maxscale/libreadconnroute.so
      2017-09-15 11:33:40 notice : Loaded module qlafilter: V1.1.1 from /usr/lib/x86_64-linux-gnu/maxscale/libqlafilter.so
      2017-09-15 11:33:40 notice : [galeramon] Initialise the MySQL Galera Monitor module.
      2017-09-15 11:33:40 notice : Loaded module galeramon: V2.0.0 from /usr/lib/x86_64-linux-gnu/maxscale/libgaleramon.so
      2017-09-15 11:33:40 notice : Loaded module MySQLBackend: V2.0.0 from /usr/lib/x86_64-linux-gnu/maxscale/libMySQLBackend.so
      2017-09-15 11:33:40 notice : Loaded module MySQLBackendAuth: V1.0.0 from /usr/lib/x86_64-linux-gnu/maxscale/libMySQLBackendAuth.so
      2017-09-15 11:33:40 notice : Loaded module maxscaled: V2.0.0 from /usr/lib/x86_64-linux-gnu/maxscale/libmaxscaled.so
      2017-09-15 11:33:40 notice : Loaded module MaxAdminAuth: V2.1.0 from /usr/lib/x86_64-linux-gnu/maxscale/libMaxAdminAuth.so
      2017-09-15 11:33:40 notice : Loaded module telnetd: V1.1.1 from /usr/lib/x86_64-linux-gnu/maxscale/libtelnetd.so
      2017-09-15 11:33:40 notice : Loaded module NullAuthAllow: V1.1.0 from /usr/lib/x86_64-linux-gnu/maxscale/libNullAuthAllow.so
      2017-09-15 11:33:40 notice : Loaded module MySQLClient: V1.1.0 from /usr/lib/x86_64-linux-gnu/maxscale/libMySQLClient.so
      2017-09-15 11:33:40 notice : Loaded module MySQLAuth: V1.1.0 from /usr/lib/x86_64-linux-gnu/maxscale/libMySQLAuth.so
      2017-09-15 11:33:40 notice : No query classifier specified, using default 'qc_sqlite'.
      2017-09-15 11:33:40 notice : Loaded module qc_sqlite: V1.0.0 from /usr/lib/x86_64-linux-gnu/maxscale/libqc_sqlite.so
      2017-09-15 11:33:40 notice : Encrypted password file /tmp/.secrets can't be accessed (No such file or directory). Password encryption is not used.
      2017-09-15 11:33:40 notice : [MySQLAuth] [MarGal101] Loaded 6 MySQL users for listener MarGal101 Listener.
      2017-09-15 11:33:40 notice : Listening for connections at [::]:3306 with protocol MySQL
      2017-09-15 11:33:40 notice : Listening for connections at [::]:3333 with protocol MaxScale Admin
      2017-09-15 11:33:40 warning: [binlogrouter] Binlog_Service: backend database server is provided by master.ini file for use with the binlog router. Server section is no longer required.
      2017-09-15 11:33:40 warning: [binlogrouter] Configuration setting 'server-id' in router_options is deprecated and will be removed in a later version of MaxScale. Please use the new setting 'server_id' instead.
      2017-09-15 11:33:40 error : [binlogrouter] Service Binlog_Service, binlog directory is not specified
      2017-09-15 11:33:40 error : Binlog_Service: Failed to create router instance. Service not started.
      2017-09-15 11:33:40 error : Failed to start service 'Binlog_Service'.

      • Error: Failed to start all MaxScale services. Exiting.
        2017-09-15 11:33:40 notice : Listening for connections at [localhost]:4442 with protocol telnet
        2017-09-15 11:33:40 notice : Listening for connections at [/tmp/maxadmin.sock]:0 with protocol MaxScale Admin
        2017-09-15 11:33:40 error : Failed to start all MaxScale services. Exiting.

      Workaround: cleanup /tmp directory but this is not really funny... I assume it will flush some binlogserver informations during shutdown which it should not...

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            oli Oli Sennhauser
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.