Error in starting the neo4j Server (Neography, Ruby) -
the server stopped work , on restarting gave following error. couldn't find related online. idea wrong , how resolve this?
org.neo4j.server.logging.logger log severe: org.neo4j.server.serverstartupexception: starting neo4j server failed: active marked 1 no data/graph.db/nioneo_logical.log.1 exist @ org.neo4j.server.abstractneoserver.start(abstractneoserver.java:218) @ org.neo4j.server.bootstrapper.start(bootstrapper.java:87) @ org.neo4j.server.bootstrapper.main(bootstrapper.java:50) caused by: java.lang.illegalstateexception: active marked 1 no data/graph.db/nioneo_logical.log.1 exist @ org.neo4j.kernel.impl.transaction.xaframework.xalogicallogfiles.determinestate(xalogicallogfiles.java:138) @ org.neo4j.kernel.impl.recovery.storerecoverer.recoveryneededat(storerecoverer.java:65) @ org.neo4j.server.preflight.performrecoveryifnecessary.run(performrecoveryifnecessary.java:56) @ org.neo4j.server.preflight.preflighttasks.run(preflighttasks.java:70) @ org.neo4j.server.abstractneoserver.runpreflighttasks(abstractneoserver.java:333) @ org.neo4j.server.abstractneoserver.start(abstractneoserver.java:152) ... 2 more
apr 25, 2014 9:13:07 pm org.neo4j.server.logging.logger log severe: failed start neo server on port [7474]
it looks you've messed datastore e.g. unclean shutdown. recover try following procedure:
- important: before doing manual changes
graph.db
folder, make sure have valid backup copy e.g.tar -zcf <path>/graph.db.tar.gz data/graph.db
. - check backup 1. fine.
rm data/graph.db/nioneo_logical.log.active
. nb: operation might harmful.- try restart server
- if comes up, check if latest changes did before db reached current state.
Comments
Post a Comment