【问题标题】:Inet address 127.0.0.1:9042 is not available when use ccm start使用 ccm start 时 Inet 地址 127.0.0.1:9042 不可用
【发布时间】:2019-05-16 01:59:54
【问题描述】:

我使用 CCM 在一台机器上创建一个三节点 Cassandra 集群。当我在 linux 终端上使用 ccm start 时,我看到了这个错误:

ccmlib.common.UnavailableSocketError: Inet address 127.0.0.1:9042 is not available: 
[Errno 98] Address already in use; a cluster may already be running or you may
need to add the loopback alias

【问题讨论】:

    标签: cassandra ccm


    【解决方案1】:

    可能有几个原因:

    • 您的 Cassandra 进程已经在运行 - 检查 ps -aux|grep -i cassandra 是否有其他 Cassandra 进程已经在 localhost 上运行
    • 您尚未创建CCM documentationthis article 中所述的其他接口 - 创建必要的接口/别名(这取决于您的操作系统)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-29
      • 2015-11-07
      • 2013-12-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多