2013-02-27 49 views
0

我想安装3个slaves和1master。请看下面这个错误,为什么它会得到超时?在HA模式下运行neo4j企业的问题

$ neo4j start 
WARNING! You are using an unsupported Java runtime. Please use JDK 6. 
Starting Neo4j Server...12:39:19,754 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy] 
12:39:19,754 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] 
12:39:19,754 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/home/training/neo4j-enterprise-1.8.1/system/lib/neo4j-server-1.8.1.jar!/logback.xml] 
12:39:19,809 |-INFO in [email protected] - URL [jar:file:/home/training/neo4j-enterprise-1.8.1/system/lib/neo4j-server-1.8.1.jar!/logback.xml] is not of type file 
12:39:20,126 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set 
12:39:20,128 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] 
12:39:20,134 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT] 
12:39:20,196 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 
12:39:20,341 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO 
12:39:20,341 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT] 
12:39:20,343 |-ERROR in ch.qos.logback.core.joran.action.IncludeAction - Could not find resource corresponding to [custom-logback.xml] 
12:39:20,347 |-INFO in [email protected] - Registering current configuration as safe fallback point 

WARNING: not changing user 
process [4490]... waiting for server to be ready................................................................................................................................................................................................................. Failed to start within 120 seconds. 
Neo4j Server failed to start, please check the logs for details. 
If startup is blocked on a long recovery, use '/home/training/neo4j-enterprise-1.8.1/bin/neo4j start-no-wait' to give the startup more time. 
[email protected]:~$ 
+0

”无法在120秒内启动。Neo4j服务器无法启动,请检查日志以了解详细信息。“ - 你检查了服务器日志文件吗? – 2013-02-27 11:26:59

+0

你可以在你的coord.conf和neo4j.properties中提供相关的行吗? – Nicholas 2013-02-27 15:27:21

回答

1
的第一个错误行

You are using an unsupported Java runtime. Please use JDK 6. 我也有同样的问题,而不得不安装最新的Java开发工具包。比它的工作。但它只是一个服务器实例,可能在您的多服务器情况下它不会帮助。 “