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

MaxAdmin quits when executing commands in REPL mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.5
    • Component/s: maxadmin
    • Labels:
      None
    • Environment:
      Debian GNU/Linux 8.7 (jessie)

      Description

      After upgrading from 1.4.3 to 2.0.4 Maxadmin quits when executing any command in REPL mode. Executing direct commands works.

      Works:

      # maxadmin -h localhost -u admin list servers
      Password: 
      Servers.
      -------------------+-----------------+-------+-------------+--------------------
      Server             | Address         | Port  | Connections | Status              -------------------+-----------------+-------+-------------+--------------------
      

      Opening the REPL works, however after entering the first command it stops. The exit code is 0, so it doesn't indicate an error.

      # maxadmin -h localhost -u admin
      > list servers
      # echo $?
      0
      

      Relevant config sections:

      [maxscale]
      threads=4
      log_info=0
      log_debug=0
      log_notice=1
       
      [MaxAdmin Service]
      type=service
      router=cli
       
      [MaxAdmin Listener]
      type=listener
      service=MaxAdmin Service
      protocol=maxscaled
      address=localhost
      port=6603
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              osteenbergen Onno Steenbergen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration