HA集群无法启动,有人遇到过吗?
发布于 6 年前 作者 zesebeige 3049 次浏览 来自 问答

下面是启动后日志里的报错:

2018-08-27 15:22:44.616+0000 INFO ======== Neo4j 3.3.3 ======== 2018-08-27 15:22:44.643+0000 INFO Starting… 2018-08-27 15:22:45.256+0000 INFO Write transactions to database disabled 2018-08-27 15:22:45.534+0000 INFO Bolt enabled on 0.0.0.0:7687. 2018-08-27 15:22:45.542+0000 INFO Initiating metrics… 2018-08-27 15:22:48.248+0000 INFO Attempting to join cluster of [172.16.0.39:5001, 172.16.0.38:5001] 2018-08-27 15:24:19.525+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component ‘org.neo4j.server.database.LifecycleManagingDatabase@53f0d09c’ was successfully initialized, but failed to start. Please see the attached cause exception “Conversation-response mapping: {1/13#=ResponseFuture{conversationId=‘1/13#’, initiatedByMessageType=join, response=null}}”. Starting Neo4j failed: Component ‘org.neo4j.server.database.LifecycleManagingDatabase@53f0d09c’ was successfully initialized, but failed to start. Please see the attached cause exception “Conversation-response mapping: {1/13#=ResponseFuture{conversationId=‘1/13#’, initiatedByMessageType=join, response=null}}”. org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component ‘org.neo4j.server.database.LifecycleManagingDatabase@53f0d09c’ was successfully initialized, but failed to start. Please see the attached cause exception “Conversation-response mapping: {1/13#=ResponseFuture{conversationId=‘1/13#’, initiatedByMessageType=join, response=null}}”. at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68) at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:219) at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111) at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79) at org.neo4j.server.enterprise.CommercialEntryPoint.main(CommercialEntryPoint.java:22) Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component ‘org.neo4j.server.database.LifecycleManagingDatabase@53f0d09c’ was successfully initialized, but failed to start. Please see the attached cause exception “Conversation-response mapping: {1/13#=ResponseFuture{conversationId=‘1/13#’, initiatedByMessageType=join, response=null}}”. at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211) … 3 more Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory, /data01/neo4j-enterprise-3.3.3/data/databases/graph.db at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:211) at org.neo4j.kernel.ha.HighlyAvailableGraphDatabase.<init>(HighlyAvailableGraphDatabase.java:50) at org.neo4j.server.enterprise.OpenEnterpriseNeoServer.lambda$static$0(OpenEnterpriseNeoServer.java:69) at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445) … 5 more Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component ‘org.neo4j.cluster.client.ClusterJoin@b9d018b’ was successfully initialized, but failed to start. Please see the attached cause exception “Conversation-response mapping: {1/13#=ResponseFuture{conversationId=‘1/13#’, initiatedByMessageType=join, response=null}}”. at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:207) … 9 more Caused by: java.util.concurrent.TimeoutException: Conversation-response mapping: {1/13#=ResponseFuture{conversationId=‘1/13#’, initiatedByMessageType=join, response=null}} at org.neo4j.cluster.statemachine.StateMachineProxyFactory$ResponseFuture.get(StateMachineProxyFactory.java:315) at org.neo4j.cluster.client.ClusterJoin.joinByConfig(ClusterJoin.java:143) at org.neo4j.cluster.client.ClusterJoin.start(ClusterJoin.java:82) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445) … 13 more 2018-08-27 15:24:19.525+0000 INFO Neo4j Server shutdown initiated by request

39的配置是: dbms.security.auth_enabled=false dbms.backup.enabled=true dbms.backup.address=0.0.0.0:6362 dbms.connectors.default_listen_address=0.0.0.0 dbms.mode=HA ha.server_id=1 ha.initial_hosts=172.16.0.39:5001,172.16.0.38:5001 ha.pull_interval=10

38的配置是: dbms.security.auth_enabled=false dbms.backup.enabled=true dbms.backup.address=0.0.0.0:6362 dbms.connectors.default_listen_address=0.0.0.0 dbms.mode=HA ha.server_id=2 ha.initial_hosts=172.16.0.39:5001,172.16.0.38:5001 ha.pull_interval=10

大家有遇到这个问题的吗?麻烦可以指点一下,谢谢

4 回复

HA集群很快将不再被支持,建立因果集群。

我在同一台机器上部署,出错的原因是端口冲突,但是错误提示却并不明显。 但是你这个在不同的机器上,这个概率比较小,是否别的进程也占用了某个端口。

Caused by: java.util.concurrent.TimeoutException: Conversation-response mapping:
{1/13#=ResponseFuture{conversationId=‘1/13#’, initiatedByMessageType=join, response=null}}

检查一下 网络 端口 防火墙

回到顶部