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

maxctrl utility is not working and getting "Access denied" error

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 1.0.0
    • N/A
    • maxctrl
    • None
    • Development

    Description

      Hi,

      When we try to invoke maxctrl utility we are getting the following error/warning

      [maxscale@dbcct3vmyd01006 ~]$ maxctrl --version
      1.0.0
      [maxscale@dbcct3vmyd01006 ~]$ maxctrl list servers
      {
      "errors": [

      { "detail": "Access denied" }

      ]
      }

      Maxscale log file warnings:
      =====================

      2018-05-17 05:23:03 warning: Authentication failed for 'maxscale', using password. Request: GET /v1/
      2018-05-17 05:23:10 warning: Authentication failed for 'maxscale', using password. Request: GET /v1/
      2018-05-17 05:23:14 warning: Authentication failed for 'maxscale', using password. Request: GET /v1/
      2018-05-17 05:23:27 warning: Authentication failed for 'maxscale-admin', using password. Request: GET /v1/
      2018-05-17 05:27:53 warning: Authentication failed for 'admin', using password. Request: GET /v1/
      2018-05-17 05:27:59 warning: Authentication failed for 'admin', using password. Request: GET /v1/

      Find out output of all users at maxadmin

      [maxscale@dbcct3vmyd01006 ~]$ maxadmin
      MaxScale> show users
      Enabled Linux accounts (secure) : root, maxscale, admin
      Created network accounts (insecure):
      MaxScale> exit

      Also would like to know how to create an admin account under Created network accounts (insecure):

      Thanks,
      Venkat Beru

      Attachments

        Activity

          People

            markus makela markus makela
            venkatberu Venkatarao Beru
            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.