【问题标题】:Thingsboard installation using docker on Ubuntu在 Ubuntu 上使用 docker 安装 Thingsboard
【发布时间】:2017-04-18 09:37:47
【问题描述】:

在 ubuntu 上使用 docker-compose 安装 thingsboard 时遇到问题

图像已正确拉出,容器似乎已启动,但日志显示:

thingboard/application:1.2.2 的日志:

thingsboard-db-schema 容器仍在进行中。等到它 完成...

thingsboard-db-schema 容器仍在进行中。等到它 完成...

thingsboard-db-schema 容器仍在进行中。等到它 完成...

thingsboard-db-schema 容器仍在进行中。等到它 完成...

thingsboard-db-schema 容器仍在进行中。等到它 完成...

thingsboard-db-schema 容器仍在进行中。等到它 完成...

thingsboard/thingsboard-db-schema:1.2.2 的日志

等待卡桑德拉...

无法解析“db”。

警告:未指定目标,因此扫描了 0 个主机。

等待卡桑德拉...

无法解析“db”。

警告:未指定目标,因此扫描了 0 个主机。

等待卡桑德拉...

似乎第一个等待 cassandra 启动的容器并非如此

有什么建议吗?

提前致谢

【问题讨论】:

    标签: thingsboard


    【解决方案1】:

    请使用命令 'docker-compose logs -f db' 检查 DB 容器的输出,并确认 cassandra 已准备好在 9042 端口:

    db_1 | INFO  11:02:07 Waiting for gossip to settle before accepting client requests...
    db_1 | INFO  11:02:15 No gossip backlog; proceeding
    db_1 | INFO  11:02:15 Netty using native Epoll event loop
    db_1 | INFO  11:02:15 Using Netty Version: [netty-buffer=netty-buffer-4.0.39.Final.38bdf86, netty-codec=netty-codec-4.0.39.Final.38bdf86, netty-codec-haproxy=netty-codec-haproxy-4.0.39.Final.38bdf86, netty-codec-http=netty-codec-http-4.0.39.Final.38bdf86, netty-codec-socks=netty-codec-socks-4.0.39.Final.38bdf86, netty-common=netty-common-4.0.39.Final.38bdf86, netty-handler=netty-handler-4.0.39.Final.38bdf86, netty-tcnative=netty-tcnative-1.1.33.Fork19.fe4816e, netty-transport=netty-transport-4.0.39.Final.38bdf86, netty-transport-native-epoll=netty-transport-native-epoll-4.0.39.Final.38bdf86, netty-transport-rxtx=netty-transport-rxtx-4.0.39.Final.38bdf86, netty-transport-sctp=netty-transport-sctp-4.0.39.Final.38bdf86, netty-transport-udt=netty-transport-udt-4.0.39.Final.38bdf86]
    db_1 | INFO  11:02:15 Starting listening for CQL clients on /0.0.0.0:9042 (unencrypted)...
    

    输出应该像上面的日志。

    另外另外验证cassandra启动期间没有发生错误。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2022-09-27
      • 2018-09-05
      • 2017-02-08
      • 2016-11-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多