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

maxctrl crashes on execution

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 21.06.17
    • N/A
    • maxctrl
    • None
    • Ubuntu 22

    Description

      After upgrading from maxscale 2.4.2 to 21.06.17 maxctrl crashes.
      Note that maxscale itself runs fine I just cannot use maxctrl CLI.

      stephan@reporting:~$ maxctrl
      /usr/share/maxscale/maxctrl/maxctrl.js:2
      (()=>{var e={30105:(e,t,n)=>{n(70476)();const r="The parameters should be given in the `key=value` format. This command also supports the legacy method \nof passing parameters as `key value` pairs but the use of this is not recommended.",i=["user","passwd","enable_root_user","max_connections","connection_timeout","auth_all_servers","optimize_wildcard","strip_db_esc","max_slave_connections","max_slave_replication_lag","retain_last_statements"],o=["auth_connect_timeout","auth_read_timeout","auth_write_timeout","admin_auth","admin_log_auth_failures","passive","ms_timestamp","skip_permission_checks","query_retries","query_retry_timeout","retain_last_statements","dump_last_statements"];function s(e,t,n){0==n.filters.length?n.filters=null:n.filters.forEach((function(e,t,n){n[t]={id:e,type:"filters"}}));var r={data:{id:n.service,type:"services"}};return _.set(r,"data.relationships.filters.data",n.filters),doRequest(e,t,

      {method:"PATCH",data:r}

      )}function a(e){var t=e.indexOf(

      SyntaxError: Unexpected token function
      at createScript (vm.js:56:10)
      at Object.runInThisContext (vm.js:97:10)
      at Module._compile (module.js:542:28)
      at Object.Module._extensions..js (module.js:579:10)
      at Module.load (module.js:487:32)
      at tryModuleLoad (module.js:446:12)
      at Function.Module._load (module.js:438:3)
      at Module.runMain (module.js:604:10)
      at run (bootstrap_node.js:389:7)
      at startup (bootstrap_node.js:149:9)
      stephan@reporting:~$

      Attachments

        Activity

          People

            markus makela markus makela
            stephanvos Stephan Vos
            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.