2014-09-01 55 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