无法为Neo4j高可用性加载webadmin

无法为Neo4j高可用性加载webadmin,neo4j,Neo4j,我在linux机器上安装了3个neo4j版本1.9.4的实例,它们位于3个不同的目录中:Neo4j01、neo4j02、neo4j03 我已经更新了链接()中提到的配置文件neo4j.properties和neo4j server.properties 当我一个接一个地启动所有neo4j实例时,它们正在成功安装,但一段时间后,3个neo4j进程/实例中的2个会自动消失。我通过ps-aef | grep neo4j注意到了这一点 当我检查控制台日志时,发现以下错误: 2013-11-12 16:3

我在linux机器上安装了3个neo4j版本1.9.4的实例,它们位于3个不同的目录中:
Neo4j01
neo4j02
neo4j03

我已经更新了链接()中提到的配置文件
neo4j.properties
neo4j server.properties

当我一个接一个地启动所有neo4j实例时,它们正在成功安装,但一段时间后,3个neo4j进程/实例中的2个会自动消失。我通过ps-aef | grep neo4j注意到了这一点

当我检查控制台日志时,发现以下错误:

2013-11-12 16:37:32.512+0000 INFO  [Cluster] Checking store consistency with master
2013-11-12 16:37:33.174+0000 INFO  [Cluster] Store is consistent
2013-11-12 16:37:33.176+0000 INFO  [Cluster] Catching up with master
2013-11-12 16:37:33.276+0000 INFO  [Cluster] Now consistent with master
2013-11-12 16:37:34.442+0000 INFO  [Cluster] ServerId 2, successfully moved to slave for master ha://localhost.localdomain:6363?serverId=1
2013-11-12 16:37:34.689+0000 INFO  [Cluster] Instance 1 is available as backup at backup://localhost.localdomain:6366
2013-11-12 16:37:34.798+0000 INFO  [Cluster] Instance 2 (this server) is available as slave at ha://localhost.localdomain:6364?serverId=2
2013-11-12 16:37:35.036+0000 INFO  [Cluster] Database available for write transactions
2013-11-12 16:37:35.360+0000 INFO  [API] Successfully started database
2013-11-12 16:37:36.079+0000 INFO  [API] Starting HTTP on port :7474 with 10 threads available
2013-11-12 16:37:40.596+0000 INFO  [Cluster] Instance 3 has failed
2013-11-12 16:37:43.654+0000 INFO  [API] Enabling HTTPS on port :7473
2013-11-12 16:38:01.081+0000 INFO  [API] Mounted REST API at: /db/manage/
2013-11-12 16:38:01.158+0000 INFO  [API] Mounted discovery module at [/]
2013-11-12 16:38:02.375+0000 INFO  [API] Loaded server plugin "CypherPlugin"
2013-11-12 16:38:02.449+0000 INFO  [API] Loaded server plugin "GremlinPlugin"
2013-11-12 16:38:02.462+0000 INFO  [API] Mounted REST API at [/db/data/]
2013-11-12 16:38:02.534+0000 INFO  [API] Mounted management API at [/db/manage/]
2013-11-12 16:38:03.568+0000 INFO  [API] Mounted webadmin at [/webadmin]
2013-11-12 16:38:06.189+0000 INFO  [API] Mounting static content at [/webadmin] from [webadmin-html]
2013-11-12 16:38:30.844+0000 DEBUG [API] Failed to start Neo Server on port [7474], reason [org.mortbay.util.MultiException[java.net.BindException: Address already in use, java.net.BindException: Address already in use]]
2013-11-12 16:38:30.880+0000 DEBUG [API] org.neo4j.server.ServerStartupException: Starting Neo4j Server failed: org.mortbay.util.MultiException[java.net.BindException: Address already in use, java.net.BindException: Address already in use]
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211) ~[neo4j-server-1.9.4.jar:1.9.4]
        at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:86) [neo4j-server-1.9.4.jar:1.9.4]
        at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:49) [neo4j-server-1.9.4.jar:1.9.4]
    Caused by: java.lang.RuntimeException: org.mortbay.util.MultiException[java.net.BindException: Address already in use, java.net.BindException: Address already in use]
        at org.neo4j.server.web.Jetty6WebServer.startJetty(Jetty6WebServer.java:334) ~[neo4j-server-1.9.4.jar:1.9.4]
        at org.neo4j.server.web.Jetty6WebServer.start(Jetty6WebServer.java:154) ~[neo4j-server-1.9.4.jar:1.9.4]
        at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:344) ~[neo4j-server-1.9.4.jar:1.9.4]
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:187) ~[neo4j-server-1.9.4.jar:1.9.4]
        ... 2 common frames omitted
    Caused by: org.mortbay.util.MultiException: Multiple exceptions
        at org.mortbay.jetty.Server.doStart(Server.java:188) ~[jetty-6.1.25.jar:6.1.25]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) ~[jetty-util-6.1.25.jar:6.1.25]
        at org.neo4j.server.web.Jetty6WebServer.startJetty(Jetty6WebServer.java:330) ~[neo4j-server-1.9.4.jar:1.9.4]
        ... 5 common frames omitted
2013-11-12 16:38:30.894+0000 DEBUG [API] Failed to start Neo Server on port [7474]
现在,只有
neo4j01
进程正在运行,
neo4j02
neo4j03
进程消失。但即使
neo4j01
进程已启动并正在运行,我仍无法访问
http://htname:7474/webadmin/#/info/org.neo4j/High%20Availability/


拜托,有人能解释一下吗?

你可能想看看。它包含一个rakefile,可自动执行3个实例的本地设置。本地克隆repo,并使用

rake setup_cluster start_cluster
使本地运行的群集联机。关闭可以通过以下方式完成:

rake stop_cluster

machine[ABC]/conf/

中查找配置当您研究日志中报告的问题时,您发现了什么,
java.net.BindException:地址已在使用中
?感谢Stefan抽出时间。您能告诉我需要在哪里添加上述行吗?以下是conf和bin下的文件夹:[kkhamru@redhat-linux配置文件]$ls arbiter.cfg custom-logback.xml log4j.properties neo4j.properties README.txt arbiter-wrapper.conf jmx.access logging.properties neo4j-server.properties ssl coord.cfg jmx.password neo4j-http-logging.xml neo4j-wrapper.conf windows-wrapper-logging.properties=[kkhamru@redhat-linux conf]$ls../bin/lib neo4j neo4j仲裁者neo4j备份neo4j协调员neo4j协调员shell neo4j协调员shell neo4j shell org.neo4j.arbiter.plist org.neo4j.server.plist README.txt utils您真的克隆了上面提到的repo吗?