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

server-eshell does not work on osx

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.0.2
    • tools
    • None
    • macOS Monterey 12.0.1, Server 7.0.2
    • Triaged
    • 1

    Description

      Interestingly, it looks like MB-20451 is back. With a stock install when trying to run

      ./couchbase-cli server-eshell -c 127.0.0.1:8091 -u Administrator -p password
      

      or just when running "erl" without arguments I get

      ❯ ./erl 
      ./erl: line 29: /lib/erlang/erts-*/bin/erlexec: No such file or directory
      ./erl: line 29: exec: /lib/erlang/erts-*/bin/erlexec: cannot execute: No such file or directory
      

      The old proposed workaround from MB-20451 still works. If I in "erl" add

      COUCHBASE_TOP=/Applications/Couchbase\ Server.app/Contents/Resources/couchbase-core
      

      I can connect into the erlang shell with no issues.

      ❯ ./couchbase-cli server-eshell -c 127.0.0.1:8091 -u Administrator -p password
      Erlang/OTP 22 [erts-10.7.2.7] [source-89e0ebe201] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1]
       
      Eshell V10.7.2.7  (abort with ^G)
      (ns_1@127.0.0.1)1> 
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              thuan Thuan Nguyen
              daschl Michael Nitschinger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty