我试图增加neo4j状态超时,但我没有找到这样做的配置。我增加了neo4j守护进程中的超时,但它没有改变启动超时。Mt图非常大(140 is ),120秒可能不够。
我在Ubuntu12.04上安装了neo4j 2.1.7
错误:
../bin/neo4j 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 -XX:-OmitStackTraceInFastThrow
Starting Neo4j Server...process [7886]... waiting for server to be ready...2015-02-22 16:54:10.044+0000 INFO [API] Setting startup timeout to: 120000ms based on -1
2015-02-22 16:54:10.044+0000 INFO [API] Setting startup timeout to: 120000ms based on -1
......................................................................................................................2015-02-22 16:56:11.610+0000 INFO [API] Successfully shutdown Neo4j Server.
2015-02-22 16:56:11.610+0000 INFO [API] Successfully shutdown Neo4j Server.
Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.发布于 2015-02-22 23:13:21
我将org.neo4j.server.startup_timeout=0添加到下面的文件中,它做到了这一点。我启动了neo4j,20分钟后,它恢复并启动。
neo4j-server.properties发布于 2015-02-22 18:44:25
你以前有没有崩溃过,所以它必须检查恢复情况?
你查过上面写的日志了吗?最佳data/graph.db/messages.log和data/logs/neo4j.log
您也可以启动neo4j console,然后它将在前台模式下运行,并且所需时间尽可能长。
发布于 2015-02-23 09:34:07
您还可以使用neo4j start-no-wait而不是neo4j start,以防您不想做配置更改。
https://stackoverflow.com/questions/28660664
复制相似问题