无法为 Quorum 启动 Tessera 节点
Posted
技术标签:
【中文标题】无法为 Quorum 启动 Tessera 节点【英文标题】:Unable to start Tessera node for Quorum 【发布时间】:2020-03-05 18:08:43 【问题描述】:我已经按照指南设置了 Quorom 3 节点,现在我正在为 3 个节点设置 Tessera 节点。但是 Tessera 节点没有启动。
https://docs.goquorum.com/en/latest/Getting%20Started/Creating-A-Network-From-Scratch/#tessera
这里是捕获的日志。
2019-11-09 00:57:30.942 [main] INFO org.eclipse.jetty.util.log - Logging initialized @7972ms to org.eclipse.jetty.util.log.Slf4jLog
2019-11-09 00:57:31.069 [main] INFO c.quorum.tessera.server.JerseyServer - Starting http://localhost:9081
2019-11-09 00:57:31.075 [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.z-SNAPSHOT; built: 2019-04-18T19:45:35.259Z; git: aa1c656c315c011c01e7b21aabb04066635b9f67; jvm 1.8.0_231-b11
2019-11-09 00:57:32.051 [main] WARN o.g.jersey.internal.inject.Providers - A provider com.quorum.tessera.thirdparty.RawTransactionResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider com.quorum.tessera.thirdparty.RawTransactionResource will be ignored.
2019-11-09 00:57:32.519 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@37c5284a/,null,AVAILABLE
Failed to bind to 0.0.0.0/0.0.0.0:9081
2019-11-09 00:57:32.540 [Thread-2] INFO c.quorum.tessera.server.JerseyServer - Stopping Jersey server at http://localhost:9081
2019-11-09 00:57:32.555 [Thread-2] INFO o.e.jetty.server.AbstractConnector - Stopped ServerConnector@41853299HTTP/1.1,[http/1.1]0.0.0.0:9081
2019-11-09 00:57:32.782 [Thread-2] INFO o.e.j.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@37c5284a/,null,UNAVAILABLE
2019-11-09 00:57:32.787 [Thread-2] INFO c.quorum.tessera.server.JerseyServer - Stopped Jersey server at http://localhost:9081
2019-11-09 00:57:32.787 [Thread-2] INFO c.quorum.tessera.server.JerseyServer - Stopping Jersey server at unix:/home/srikant/Desktop/fromscratch/new-node-1t/tm.ipc
2019-11-09 00:57:32.787 [Thread-2] INFO c.quorum.tessera.server.JerseyServer - Stopped Jersey server at unix:/home/srikant/Desktop/fromscratch/new-node-1t/tm.ipc
2019-11-09 00:57:32.788 [Thread-2] INFO c.quorum.tessera.server.JerseyServer - Stopping Jersey server at http://localhost:9001
2019-11-09 00:57:32.788 [Thread-2] INFO c.quorum.tessera.server.JerseyServer - Stopped Jersey server at http://localhost:9001
任何帮助都会非常感激。
【问题讨论】:
【参考方案1】:“绑定失败”消息表示端口正在使用中。
也许 Tessera 已经在运行?
您可以使用lsof -nP -i4TCP:9081
来检查哪个进程正在使用端口 9081。
【讨论】:
感谢 Satpal 的建议。但是,我通过以相反的顺序初始化节点来跨越这一步。现在我想将 tessera 配置与我的仲裁实例.. 并得到以下错误......恐慌:MustNew:无法连接到 Constellation (./new-node-1t/ tm.ipc): Constellation Node API 没有响应 upcheck 请求 goroutine 1 [running]:----------- 但是我可以点击 upcheck 请求@localhost:9081/upcheck【参考方案2】:我遇到了同样的问题。我重新启动了虚拟机,然后它工作了
【讨论】:
以上是关于无法为 Quorum 启动 Tessera 节点的主要内容,如果未能解决你的问题,请参考以下文章
启动 Zookeeper 集群。错误:无法找到或加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain
Cassandra 身份验证失败:“无法执行身份验证:无法达到一致性级别 QUORUM”
zookeeper 无法启动 ERROR org.apache.zookeeper.server.quorum.QuorumPeer: Unable to load database on disk
Elasticsearch:理解 Master,Elections,Quorum 及 脑裂
错误: 找不到或无法加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain