Try starting it up with the neo4j-shell to see if it will go through its recovery. Like so: bin/neo4j-shell -path <path to db>
And then exiting properly with "exit". You didn't say how you were importing, but if this happened during an org.neo4j.unsafe.BatchInserter run, you might be out of luck--the point of the unsafe package is that it doesn't do journaling, and can't recover from fatal errors like that. You'd need to start over from the beginning. Wes On Tue, Dec 10, 2013 at 1:33 PM, Joseph Guhlin <joseph.guh...@gmail.com>wrote: > When is this happening, during the batch import or after for a query? > > It sounds like an incomplete shutdown. You need to make sure you issue a > .shutdown to the db (batchinserter) and give it time to complete, it can > take awhile. > > Make sure you have write permissions for the directory. And always start > with a clean directory (delete any previous datastores) for a Batch Insert. > > If you are running it under lein you need to use ^:replace for :jvm-opts > or it will slow things down considerably. > Here is what I am using in my project.clj, they are based off of what > Neo4j uses from the command line and some benchmarks. You may want to > reduce the -Xms and -Xmx. What are you giving Neo4j for memory as well when > you start it up? It uses it's own memory allocation and can exceed what you > give the JVM, so you want to give Neo4j more and clojure less, and want > both to be less than your total ram so you do not hit swap space (which > will slow it down again too). > > :jvm-opts ^:replace [ > "-Xms6G" > "-Xmx8G" > "-XX:+UseConcMarkSweepGC" > "-XX:+UseBiasedLocking" > "-XX:+AggressiveOpts" > "-XX:+UseFastAccessorMethods" > "-XX:+UseCondCardMark" > ] > > --Joseph > > On Tuesday, December 10, 2013 4:00:09 AM UTC-6, Himakshi Mangal wrote: >> >> Hi, >> >> I was using clojure to upload the dbpedia datasets into neo4j. >> >> Unfortunately, my system hanged and i had to restart everything. Now, if >> i start the execution of program again it shows this error: >> >> 'neostore' does not contain a store version, please ensure that the >> original database was shut down in a clean state. >> >> >> How can i solve this error so that i can start the uploading from the >> point it stopped? >> >> Please help >> > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.