1

我已经在我的 Ubuntu 17.10 中安装了 gemfire,使用 java 版本“1.8.0_161”,我正在尝试使用 gfsh 启动定位器。

start locator --name=locator1

之后,它向我显示以下消息:

Starting a Geode Locator in /home/john/projetos/my_gemfire/locator1...

它开始打印点、线和点线:

......................................................................

我跑了一次,几个小时后它仍在打印点。它不会启动任何错误消息,它只会继续打印点。

我看过一个关于它的教程视频,在那里真正启动定位器只需要几秒钟。

那么,任何人都可以给出一个想法,我该如何解决这个问题?

4

1 回答 1

0

我在 Ubuntu 16.04.4 上使用 Apache Geode 1.5 和 open-jdk-9 遇到了同样的问题。

我发现定位器已经启动,因为我可以连接到它。

Ctrl+C中断等待,然后使用connect命令连接到定位器。

    dz@dz-ubuntu-16:~/my_geode$ gfsh
        _________________________ __
       / _____/ ______/ ______/ /____/ /
      / / __/ /___ /_____ / _____ /
     / /__/ / ____/ _____/ / / / /  
    /______/_/ /______/_/ /_/ 1.5.0

    监控和管理 Apache Geode
    gfsh>开始定位器--name=locator1
    在 /home/dz/my_geode/locator1 中启动 Geode 定位器...
    ..................................................... ..................................................... ..................................................
    被打破等待......定位器进程将继续在后台启动。


    gfsh>连接
    在 [host=localhost, port=10334] 连接到定位器 ..
    在 [host=192.168.2.168, port=1099] 连接到 Manager ..
    连接成功:[host=192.168.2.168, port=1099]

    gfsh>启动脉冲
    推出 Geode Pulse

实际上您的定位器已成功启动。

于 2018-03-25T03:39:10.603 回答