Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-18681

couchbase-cli server-eshell fails if erl isn't in the path..

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.5.0
    • tools
    • None
    • Untriaged
    • Unknown

    Description

      couchbase@186b07ee63a6:/opt/couchbase/bin$ ./couchbase-cli server-eshell -c 127.0.0.1:9000 -u Administrator -p asdasd
      ERROR: command: server-eshell: 127.0.0.1:9000, [Errno 2] No such file or directory

      The error isn't very intuitive for the user because at first I searched around for something called server-eshell (assuming that the couchbase-cli would exec another tool to handle the request).

      What it actually fails doing is to execute the erl binary (see info.py):

      p = subprocess.call(['erl', '-name', name, '-setcookie',
      cookie, '-hidden', '-remsh', node])

      I would assume that the erl we want to use is the same erl the rest of our system is using? (which would be installed in the same directory as couchbase-cli on a normal installation).

      Attachments

        For Gerrit Dashboard: MB-18681
        # Subject Branch Project Status CR V

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty