Server fails to start

656 views
Skip to first unread message

Jean-Baptiste Gllpn

unread,
Apr 19, 2014, 1:07:47 PM4/19/14
to ne...@googlegroups.com
Hello,

I was using Neo4j without a problem but my server is now failing to start. The error log is a bit cryptic to me. Any idea as to how I could fix this?

Many thanks in advance for your help.

Jean-Baptiste.

avr. 19, 2014 1:03:30 PM org.neo4j.server.logging.Logger log
Infos: Setting startup timeout to: 120000ms based on -1
avr. 19, 2014 1:03:31 PM org.neo4j.server.logging.Logger log
Grave:
org.neo4j.server.ServerStartupException: Starting Neo4j Server failed: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /usr/local/Cellar/neo4j/2.0.1/libexec/data/graph.db
    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.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /usr/local/Cellar/neo4j/2.0.1/libexec/data/graph.db
    at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:330)
    at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:63)
    at org.neo4j.graphdb.factory.GraphDatabaseFactory$1.newDatabase(GraphDatabaseFactory.java:92)
    at org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:198)
    at org.neo4j.kernel.impl.recovery.StoreRecoverer.recover(StoreRecoverer.java:115)
    at org.neo4j.server.preflight.PerformRecoveryIfNecessary.run(PerformRecoveryIfNecessary.java:59)
    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(AbstractNeoServer.java:152)
    ... 2 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.impl.transaction.XaDataSourceManager@4b29670c' was successfully initialized, but failed to start. Please see attached cause exception.
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:509)
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:115)
    at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:307)
    ... 10 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource@24a11405' was successfully initialized, but failed to start. Please see attached cause exception.
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:509)
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:115)
    at org.neo4j.kernel.impl.transaction.XaDataSourceManager.start(XaDataSourceManager.java:164)
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:503)
    ... 12 more
Caused by: java.lang.IllegalStateException: Mismatching store version found (v0.A.2 while expecting v0.A.1). The store cannot be automatically upgraded since it isn't cleanly shutdown. Recover by starting the database using the previous Neo4j version, followed by a clean shutdown. Then start with this version again.
    at org.neo4j.kernel.impl.nioneo.store.NeoStore.checkVersion(NeoStore.java:165)
    at org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.<init>(CommonAbstractStore.java:110)
    at org.neo4j.kernel.impl.nioneo.store.AbstractStore.<init>(AbstractStore.java:81)
    at org.neo4j.kernel.impl.nioneo.store.NeoStore.<init>(NeoStore.java:100)
    at org.neo4j.kernel.impl.nioneo.store.StoreFactory.attemptNewNeoStore(StoreFactory.java:131)
    at org.neo4j.kernel.impl.nioneo.store.StoreFactory.newNeoStore(StoreFactory.java:115)
    at org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.start(NeoStoreXaDataSource.java:323)
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:503)
    ... 15 more

avr. 19, 2014 1:03:31 PM org.neo4j.server.logging.Logger log
Grave: Failed to start Neo Server on port [7474]

Lundin

unread,
Apr 19, 2014, 2:10:33 PM4/19/14
to ne...@googlegroups.com
Hi,

This store/graph.db is from the same Neo4j version ?


Mismatching store version found (v0.A.2 while expecting v0.A.1).

Seems to indicate that your current store was created in a newer 2.0.2 version while you are running .0.1, do you have multiple version ? Try with 0.2 version.

Jean-Baptiste Gallopin

unread,
Apr 19, 2014, 2:21:15 PM4/19/14
to ne...@googlegroups.com


Hello,

thanks for your response.

I created the database in the Neo4j instance I'm running, and I only have one version.

I suspect the problem may come from the fact that yesterday I attempted to load my database into Gephi using the Gephi plugin. Gephi failed to import the database, so I uncommented the allow_store_upgrade=true line in the neo4j.properties file. It still failed to load, so I put the # back again, but I'm wondering whether the Neo4j import plugin in Gephi might have messed with my database. Any suggestions on how to fix this?

Thanks again.

Jean-Baptiste.


--
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/oCmVk9yNsMo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Lundin

unread,
Apr 19, 2014, 2:49:39 PM4/19/14
to ne...@googlegroups.com
No I am sorry i am not familiar with the plugin or what it does the store with various Neo4j versions. Seems to exists github issues ongoing
https://github.com/gephi/gephi-plugins/issues/40

Something happend indeed. 

Jean-Baptiste Gallopin

unread,
Apr 19, 2014, 3:07:29 PM4/19/14
to ne...@googlegroups.com
Thank you Lundin for your help. I just posted on that thread. In the meantime, I've restored my recent backup so it's less of a headache! I'll stay away from Gephi for now.

Best, JB

Michael Hunger

unread,
May 1, 2014, 8:18:13 AM5/1/14
to ne...@googlegroups.com
Which version of gephi and the gephi plugin did you use?


You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.

Jean-Baptiste Gallopin

unread,
May 5, 2014, 2:36:00 PM5/5/14
to ne...@googlegroups.com
Thanks! I was using Gephi 0.8.1. As it wasn't working I updated to 0.8.2, but that version of Gephi just fails to load at all on my computer... Best, JBG

Nipun Agarwal

unread,
Jun 10, 2014, 10:07:06 PM6/10/14
to ne...@googlegroups.com
Hi,

I am seeing the same problem. I had my database created by neo4j version 2.0.3. It was working perfectly fine.
I installed Gephi which was unable to load my database. After that I am unable to start my neo4j using that database.
Were you able to resolve your issue?

Michael Hunger

unread,
Jun 11, 2014, 1:21:15 AM6/11/14
to ne...@googlegroups.com
Can you share the messages.log from your graphdb directory?

And potentially the Gephi logfile too

Michael
Reply all
Reply to author
Forward
0 new messages