maxdemarzi / neography

A thin Ruby wrapper to the Neo4j Rest API
MIT License
603 stars 139 forks source link

Unable to start Neo4j Server #183

Closed roots-ai closed 10 years ago

roots-ai commented 10 years ago

The neo4j server closed due to unexpected system shut down and now I am unable to restart the server. How can I restart it without losing the data.(I can't afford to lose the data)

Here is the error log.

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

Please help.

roots-ai commented 10 years ago

Reducing the wrapper.java.initmemory resolved the problem.