2015-05-01 76 views
0

我正在使用AWS服務器ec2 ubuntu實例上的neo4j。Neo4j未能在ubuntu上啓動

一切都很好,但是當我創建了一個我的ec2實例的圖像時,實例必須重新啓動,並且每次都無法讓我的neo4j db服務器運行。

我在的console.log文件中看到的唯一的事情是:

2015-05-01 16:50:18.135+0000 INFO [API] Successfully shutdown Neo4j Server. 
2015-05-01 16:50:18.304+0000 INFO [API] Successfully stopped database 
2015-05-01 16:50:18.304+0000 INFO [API] Successfully shutdown database. 
2015-05-01 16:53:34.972+0000 INFO [API] Setting startup timeout to: 120000ms based on -1 
2015-05-01 17:08:22.223+0000 INFO [API] Setting startup timeout to: 120000ms based on -1 
2015-05-01 17:08:49.951+0000 INFO [API] Setting startup timeout to: 120000ms based on -1 
2015-05-01 17:10:06.715+0000 INFO [API] Setting startup timeout to: 120000ms based on -1 
2015-05-01 17:10:44.192+0000 INFO [API] Setting startup timeout to: 120000ms based on -1 
2015-05-01 17:12:36.974+0000 INFO [API] Setting startup timeout to: 120000ms based on -1 
2015-05-01 17:13:28.628+0000 INFO [API] Setting startup timeout to: 120000ms based on -1 
2015-05-01 17:22:54.172+0000 INFO [API] Setting startup timeout to: 120000ms based on -1 
2015-05-01 17:25:42.891+0000 INFO [API] Setting startup timeout to: 120000ms based on -1 
2015-05-01 17:30:59.901+0000 INFO [API] Setting startup timeout to: 120000ms based on -1 
2015-05-01 17:32:29.831+0000 INFO [API] Setting startup timeout to: 120000ms based on -1 
2015-05-01 17:43:13.906+0000 INFO [API] Setting startup timeout to: 120000ms based on -1 

服務器總是說無法啓動,我不知道該怎麼做或哪裏的問題是..

任何想法?

回答

0

由於服務器默認啓動時間爲(1200000ms)2分鐘,因此它將在時間限制內失敗。
1.檢查/path/data/graph.db(or你的分貝)/message.log 2.設置/path/conf/neo4j-server.properties並在其中加入

3第3步。 org.neo4j.server.startup_timeout = 0

該設置用於禁用啓動限制行爲。

+0

或者你可能需要執行「./neo4j restart」 –