我一直在使用neo4j最近在Debian 7.8上安裝。這很棒!Neo4j服務無法在Debian上導入數據庫開始
今天我使用neo4j-import工具導入了大約100000個節點和150000個關係。我停止了Neo4j的服務和複製導入的數據庫/var/lib/neo4j/data/graph.db - 但現在Neo4j的服務將無法啓動
Starting Neo4j Server...WARNING: not changing user
process [4963]... waiting for server to be ready....... Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.
這是奇怪的,因爲它沒有等待120秒開始 - 最多5個。生成的唯一日誌是/ var/log/neo4j中的console.log
2015-07-01 00:10:24.363+0000 INFO [API] Setting startup timeout to: 120000ms based on 120000
2015-07-01 00:10:26.501+0000 INFO [API] Successfully shutdown Neo4j Server.
這不是很有用。當我刪除數據庫時,neo4j能夠啓動。我將graph.db複製到了我的Windows安裝中,並且它運行良好,我可以搜索節點等,這可能與我的Debian上的配置有關。我添加了一行在/etc/neo4j/neo4j-server.properties
org.neo4j.server.startup_timeout=0
但是這什麼都沒有改變,服務啓動仍然超時幾秒鐘後。有任何想法嗎?
這裏的graph.db messages.log - 沒有獲取附加當我嘗試啓動該服務
2015-07-01 01:58:12.142+0000 INFO [org.neo4j]: Import starting
2015-07-01 01:58:12.282+0000 INFO [org.neo4j]: Creating new db @ /var/www/ddl/scripts/./graph.db/neostore
2015-07-01 01:58:13.238+0000 INFO [org.neo4j]: Missing counts store, rebuilding it.
2015-07-01 01:58:13.607+0000 INFO [org.neo4j]: No lucene scan store index found, this might just be first use. Preparing to rebuild.
2015-07-01 01:58:13.663+0000 INFO [org.neo4j]: No lucene scan store index found, this might just be first use. Preparing to rebuild.
2015-07-01 01:58:13.952+0000 INFO [org.neo4j]: Rebuilding lucene scan store, this may take a while
2015-07-01 01:58:13.955+0000 INFO [org.neo4j]: Lucene scan store rebuilt (roughly -1 nodes)
2015-07-01 01:58:30.337+0000 INFO [org.neo4j]: IMPORT DONE in 18s 182ms. Imported:
95941 nodes
158227 relationships
369482 properties
2015-07-01 01:58:30.341+0000 INFO [org.neo4j]: About to rotate counts store at transaction 1 to [/var/www/ddl/scripts/./graph.db/neostore.counts.db.b], from [/var/www/ddl/scripts/./graph.db/neostore.counts.db.a].
2015-07-01 01:58:30.344+0000 INFO [org.neo4j]: Successfully rotated counts store at transaction 1 to [/var/www/ddl/scripts/./graph.db/neostore.counts.db.b], from [/var/www/ddl/scripts/./graph.db/neostore.counts.db.a].
屬於上dba.stackexchange.com – zero323
Neo4j的文檔建議您讓這裏http://neo4j.com/docs/stable/community-support.html –
請仔細閱讀[我可以問什麼議題有關這裏?](http://stackoverflow.com/help/on-topic),並將它與[關於dba.stackexchange.com上的主題部分]進行比較(http://dba.stackexchange.com/help/on-topic )。 – zero323