无法启动Neo4j服务器

时间:2014-06-24 16:42:41

标签: neo4j

由于意外的系统关闭,neo4j服务器关闭,现在我无法重启服务器。如何在不丢失数据的情况下重新启动它。(我不能丢失数据)

这是错误日志。

ERROR o.n.s.advanced.AdvancedBootstrapper - Failed to start Neo Server on port [7474]
org.neo4j.server.ServerStartupException: Starting Neo4j Server failed: Startup failed due to preflight task [class org.neo4j.server.preflight.PerformUpgradeIfNecessary]: Unable to upgrade database
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:225) ~[neo4j-server-2.0.3.jar:2.0.3]
    at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:103) [neo4j-server-2.0.3.jar:2.0.3]
    at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:57) [neo4j-server-2.0.3.jar:2.0.3]
Caused by: org.neo4j.server.preflight.PreflightFailedException: Startup failed due to preflight task [class org.neo4j.server.preflight.PerformUpgradeIfNecessary]: Unable to upgrade database
    at org.neo4j.server.AbstractNeoServer.runPreflightTasks(AbstractNeoServer.java:344) ~[neo4j-server-2.0.3.jar:2.0.3]
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:160) ~[neo4j-server-2.0.3.jar:2.0.3]
    ... 2 common frames omitted

1 个答案:

答案 0 :(得分:1)

原始海报声称通过减少Java堆大小的内部内存配置来解决问题。

http://docs.neo4j.org/chunked/stable/server-performance.html

wrapper.java.initmemory配置为MB值不超过可用系统内存的值。