Store and its lock file has been locked by another process

829 views
Skip to first unread message

Rodrigo Lima

unread,
Mar 29, 2016, 8:31:48 PM3/29/16
to Neo4j
Hi, I'm running a community edition of Neo4j in my linux and I developed a embedded application to write and read in Neo.

But when I try run my embedded application genereted this error:

Store and its lock file has been locked by another process: /home/dev/neo4j-community-2.3.2/data/graph.db/store_lock. Please ensure no other process is using this database, and that the directory is writable (required even for read-only access)

I know this error is because Neo4j service is running, but i want execute both, the server with browser studio and my embedded application.

How can i do this?

I can do it with the enterprise version?

Thanks

Michael Hunger

unread,
Mar 29, 2016, 8:44:17 PM3/29/16
to ne...@googlegroups.com
Only one process can access store-files.

Why do you need embedded access? How about having instead a server extension?

Michael

--
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.
For more options, visit https://groups.google.com/d/optout.

Chris Vest

unread,
Mar 30, 2016, 7:53:43 AM3/30/16
to ne...@googlegroups.com
Either you add the server and browser parts to your embedded application, or you stop embedding the database in your application and make it connect to the server via a driver. I don’t know anything about your application or use case, but I’d generally recommend going the driver route, and avoid embedding the database if possible.

This is the same no matter what edition you use.

--
Chris Vest
System Engineer, Neo Technology
[ skype: mr.chrisvest, twitter: chvest ]


Reply all
Reply to author
Forward
0 new messages