【问题标题】:Couchbase 2.2 - Cannot connect to console after installationCouchbase 2.2 - 安装后无法连接到控制台
【发布时间】:2014-02-26 18:29:54
【问题描述】:

我已经为 Windows 7 64 位安装了 Couchbase 2.2.0。我使用默认选项安装了它。该服务已安装,我可以停止/启动或重新启动它而不会出错。但是,我无法连接到端口 8091 上的管理控制台。

我找到了一些关于如何处理这个问题的帖子,但它们都与旧版本的 couchbase 和参考文件/选项有关,我在 2.2 版中找不到(例如这篇文章:Unable to connect to http://localhost:8091/index.html)。

当我尝试 netstat -an -p tcp 时,我看不到任何服务正在侦听端口 8091,所以我怀疑在启动过程中出现了问题。

查看 /var/lib/couchbase/logs 中的 couchbase 日志,我可以看到一些错误,但它们对我来说没有意义。

    [error_logger:error,2014-02-11T17:13:16.536,babysitter_of_ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:log_msg:76]** Generic server <0.233.0> terminating 
** Last message in was {die,{abnormal,3}}
** When Server state == {state,ns_server,5000,
                               {1392,135189,391066},
                               undefined,infinity}
** Reason for termination == 
** {abnormal,3}

[ns_server:debug,2014-02-11T17:13:16.536,babysitter_of_ns_1@127.0.0.1:<0.235.0>:supervisor_cushion:init:39]starting ns_port_server with delay of 5000
[error_logger:error,2014-02-11T17:13:16.536,babysitter_of_ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:log_report:72]
=========================CRASH REPORT=========================
  crasher:
    initial call: supervisor_cushion:init/1
    pid: <0.233.0>
    registered_name: []
    exception exit: {abnormal,3}
      in function  gen_server:terminate/6
    ancestors: [child_ns_server_sup,ns_babysitter_sup,<0.58.0>]
    messages: []
    links: [<0.73.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 2584
    stack_size: 24
    reductions: 2365
  neighbours:

Windows 防火墙正在运行,但是由于我在另一台具有相同 Windows 版本的机器上安装了相同版本的 couchbase 并且没有出现任何问题,我无法想象防火墙会导致这个问题。

我没有选择,但我不知道为什么我不能让它工作。

同时,我卸载了 2.2 并尝试回退到 2.1(结果相同)并前进到 2.5(结果相同)。在所有情况下,我都关闭了防病毒软件并停止了 Windows 防火墙以消除此原因。

【问题讨论】:

    标签: console connection couchbase


    【解决方案1】:

    感谢 Couchbase.com 的好心人,问题已经解决。 请参考:

    https://www.couchbase.com/issues/browse/MB-10245

    https://www.couchbase.com/issues/browse/MB-8760

    解决方案是在路径中没有空格的位置重新安装 couchbase。由于一个错误,安装路径中的空格会导致麻烦。

    【讨论】:

    • 哇,考虑到默认安装路径在“程序文件”中,这是一个可怕的错误。自 2.5.1 版起,此错误仍然有效。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-06-01
    • 2020-05-19
    • 2016-04-15
    • 2020-08-08
    • 2016-06-28
    • 1970-01-01
    相关资源
    最近更新 更多