我有一個運行Ubuntu 14.04並安裝了neo4j-enterprise 2.2.3的AWS實例(位於us-west可用區的t1.micro)。Neo4j無法在AWS實例中啓動
我可以在沒有任何問題的情況下使用空數據庫啓動服務,但是當我嘗試使用少量(〜200mb)數據的數據庫啓動它時(通過修改conf/neo4j-server中的數據存儲目錄。 ,我得到的屬性)
Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.
什麼是令人沮喪的是,當我看着/data/log/console.log,我得到的是:
2015-07-20 20:33:43.769+0000 INFO [API] Setting startup timeout to: 120000ms based on 120000
2015-07-20 20:33:44.527+0000 INFO [API] Successfully shutdown Neo4j Server.
和neo4j.0.0.log:
Jul 20, 2015 5:26:05 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.19 02/11/2015 03:25 AM'
......這就是說,沒有什麼幫助。
在/dbDirectory/messages.log,我已經
2015-07-20 17:40:37.926+0000 INFO [org.neo4j]: Thread[main,5,main] Starting BatchInserter(EmbeddedBatchInserter[/var/lib/neo4j/data/civ_sm.db])
2015-07-20 17:40:37.946+0000 INFO [org.neo4j]: Creating new db @ /var/lib/neo4j/data/my.db/neostore
2015-07-20 17:40:38.251+0000 INFO [org.neo4j]: No lucene scan store index found, this might just be first use. Preparing to rebuild.
2015-07-20 17:40:38.278+0000 INFO [org.neo4j]: No lucene scan store index found, this might just be first use. Preparing to rebuild.
2015-07-20 17:40:38.403+0000 INFO [org.neo4j]: Rebuilding lucene scan store, this may take a while
2015-07-20 17:40:38.404+0000 INFO [org.neo4j]: Lucene scan store rebuilt (roughly -1 nodes)
2015-07-20 17:41:04.646+0000 INFO [org.neo4j]: Missing counts store, rebuilding it.
2015-07-20 17:41:07.377+0000 INFO [org.neo4j]: About to rotate counts store at transaction 1 to [/var/lib/neo4j/data/my.db/neostore.counts.db.b], from [/var/lib/neo4j/data/my.db/neostore.counts.db.a].
2015-07-20 17:41:07.382+0000 INFO [org.neo4j]: Successfully rotated counts store at transaction 1 to [/var/lib/neo4j/data/my.db/neostore.counts.db.b], from [/var/lib/neo4j/data/my.db/neostore.counts.db.a].
2015-07-20 17:41:07.606+0000 INFO [org.neo4j]: Thread[main,5,main] Clean shutdown on BatchInserter(EmbeddedBatchInserter[/var/lib/neo4j/data/my.db])
(我寫了產生這個數據DB使用BatchInserter
一個小程序,並在此內容日誌似乎都有關)
試圖隔離問題,我將數據庫下載到我的本地機器(運行Fedora和相同的(2.2.3)neo4j版本),並且它沒有啓動問題。
兩個其他注意事項 - 我已經設置最大打開文件到40K(儘管這不應該是一個問題給出的分貝大小限制),並在約2秒
可以發佈'$ graph.db.directory/messages.log'文件的內容 –
@ChristopheWillemsen - 完成後,請參閱編輯 – drewmoore
也許是權限問題? graph.db目錄中的所有文件是否可由您啓動的用戶讀寫? –