启动Neo4j数据库时出错

时间:2014-09-01 15:58:10

标签: neo4j timeout bootstrapping

每当我尝试使用以下方法在本地计算机上启动neo4j服务器时:

sudo service neo4j-service start

起初我得到的错误是这样的:

 Using additional JVM arguments:  -server -XX:+DisableExplicitGC 
-Dorg.neo4j.server.properties=conf/neo4j-server.properties 
-Djava.util.logging.config.file=conf/logging.properties
-Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled

Starting Neo4j Server...WARNING: not changing user
process [19953]... waiting for server to be ready... Failed to start within 
120 seconds.
Neo4j Server may have failed to start, please check the logs.

但是,当我在neo4j-wrapper.conf文件中注释掉所有这些字段时,错误减少为:

Using additional JVM arguments:  -server -XX:+DisableExplicitGC
Starting Neo4j Server...WARNING: not changing user
process [20409]... waiting for server to be ready.. Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.

有谁知道我应该怎么做? 附: :我的是neo4j 2.1.3 我已经尝试了所有可能的解决方案,但它不起作用。

1 个答案:

答案 0 :(得分:0)

我不确定但您可以尝试以下方法吗?

在neo4j.properties文件里面的conf文件夹中,将端口号从1337改为另一个,如1339。

remote_shell_port = 1339