2014-09-01 56 views
1

每当我想开始我的Neo4j使用本地计算机上断绝:错误,同时启动的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. 

有没有人有任何ide我应该怎么做? P.S. :我的是neo4j 2.1.3 我已经尝试过所有可能的解决方案,但它不工作。

+0

你看到错误消息已包含建议“请检查日志” ;-) – 2014-09-01 22:03:45

+0

我得到这个例外...: - “异常线程‘main’的java.lang。 NullPointerException异常 \t在org.neo4j.server.Bootstrapper.start(Bootstrapper.java:125) \t在org.neo4j.server.Bootstrapper.main(Bootstrapper.java:57)” – 2014-09-02 04:19:47

+0

修改** **全向栈跟踪你的问题在上面 – 2014-09-02 21:25:57

回答

0

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

将neo4j.properties文件内的conf文件夹中的端口号从1337更改为不同的端口号,如1339。

remote_shell_port = 1339