There is another process using db. For example, you opened it with another program (for example, a gremlin shell in the terminal) or another instance of neo4j was launched.
If you are using a Unix-like system (Linux, MacOSX, etc.), you can use lsof to identify the processes that opened your db. For example, if the path to my db is /home/user/db/myneo4j.db , then I would search:
$ lsof /home/user/db/myneo4j.db/neostore.propertystore.db.index
Or you can just try:
$ lsof | grep myneo4j.db
This will tell you the identifier of the process that took (locked) the database.
source share