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

MySQL Cluster setup and MaxScale configuration: unable to connect maxadmin

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • None
    • N/A
    • N/A
    • None

    Description

      Follow instruction at: https://mariadb.com/kb/en/mariadb-enterprise/mariadb-maxscale-14/mysql-cluster-setup-and-maxscale-configuration/#comment_2746.

      1. cat /etc/maxscale.cnf
        [Cluster Service]
        type=service
        router=readconnroute
        router_options=ndb
        servers=server1,server2
        user=test
        passwd=test
        version_string=5.6.28-CLUSTER

      [Cluster Listener]
      type=listener
      service=Cluster Service
      protocol=MySQLClient
      port=4906

      [NDB Cluster Monitor]
      type=monitor
      module=ndbclustermon
      servers=server1,server2
      user=monitor
      passwd=monitor
      monitor_interval=8000

      [server1]
      #SQL node1
      type=server
      address=127.0.0.1
      port=3306
      protocol=MySQLBackend

      [server2]
      #SQL node2
      type=server
      address=192.168.84.86
      port=3306
      protocol=MySQLBackend

      [MaxAdmin]
      type=service
      router=cli

      [MaxAdmin Unix Listener]
      type=listener
      service=MaxAdmin
      protocol=maxscaled
      socket=default

      1. ./maxscale -c ../
        Info : MaxScale will be run in the terminal process.
        Configuration file : /etc/maxscale.cnf
        Log directory : /var/log/maxscale
        Data directory : /var/lib/maxscale
        Module directory : /usr/lib64/maxscale
        Service cache : /var/cache/maxscale

      2017-02-08 15:11:46 notice : MariaDB MaxScale 2.0.4 started
      2017-02-08 15:11:46 notice : MaxScale is running in process 3611
      2017-02-08 15:11:46 notice : Configuration file: /etc/maxscale.cnf
      2017-02-08 15:11:46 notice : Log directory: /var/log/maxscale
      2017-02-08 15:11:46 notice : Data directory: /var/lib/maxscale
      2017-02-08 15:11:46 notice : Module directory: /usr/lib64/maxscale
      2017-02-08 15:11:46 notice : Service cache: /var/cache/maxscale
      2017-02-08 15:11:46 notice : Initialise CLI router module V1.0.0.
      2017-02-08 15:11:46 notice : Loaded module cli: V1.0.0 from /usr/lib64/maxscale/libcli.so
      2017-02-08 15:11:46 notice : Initialise readconnroute router module V1.1.0.
      2017-02-08 15:11:46 notice : Loaded module readconnroute: V1.1.0 from /usr/lib64/maxscale/libreadconnroute.so
      2017-02-08 15:11:46 notice : Initialise the MySQL Cluster Monitor module V2.1.0.
      2017-02-08 15:11:46 notice : Loaded module ndbclustermon: V2.1.0 from /usr/lib64/maxscale/libndbclustermon.so
      2017-02-08 15:11:46 notice : No query classifier specified, using default 'qc_sqlite'.
      2017-02-08 15:11:47 notice : Loaded module qc_sqlite: V1.0.0 from /usr/lib64/maxscale/libqc_sqlite.so
      2017-02-08 15:11:47 notice : Configuration was successfully verified.

      Error:

      1. maxadmin
        Unable to connect to MaxScale at /tmp/maxadmin.sock: No such file or directory

      Attachments

        Activity

          People

            markus makela markus makela
            nguyen dic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.