简体   繁体   中英

Error in starting the neo4j Server (Neography, Ruby)

The server suddenly stopped to work and on restarting it gave the following error. Couldn't find anything related to this online. Any idea what is wrong and how to resolve this?

org.neo4j.server.logging.Logger log SEVERE: org.neo4j.server.ServerStartupException: Starting Neo4j Server failed: Active marked as 1 but no data/graph.db/nioneo_logical.log.1 exist at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:218) at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87) at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:50) Caused by: java.lang.IllegalStateException: Active marked as 1 but no data/graph.db/nioneo_logical.log.1 exist at org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLogFiles.determineState(XaLogicalLogFiles.java:138) at org.neo4j.kernel.impl.recovery.StoreRecoverer.recoveryNeededAt(StoreRecoverer.java:65) at org.neo4j.server.preflight.PerformRecoveryIfNecessary.run(PerformRecoveryIfNecessary.java:56) at org.neo4j.server.preflight.PreFlightTasks.run(PreFlightTasks.java:70) at org.neo4j.server.AbstractNeoServer.runPreflightTasks(AbstractNeoServer.java:333) at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServe r.java:152) ... 2 more

Apr 25, 2014 9:13:07 PM org.neo4j.server.logging.Logger log SEVERE: Failed to start Neo Server on port [7474]

It looks like you've messed up your datastore eg by a unclean shutdown. To recover try the following procedure:

  1. IMPORTANT: before doing any manual changes to your graph.db folder, make sure that you have a valid backup copy eg by tar -zcf <path>/graph.db.tar.gz data/graph.db .
  2. Check that the backup from 1. is fine.
  3. rm data/graph.db/nioneo_logical.log.active . NB: this operation might be harmful.
  4. try to restart the server
  5. if it comes up, check if the latest changes you did before the DB reached its current state.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM