I'm trying to start server-eshell on a Windows system and get this error.
C:\>"Program Files\Couchbase\Server\bin\couchbase-cli" server-eshell -c localhost -u Administrator -p asdasd
|
WARNING: Cannot locate Couchbase erlang. Attempting to use non-Couchbase erlang
|
ERROR: Unable to find the erl executable
|
So I specify the erlang path
C:\>"Program Files\Couchbase\Server\bin\couchbase-cli" server-eshell --erl-path "C:\Program Files\Couchbase\Server\bin" -c localhost -u Administrator -p asdasd
|
WARNING: Cannot locate Couchbase erlang. Attempting to use non-Couchbase erlang
|
ERROR: Unable to find the erl executable
|
I see the cbmgr.py code contains
cb_erl = os.path.join(opts.erl_path, 'erl')
|
if os.path.isfile(cb_erl):
|
path = cb_erl
|
else:
|
_warning("Cannot locate Couchbase erlang. Attempting to use non-Couchbase erlang")
|
path = 'erl'
|
If I change "erl" to "erl.exe" the binary is found.
cb_erl = os.path.join(opts.erl_path, 'erl.exe')
|