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

MaxAdmin quits when executing commands in REPL mode

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • 2.0.4
    • 2.0.5
    • maxadmin
    • None
    • 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

              Unassigned Unassigned
              osteenbergen Onno Steenbergen
              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.