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

Error on attempting to run maxctrl

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: maxctrl
    • Labels:
      None
    • Environment:
      MaxScale Server karma136:
      OS: CentOS 7
      Version: MariaDB MaxScale 2.3.6 (Commit: 733dc491d9d60e23e7bf76141c153048282f3bb1)

      Description

      I am not able to run maxctrl on the latest develop build. Error is :
      [root@karma136 MaxScale]# maxctrl
      pkg/prelude/bootstrap.js:1176
      throw error;
      ^

      Error: ENOENT: no such file or directory, uv_cwd
      1) If you want to compile the package/file into executable, please pay attention to compilation warn
      mpile the package/file into executable and want to 'require' it from filesystem (likely plugin), spe
      xecPath.
      at Error (native)
      at Object.resolve (path.js:1149:25)
      at Function.Module._resolveLookupPaths (module.js:390:17)
      at Function.Module._resolveFilename (module.js:460:31)
      at Function.Module._resolveFilename (pkg/prelude/bootstrap.js:1270:44)
      at Function.Module._load (module.js:417:25)
      at Module.require (module.js:497:17)
      at Module.require (pkg/prelude/bootstrap.js:1157:31)
      at require (internal/module.js:20:19)
      at Object.<anonymous> (/snapshot/maxctrl/maxctrl.js:0)
      [root@karma136 MaxScale]#

      Complete MaxScale logs are on slack https://slack-files.com/T02HQCM5V-FHZRP04Q5-d51c86a4a0

      Config file:

      [root@karma136 MaxScale]# cat /etc/clustrix_karma016_ssl_encrpwd.cnf
      [maxscale]
      log_info=1
      threads=auto
      logdir=/data/clustrix/log
       
      [Bootstrap1-karma016]
      type=server
      address=10.2.15.19
      port=3306
      protocol=mariadbbackend
      ssl=required
      #ssl_version=TLSv10
      ssl_cert=/etc/my.cnf.d/certs/client-cert.pem
      ssl_key=/etc/my.cnf.d/certs/client-key.pem
      ssl_ca_cert=/etc/my.cnf.d/certs/ca-cert.pem
      #karma016
       
      # [Bootstrap2-karma055]
      # type=server
      # address=10.2.15.144
      # port=3306
      # protocol=mariadbbackend
       
      # [Bootstrap3-karma049]
      # type=server
      # address=10.2.15.126
      # port=3306
      # protocol=mariadbbackend
       
      [Clustrix]
      type=monitor
      module=clustrixmon
      servers=Bootstrap1-karma016
      user=maxscale
      password=CC06BBE09159007F77CD12CCC691874C
      cluster_monitor_interval=10000
       
      [RCR]
      type=service
      router=readconnroute
      user=maxscale
      password=CC06BBE09159007F77CD12CCC691874C
      cluster=Clustrix
       
      [RCR-Listener]
      type=listener
      service=RCR
      protocol=MariaDBClient
      #address=127.0.0.1
      port=6008
      ssl=required
      #ssl_version=TLSv10
      ssl_cert=/etc/my.cnf.d/certs/client-cert.pem
      ssl_key=/etc/my.cnf.d/certs/client-key.pem
      ssl_ca_cert=/etc/my.cnf.d/certs/ca-cert.pem
       
      [MaxAdmin-Service]
      type=service
      router=cli
       
      [MaxAdmin-Unix-Listener]
      type=listener
      service=MaxAdmin-Service
      protocol=maxscaled
      socket=default
       
      [root@karma049 ~]# clx s
      Cluster Name:    cl0281322e37e3d4b8
      Cluster Version: 9.1.4
      Cluster Status:   OK
      Cluster Size:    3 nodes - 16 CPUs per Node
      Current Node:    karma049 - nid 3
       
      nid |  Hostname | Status |  IP Address  | TPS |       Used      |  Total
      ----+-----------+--------+--------------+-----+-----------------+--------
        3 |  karma049 |    OK  |  10.2.15.126 |   0 |  459.8M (0.06%) |  767.0G
        4 |  karma055 |    OK  |  10.2.15.144 |   0 |  430.2M (0.05%) |  767.0G
        5 |  karma016 |    OK  |   10.2.15.19 |   0 |  136.9M (0.02%) |  767.0G
      ----+-----------+--------+--------------+-----+-----------------+--------
                                                  0 |    1.0G (0.04%) |    2.2T
      

        Attachments

          Activity

            People

            Assignee:
            markus makela markus makela
            Reporter:
            rahul.joshi@mariadb.com Rahul Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration